fix: 工位上下货页面修改

20240912_adapter_z
chenhc 1 year ago
parent 7c28245709
commit 286e3555ef

@ -75,7 +75,7 @@
</el-submenu>
<el-submenu index="33">
<el-submenu index="33" v-if="autoTag == 1">
<template slot="title">
<i class="el-icon-s-platform"></i>
<span>工位管理</span>
@ -97,7 +97,7 @@
</el-submenu>
<el-submenu index="22">
<el-submenu index="22" v-if="autoTag == 1">
<template slot="title">
<i class="el-icon-s-help"></i>
<span>库存管理</span>
@ -198,8 +198,8 @@ import logoImg from '@/assets/logo/logo_dm.png'
import DealOrder from '@/views/collect/DealOrder.vue'
import CollectOrderAllot from '@/views/collect/CollectOrderAllot.vue'
import CollectOrderEnd from '@/views/collect/CollectOrderEnd.vue'
import IoCreateOrderReturn from '@/views/collect/IoCreateOrder.vue'
import IoCreateOrderOut from '@/views/collect/IoCreateOrder.vue'
import IoCreateOrderReturn from '@/views/collect/IoSplitOperateCode.vue'
import IoCreateOrderOut from '@/views/collect/IoSplitOperateCode.vue'
import ioSplitFifoCode from '@/views/collect/ioSplitFifoCode.vue'
import CollectOrderUpload from '@/views/collect/CollectOrderUpload.vue'
import IoDestroyOrder from '@/views/collect/IoDestroyOrder.vue'
@ -342,6 +342,7 @@ export default {
],
tabIndex: 0,
menuActive: 0,
autoTag: 0,
resetKeys: {}
}
},
@ -384,6 +385,7 @@ export default {
newQuery.busType = val
this.$router.push({query: newQuery, path: this.$route.path});
this.formData.busName = info.busName;
this.autoTag = info.autoTag;
this.editableTabs = []
this.clickMenuItem(0)
this.showChild = false;
@ -488,10 +490,13 @@ export default {
if (this.$route.query.busType != null) {
this.formData.busType = this.$route.query.busType
this.formData.busName = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType).busName;
let busType = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType)
this.formData.busName = busType.busName;
this.autoTag = busType.autoTag;
}else if (this.busTypeList.length == 1) {
this.formData.busType = this.busTypeList[0].documentTypeCode
this.$router.push({query: {...this.$route.query, busType: this.formData.busType}, path: this.$route.path})
this.autoTag = this.busTypeList[0].autoTag;
this.$router.push({query: {...this.$route.query, busType: this.formData.busType}, path: this.$route.path})
this.selectBusTypeDisabled = false
this.formData.busName = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType).busName;
} else {

@ -1877,8 +1877,8 @@ export default {
this.$refs.inputRef.focus();
},
created() {
this.splitType = this.$route.query.splitType;
if (this.splitType == null)
// this.splitType = this.$route.query.splitType;
// if (this.splitType == null)
this.splitType = this.fromSplitType
this.init();
if (this.$route.query.workplaceId != null) {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save