feat(生产入库单申请):
1.生产入库单申请增加SALES_ORDER_CONTROL作业规则,控制销售订单行号和销售订单行是否一致
This commit is contained in:
parent
bc7af199b8
commit
7f6076e61a
@ -295,6 +295,7 @@ export default {
|
|||||||
// 作业规则
|
// 作业规则
|
||||||
targetStoLoc: '',
|
targetStoLoc: '',
|
||||||
isPrint: '',
|
isPrint: '',
|
||||||
|
salesOrderControl: '',
|
||||||
// 单据状态
|
// 单据状态
|
||||||
documentStatusList,
|
documentStatusList,
|
||||||
rules: {
|
rules: {
|
||||||
@ -370,6 +371,8 @@ export default {
|
|||||||
this.targetStoLoc = response.data.data[i].optionValue
|
this.targetStoLoc = response.data.data[i].optionValue
|
||||||
} else if (response.data.data[i].optionName == 'IS_PRINT') {
|
} else if (response.data.data[i].optionName == 'IS_PRINT') {
|
||||||
this.isPrint = response.data.data[i].optionValue
|
this.isPrint = response.data.data[i].optionValue
|
||||||
|
} else if (response.data.data[i].optionName == 'SALES_ORDER_CONTROL') {
|
||||||
|
this.salesOrderControl = response.data.data[i].optionValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -484,11 +487,17 @@ export default {
|
|||||||
|
|
||||||
let inventoryStatus = "";
|
let inventoryStatus = "";
|
||||||
let inventorySpecialMarking = "";
|
let inventorySpecialMarking = "";
|
||||||
let length = 0;
|
// 销售订单号
|
||||||
|
let dnOrder= "";
|
||||||
|
// 销售订单行号
|
||||||
|
let dnOrderSeq = "";
|
||||||
|
let scanListLength = 0;
|
||||||
if (storagRequestList.length > 0) {
|
if (storagRequestList.length > 0) {
|
||||||
inventoryStatus = storagRequestList[0].storageStatus;
|
inventoryStatus = storagRequestList[0].storageStatus;
|
||||||
inventorySpecialMarking = storagRequestList[0].inventorySpecialMarking;
|
inventorySpecialMarking = storagRequestList[0].inventorySpecialMarking;
|
||||||
length = storagRequestList.length;
|
dnOrder = storagRequestList[0].dnOrder;
|
||||||
|
dnOrderSeq = storagRequestList[0].dnOrderSeq;
|
||||||
|
scanListLength = storagRequestList.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
let param = {
|
let param = {
|
||||||
@ -497,7 +506,10 @@ export default {
|
|||||||
"targetStoLoc": this.targetStoLoc,
|
"targetStoLoc": this.targetStoLoc,
|
||||||
"inventoryStatus": inventoryStatus,
|
"inventoryStatus": inventoryStatus,
|
||||||
"inventorySpecialMarking": inventorySpecialMarking,
|
"inventorySpecialMarking": inventorySpecialMarking,
|
||||||
"length":length
|
"salesOrderControl": this.salesOrderControl,
|
||||||
|
"dnOrder": dnOrder,
|
||||||
|
"dnOrderSeq": dnOrderSeq,
|
||||||
|
"scanListLength":scanListLength
|
||||||
};
|
};
|
||||||
|
|
||||||
me.$refs.storagRequestData.clearSelection();
|
me.$refs.storagRequestData.clearSelection();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user