fix:优化

20240912_adapter
chenhc 1 month ago
parent e9939130f8
commit cdcef394e8

@ -136,59 +136,59 @@
<div v-if=" this.productType == 1"> <div v-if=" this.productType == 1">
<el-menu-item :index=15 @click="clickMenuItem(100)" v-if="workPlaceClass == 1"> <el-menu-item :index=10000 @click="clickMenuItem(10000)" v-if="workPlaceClass == 1">
<!-- <i class="el-icon-upload"></i>--> <!-- <i class="el-icon-upload"></i>-->
<span slot="title">处理单据(器械)</span> <span slot="title">处理单据</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=16 @click="clickMenuItem(1000)" v-if="workPlaceClass == 1"> <el-menu-item :index=1000 @click="clickMenuItem(1000)" v-if="workPlaceClass == 1">
<!-- <i class="el-icon-edit-outline"></i>--> <!-- <i class="el-icon-edit-outline"></i>-->
<span slot="title">单据审核(器械)</span> <span slot="title">单据审核</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=17 @click="clickMenuItem(400)" v-if="workPlaceClass == 1"> <el-menu-item :index=400 @click="clickMenuItem(400)" v-if="workPlaceClass == 1">
<!-- <i class="el-icon-edit-outline"></i>--> <!-- <i class="el-icon-edit-outline"></i>-->
<span slot="title">待处理单(器械)</span> <span slot="title">待处理单</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=18 @click="clickMenuItem(500)" v-if="workPlaceClass == 1"> <el-menu-item :index=500 @click="clickMenuItem(500)" v-if="workPlaceClass == 1">
<!-- <i class="el-icon-s-claim"></i>--> <!-- <i class="el-icon-s-claim"></i>-->
<span slot="title">已完成单(器械)</span> <span slot="title">已完成单</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=19 @click="clickMenuItem(600)" v-if="workPlaceClass == 1"> <el-menu-item :index=600 @click="clickMenuItem(600)" v-if="workPlaceClass == 1">
<!-- <i class="el-icon-s-claim"></i>--> <!-- <i class="el-icon-s-claim"></i>-->
<span slot="title">单据上传(器械)</span> <span slot="title">单据上传</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=1 @click="clickMenuItem(10000)" v-if="workPlaceClass == 2"> <el-menu-item :index=100 @click="clickMenuItem(10000)" v-if="workPlaceClass == 2">
<!-- <i class="el-icon-s-unfold"></i>--> <!-- <i class="el-icon-s-unfold"></i>-->
<span slot="title">工位上货(器械)</span> <span slot="title">工位上货</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=13 @click="clickMenuItem(1300)" v-if="workPlaceClass == 2"> <el-menu-item :index=1300 @click="clickMenuItem(1300)" v-if="workPlaceClass == 2">
<!-- <i class="el-icon-edit-outline"></i>--> <!-- <i class="el-icon-edit-outline"></i>-->
<span slot="title">工位剔除(器械)</span> <span slot="title">工位剔除</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=8 @click="clickMenuItem(800)" v-if="workPlaceClass == 2"> <el-menu-item :index=800 @click="clickMenuItem(800)" v-if="workPlaceClass == 2">
<!-- <i class="el-icon-warning"></i>--> <!-- <i class="el-icon-warning"></i>-->
<span slot="title">上货推荐(器械)</span> <span slot="title">上货推荐</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=3 @click="clickMenuItem(300)" v-if="workPlaceClass == 2 || workPlaceClass == 1"> <el-menu-item :index=300 @click="clickMenuItem(300)" v-if="workPlaceClass == 2 || workPlaceClass == 1">
<!-- <i class="el-icon-s-platform"></i>--> <!-- <i class="el-icon-s-platform"></i>-->
<span slot="title">工位库存(器械)</span> <span slot="title">工位库存</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=7 @click="clickMenuItem(700)" v-if="workPlaceClass == 2"> <el-menu-item :index=700 @click="clickMenuItem(700)" v-if="workPlaceClass == 2">
<!-- <i class="el-icon-s-help"></i>--> <!-- <i class="el-icon-s-help"></i>-->
<span slot="title">拆零管理(器械)</span> <span slot="title">拆零管理</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=2 @click="clickMenuItem(200)" v-if="workPlaceClass == 2"> <el-menu-item :index=200 @click="clickMenuItem(200)" v-if="workPlaceClass == 2">
<!-- <i class="el-icon-s-fold"></i>--> <!-- <i class="el-icon-s-fold"></i>-->
<span slot="title">工位退货(器械)</span> <span slot="title">工位退货</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=12 @click="clickMenuItem(1200)" v-if="workPlaceClass == 2"> <el-menu-item :index=1200 @click="clickMenuItem(1200)" v-if="workPlaceClass == 2">
<!-- <i class="el-icon-s-fold"></i>--> <!-- <i class="el-icon-s-fold"></i>-->
<span slot="title">上货记录(器械)</span> <span slot="title">上货记录</span>
</el-menu-item> </el-menu-item>
<el-menu-item :index=14 @click="clickMenuItem(1400)" v-if="workPlaceClass == 1"> <el-menu-item :index=1400 @click="clickMenuItem(1400)" v-if="workPlaceClass == 1">
<!-- <i class="el-icon-s-platform"></i>--> <!-- <i class="el-icon-s-platform"></i>-->
<span slot="title">处理预验收(器械)</span> <span slot="title">处理预验收</span>
</el-menu-item> </el-menu-item>
</div> </div>
@ -584,8 +584,8 @@ export default {
// //
{ {
number: 100, number: 10000,
title: '处理单据(器械)', title: '处理单据',
name: 'DevicesDealOrder', name: 'DevicesDealOrder',
component: DevicesDealOrder, component: DevicesDealOrder,
// //
@ -595,7 +595,7 @@ export default {
}, },
{ {
number: 1000, number: 1000,
title: '单据审核(器械)', title: '单据审核',
name: 'DevicesIocCollectOrderCheckCode', name: 'DevicesIocCollectOrderCheckCode',
component: DevicesIocCollectOrderCheckCode, component: DevicesIocCollectOrderCheckCode,
// //
@ -605,7 +605,7 @@ export default {
}, },
{ {
number: 400, number: 400,
title: '待处理单(器械)', title: '待处理单',
name: 'DevicesCollectOrderAllot', name: 'DevicesCollectOrderAllot',
component: DevicesCollectOrderAllot, component: DevicesCollectOrderAllot,
// //
@ -613,7 +613,7 @@ export default {
}, },
{ {
number: 500, number: 500,
title: '已完成单(器械)', title: '已完成单',
name: 'DevicesCollectOrderEnd', name: 'DevicesCollectOrderEnd',
component: DevicesCollectOrderEnd, component: DevicesCollectOrderEnd,
// //
@ -621,15 +621,15 @@ export default {
}, },
{ {
number: 600, number: 600,
title: '单据上传(器械)', title: '单据上传',
name: 'DevicesCollectOrderUpload', name: 'DevicesCollectOrderUpload',
component: DevicesCollectOrderUpload, component: DevicesCollectOrderUpload,
// //
componentProps: {} componentProps: {}
}, },
{ {
number: 10000, number: 100,
title: '工位上货(器械)', title: '工位上货',
name: 'DevicesIoCreateOrderOut', name: 'DevicesIoCreateOrderOut',
component: DevicesIoCreateOrderOut, component: DevicesIoCreateOrderOut,
// //
@ -639,7 +639,7 @@ export default {
}, },
{ {
number: 1300, number: 1300,
title: '工位剔除(器械)', title: '工位剔除',
name: 'DevicesIoSplitFifoRemove', name: 'DevicesIoSplitFifoRemove',
component: DevicesIoSplitFifoRemove, component: DevicesIoSplitFifoRemove,
// //
@ -649,7 +649,7 @@ export default {
}, },
{ {
number: 800, number: 800,
title: '上货推荐(器械)', title: '上货推荐',
name: 'DevicesIoSplitFifoRemind', name: 'DevicesIoSplitFifoRemind',
component: DevicesIoSplitFifoRemind, component: DevicesIoSplitFifoRemind,
// //
@ -657,7 +657,7 @@ export default {
}, },
{ {
number: 300, number: 300,
title: '工位库存(器械)', title: '工位库存',
name: 'DevicesIoSplitFifoCode', name: 'DevicesIoSplitFifoCode',
component: DevicesIoSplitFifoCode, component: DevicesIoSplitFifoCode,
// //
@ -665,7 +665,7 @@ export default {
}, },
{ {
number: 700, number: 700,
title: '拆零管理(器械)', title: '拆零管理',
name: 'DevicesIoDestroyOrder', name: 'DevicesIoDestroyOrder',
component: DevicesIoDestroyOrder, component: DevicesIoDestroyOrder,
// //
@ -673,7 +673,7 @@ export default {
}, },
{ {
number: 200, number: 200,
title: '工位退货(器械)', title: '工位退货',
name: 'DevicesIoCreateOrderReturn', name: 'DevicesIoCreateOrderReturn',
component: DevicesIoCreateOrderReturn, component: DevicesIoCreateOrderReturn,
// //
@ -683,7 +683,7 @@ export default {
}, },
{ {
number: 1200, number: 1200,
title: '上货记录(器械)', title: '上货记录',
name: 'DevicesIoCreateOrderOutRecord', name: 'DevicesIoCreateOrderOutRecord',
component: DevicesIoCreateOrderOutRecord, component: DevicesIoCreateOrderOutRecord,
// //
@ -691,7 +691,7 @@ export default {
}, },
{ {
number: 1400, number: 1400,
title: '处理预验收(器械)', title: '处理预验收',
name: 'DevicesDealOrderPre', name: 'DevicesDealOrderPre',
component: DevicesDealOrderPre, component: DevicesDealOrderPre,
// //
@ -918,7 +918,7 @@ export default {
this.formData.workplaceStatus = item.workplaceStatus this.formData.workplaceStatus = item.workplaceStatus
} else if (this.curWorkPlaces.length == 1 && this.formData.workPlaceCode == null) { } else if (this.curWorkPlaces.length == 1 && this.formData.workPlaceCode == null) {
this.formData.workPlaceCode = this.curWorkPlaces[0].workplaceId this.formData.workPlaceCode = this.curWorkPlaces[0].workplaceId
this.workPlaceCodeChange(this.formData.workPlaceCode) // this.workPlaceCodeChange(this.formData.workPlaceCode)
} }
}) })
}, },
@ -970,7 +970,7 @@ export default {
this.menuActive = 1000 this.menuActive = 1000
this.editableTabs = [{ this.editableTabs = [{
number: 1000, number: 1000,
title: '单据审核(器械)', title: '单据审核',
name: 'DevicesIocCollectOrderCheckCode', name: 'DevicesIocCollectOrderCheckCode',
component: DevicesIocCollectOrderCheckCode, component: DevicesIocCollectOrderCheckCode,
// //
@ -1053,7 +1053,7 @@ export default {
this.menuActive = 100, this.menuActive = 100,
this.editableTabs = [{ this.editableTabs = [{
number: 100, number: 100,
title: '工位上货(器械)', title: '工位上货',
name: 'DevicesIoCreateOrderOut', name: 'DevicesIoCreateOrderOut',
component: DevicesIoCreateOrderOut, component: DevicesIoCreateOrderOut,
// //
@ -1063,35 +1063,6 @@ export default {
} }
] ]
} }
}else {
if (this.productType == 2) {
this.closeAllTabs()
this.editableTabsValue = 'IocCollectOrderCheckCode'
this.menuActive = 10
this.editableTabs = [{
number: 10,
title: '单据审核',
name: 'IocCollectOrderCheckCode',
component: IocCollectOrderCheckCode,
//
componentProps: {}
}
]
} else if (this.productType == 1){
this.closeAllTabs()
this.editableTabsValue = 'DevicesIocCollectOrderCheckCode'
this.menuActive = 1000
this.editableTabs = [{
number: 1000,
title: '单据审核(器械)',
name: 'DevicesIocCollectOrderCheckCode',
component: DevicesIocCollectOrderCheckCode,
//
componentProps: {}
}
]
}
} }
this.findCurWorkPlaces() this.findCurWorkPlaces()

Loading…
Cancel
Save