|
|
|
@ -136,59 +136,59 @@
|
|
|
|
|
<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>-->
|
|
|
|
|
<span slot="title">处理单据(器械)</span>
|
|
|
|
|
<span slot="title">处理单据</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">单据审核(器械)</span>
|
|
|
|
|
<span slot="title">单据审核</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">待处理单(器械)</span>
|
|
|
|
|
<span slot="title">待处理单</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">已完成单(器械)</span>
|
|
|
|
|
<span slot="title">已完成单</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">单据上传(器械)</span>
|
|
|
|
|
<span slot="title">单据上传</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">工位上货(器械)</span>
|
|
|
|
|
<span slot="title">工位上货</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">工位剔除(器械)</span>
|
|
|
|
|
<span slot="title">工位剔除</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">上货推荐(器械)</span>
|
|
|
|
|
<span slot="title">上货推荐</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">工位库存(器械)</span>
|
|
|
|
|
<span slot="title">工位库存</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">拆零管理(器械)</span>
|
|
|
|
|
<span slot="title">拆零管理</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">工位退货(器械)</span>
|
|
|
|
|
<span slot="title">工位退货</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">上货记录(器械)</span>
|
|
|
|
|
<span slot="title">上货记录</span>
|
|
|
|
|
</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>-->
|
|
|
|
|
<span slot="title">处理预验收(器械)</span>
|
|
|
|
|
<span slot="title">处理预验收</span>
|
|
|
|
|
</el-menu-item>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -584,8 +584,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
//器械页面
|
|
|
|
|
{
|
|
|
|
|
number: 100,
|
|
|
|
|
title: '处理单据(器械)',
|
|
|
|
|
number: 10000,
|
|
|
|
|
title: '处理单据',
|
|
|
|
|
name: 'DevicesDealOrder',
|
|
|
|
|
component: DevicesDealOrder,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -595,7 +595,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 1000,
|
|
|
|
|
title: '单据审核(器械)',
|
|
|
|
|
title: '单据审核',
|
|
|
|
|
name: 'DevicesIocCollectOrderCheckCode',
|
|
|
|
|
component: DevicesIocCollectOrderCheckCode,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -605,7 +605,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 400,
|
|
|
|
|
title: '待处理单(器械)',
|
|
|
|
|
title: '待处理单',
|
|
|
|
|
name: 'DevicesCollectOrderAllot',
|
|
|
|
|
component: DevicesCollectOrderAllot,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -613,7 +613,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 500,
|
|
|
|
|
title: '已完成单(器械)',
|
|
|
|
|
title: '已完成单',
|
|
|
|
|
name: 'DevicesCollectOrderEnd',
|
|
|
|
|
component: DevicesCollectOrderEnd,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -621,15 +621,15 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 600,
|
|
|
|
|
title: '单据上传(器械)',
|
|
|
|
|
title: '单据上传',
|
|
|
|
|
name: 'DevicesCollectOrderUpload',
|
|
|
|
|
component: DevicesCollectOrderUpload,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
|
componentProps: {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 10000,
|
|
|
|
|
title: '工位上货(器械)',
|
|
|
|
|
number: 100,
|
|
|
|
|
title: '工位上货',
|
|
|
|
|
name: 'DevicesIoCreateOrderOut',
|
|
|
|
|
component: DevicesIoCreateOrderOut,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -639,7 +639,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 1300,
|
|
|
|
|
title: '工位剔除(器械)',
|
|
|
|
|
title: '工位剔除',
|
|
|
|
|
name: 'DevicesIoSplitFifoRemove',
|
|
|
|
|
component: DevicesIoSplitFifoRemove,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -649,7 +649,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 800,
|
|
|
|
|
title: '上货推荐(器械)',
|
|
|
|
|
title: '上货推荐',
|
|
|
|
|
name: 'DevicesIoSplitFifoRemind',
|
|
|
|
|
component: DevicesIoSplitFifoRemind,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -657,7 +657,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 300,
|
|
|
|
|
title: '工位库存(器械)',
|
|
|
|
|
title: '工位库存',
|
|
|
|
|
name: 'DevicesIoSplitFifoCode',
|
|
|
|
|
component: DevicesIoSplitFifoCode,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -665,7 +665,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 700,
|
|
|
|
|
title: '拆零管理(器械)',
|
|
|
|
|
title: '拆零管理',
|
|
|
|
|
name: 'DevicesIoDestroyOrder',
|
|
|
|
|
component: DevicesIoDestroyOrder,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -673,7 +673,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 200,
|
|
|
|
|
title: '工位退货(器械)',
|
|
|
|
|
title: '工位退货',
|
|
|
|
|
name: 'DevicesIoCreateOrderReturn',
|
|
|
|
|
component: DevicesIoCreateOrderReturn,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -683,7 +683,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 1200,
|
|
|
|
|
title: '上货记录(器械)',
|
|
|
|
|
title: '上货记录',
|
|
|
|
|
name: 'DevicesIoCreateOrderOutRecord',
|
|
|
|
|
component: DevicesIoCreateOrderOutRecord,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -691,7 +691,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
number: 1400,
|
|
|
|
|
title: '处理预验收(器械)',
|
|
|
|
|
title: '处理预验收',
|
|
|
|
|
name: 'DevicesDealOrderPre',
|
|
|
|
|
component: DevicesDealOrderPre,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -918,7 +918,7 @@ export default {
|
|
|
|
|
this.formData.workplaceStatus = item.workplaceStatus
|
|
|
|
|
} else if (this.curWorkPlaces.length == 1 && this.formData.workPlaceCode == null) {
|
|
|
|
|
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.editableTabs = [{
|
|
|
|
|
number: 1000,
|
|
|
|
|
title: '单据审核(器械)',
|
|
|
|
|
title: '单据审核',
|
|
|
|
|
name: 'DevicesIocCollectOrderCheckCode',
|
|
|
|
|
component: DevicesIocCollectOrderCheckCode,
|
|
|
|
|
// 假设你需要传递的参数
|
|
|
|
@ -1053,7 +1053,7 @@ export default {
|
|
|
|
|
this.menuActive = 100,
|
|
|
|
|
this.editableTabs = [{
|
|
|
|
|
number: 100,
|
|
|
|
|
title: '工位上货(器械)',
|
|
|
|
|
title: '工位上货',
|
|
|
|
|
name: '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()
|
|
|
|
|