|
|
@ -362,7 +362,7 @@ export default {
|
|
|
|
type: Object,
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
splitType: {//splitType
|
|
|
|
fromSplitType: {//splitType
|
|
|
|
type: Object,
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -559,7 +559,7 @@ export default {
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
successCloseData() {
|
|
|
|
successCloseData() {
|
|
|
|
let workPlaceCode = this.orderFormData.workPlaceCode
|
|
|
|
let tempData = JSON.parse(JSON.stringify(this.orderFormData));
|
|
|
|
this.orderFormData = {
|
|
|
|
this.orderFormData = {
|
|
|
|
billNo: null,
|
|
|
|
billNo: null,
|
|
|
|
corpOrderId: null,
|
|
|
|
corpOrderId: null,
|
|
|
@ -583,19 +583,18 @@ export default {
|
|
|
|
fifoSplit: 1,
|
|
|
|
fifoSplit: 1,
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.orderFormData.workPlaceCode = workPlaceCode
|
|
|
|
this.orderFormData.workPlaceCode = tempData.workPlaceCode
|
|
|
|
|
|
|
|
this.orderFormData.mainAction = tempData.mainAction
|
|
|
|
|
|
|
|
this.orderFormData.action = tempData.action
|
|
|
|
|
|
|
|
this.orderFormData.fromCorp = tempData.fromCorp
|
|
|
|
|
|
|
|
this.orderFormData.fromDeptCode = tempData.fromDeptCode
|
|
|
|
|
|
|
|
this.orderFormData.fromInvCode = tempData.fromInvCode
|
|
|
|
|
|
|
|
this.orderFormData.fromInvCode = tempData.fromInvCode
|
|
|
|
|
|
|
|
this.orderFormData.deptCode = tempData.deptCode
|
|
|
|
|
|
|
|
this.orderFormData.invCode = tempData.invCode
|
|
|
|
this.scanCode = "";
|
|
|
|
this.scanCode = "";
|
|
|
|
this.corpOrderIdDisabled = false;
|
|
|
|
this.corpOrderIdDisabled = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.splitType = this.splitType;
|
|
|
|
|
|
|
|
if (this.splitType == "search") {
|
|
|
|
|
|
|
|
} else if (this.splitType == "out") {
|
|
|
|
|
|
|
|
this.orderFormData.action = 'SC72197936495755';
|
|
|
|
|
|
|
|
} else if (this.splitType == "return") {
|
|
|
|
|
|
|
|
this.orderFormData.action = 'SC72249388338364';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.orderFormData.fromCorp = "72198012799726";
|
|
|
|
|
|
|
|
this.refreshCodesPanel()
|
|
|
|
this.refreshCodesPanel()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//获取用户仓库列表
|
|
|
|
//获取用户仓库列表
|
|
|
@ -610,7 +609,7 @@ export default {
|
|
|
|
this.orderFormData.invWarehouseCode == null
|
|
|
|
this.orderFormData.invWarehouseCode == null
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
//this.orderFormData.invCode = this.curInvOptions[0].code;
|
|
|
|
//this.orderFormData.invCode = this.curInvOptions[0].code;
|
|
|
|
// this.getBusTypeByInv();
|
|
|
|
this.getBusTypeByInv();
|
|
|
|
this.findCurSpaceList(this.orderFormData.invCode);
|
|
|
|
this.findCurSpaceList(this.orderFormData.invCode);
|
|
|
|
this.findCurWorkPlaces();
|
|
|
|
this.findCurWorkPlaces();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1761,6 +1760,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
init() {
|
|
|
|
init() {
|
|
|
|
//页面初始化
|
|
|
|
//页面初始化
|
|
|
|
|
|
|
|
|
|
|
|
this.codeFormData.code = "";
|
|
|
|
this.codeFormData.code = "";
|
|
|
|
if (this.splitType == "search") {
|
|
|
|
if (this.splitType == "search") {
|
|
|
|
} else if (this.splitType == "out") {
|
|
|
|
} else if (this.splitType == "out") {
|
|
|
@ -1835,7 +1835,9 @@ export default {
|
|
|
|
inputer.focus();
|
|
|
|
inputer.focus();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.splitType = this.splitType;
|
|
|
|
this.splitType = this.$route.query.splitType;
|
|
|
|
|
|
|
|
if (this.splitType == null)
|
|
|
|
|
|
|
|
this.splitType = this.fromSplitType
|
|
|
|
this.init();
|
|
|
|
this.init();
|
|
|
|
if (this.$route.query.workplaceId != null) {
|
|
|
|
if (this.$route.query.workplaceId != null) {
|
|
|
|
this.corpOrderIdDisabled = true
|
|
|
|
this.corpOrderIdDisabled = true
|
|
|
|