Browse Source

修改记录数字赋值

wms3.0_pda
lijuncheng 10 months ago
parent
commit
d31c9eca84
  1. 1
      common/record.js
  2. 1
      pages/container/record/containerBindRecord.vue
  3. 1
      pages/container/record/containerUnBindRecord.vue
  4. 2
      pages/customerReturn/record/returnRecord.vue
  5. 2
      pages/deliver/record/deliverRecord.vue
  6. 2
      pages/productPutaway/record/productPutawayRecord.vue
  7. 3
      pages/productReceipt/record/productReceiptRecord.vue
  8. 2
      pages/productionReturn/coms/comReturn.vue
  9. 3
      pages/productionReturn/record/returnToHold.vue
  10. 3
      pages/productionReturn/record/returnToStore.vue
  11. 2
      pages/purchaseReturn/record/returnRecord.vue
  12. 2
      pages/putaway/record/putawayRecord.vue
  13. 2
      pages/scrap/record/scrapRecord.vue
  14. 2
      pages/transfer/coms/comTransferRecord.vue
  15. 2
      pages/transfer/job/transferDetail.vue
  16. 2
      pages/unPlanned/record/issueRecord.vue
  17. 3
      pages/unPlanned/record/receiptRecord.vue

1
common/record.js

@ -30,6 +30,7 @@ export function createDetailInfo(data, pack) {
detail.balanceQty = Number(detail.qty) detail.balanceQty = Number(detail.qty)
detail.stdPackQty = Number(pack.stdPackQty) detail.stdPackQty = Number(pack.stdPackQty)
detail.stdPackUnit = pack.stdPackUnit detail.stdPackUnit = pack.stdPackUnit
detail.handleQty =0;
detail.package = pack; detail.package = pack;
return detail; return detail;

1
pages/container/record/containerBindRecord.vue

@ -260,6 +260,7 @@
data.scaned = false; data.scaned = false;
data.packingNumber = data.contentNumber data.packingNumber = data.contentNumber
data.qty = Number(data.qty) data.qty = Number(data.qty)
data.handleQty = 0;
let detail = data; let detail = data;
return detail; return detail;
}, },

1
pages/container/record/containerUnBindRecord.vue

@ -205,6 +205,7 @@
data.scaned = false; data.scaned = false;
data.packingNumber = data.contentNumber data.packingNumber = data.contentNumber
data.qty = Number(data.qty) data.qty = Number(data.qty)
data.handleQty =0;
let detail = data; let detail = data;
return detail; return detail;
}, },

2
pages/customerReturn/record/returnRecord.vue

@ -346,7 +346,7 @@
submitItem.fromLocationCode = detail.locationCode; submitItem.fromLocationCode = detail.locationCode;
submitItem.toLocationCode = detail.toLocationCode; submitItem.toLocationCode = detail.toLocationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)

2
pages/deliver/record/deliverRecord.vue

@ -380,7 +380,7 @@
submitItem.fromLocationCode = detail.locationCode; submitItem.fromLocationCode = detail.locationCode;
submitItem.toLocationCode = detail.toLocationCode; submitItem.toLocationCode = detail.toLocationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)

2
pages/productPutaway/record/productPutawayRecord.vue

@ -335,7 +335,7 @@
submitItem.fromLocationCode = detail.locationCode; submitItem.fromLocationCode = detail.locationCode;
submitItem.toLocationCode = detail.toLocationCode; submitItem.toLocationCode = detail.toLocationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)
} }

3
pages/productReceipt/record/productReceiptRecord.vue

@ -195,6 +195,7 @@
Object.assign(detail, label) Object.assign(detail, label)
detail.scaned = true; detail.scaned = true;
detail.qty = Number(label.qty); detail.qty = Number(label.qty);
detail.handleQty = 0;
detail.inventoryStatus = "OK" detail.inventoryStatus = "OK"
detail.stdPackQty = pack.stdPackQty; detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit; detail.stdPackUnit = pack.stdPackUnit;
@ -326,7 +327,7 @@
submitItem.productionlineCode = this.productionLineCode; submitItem.productionlineCode = this.productionLineCode;
submitItem.workStationCode = this.workStationCode; submitItem.workStationCode = this.workStationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)

2
pages/productionReturn/coms/comReturn.vue

@ -226,7 +226,7 @@
detail.inventoryStatus = this.businessTypeCode == 'ReturnToStore' ? "OK" : "HOLD" detail.inventoryStatus = this.businessTypeCode == 'ReturnToStore' ? "OK" : "HOLD"
detail.stdPackQty = pack.stdPackQty; detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit; detail.stdPackUnit = pack.stdPackUnit;
detail.handleQty = 0;
detail.package = pack; detail.package = pack;
detail.label = label; detail.label = label;
return detail; return detail;

3
pages/productionReturn/record/returnToHold.vue

@ -230,6 +230,7 @@
Object.assign(detail, label) Object.assign(detail, label)
detail.scaned = true; detail.scaned = true;
detail.qty = Number(label.qty); detail.qty = Number(label.qty);
detail.handleQty = 0;
detail.inventoryStatus = "OK" detail.inventoryStatus = "OK"
detail.stdPackQty = pack.stdPackQty; detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit; detail.stdPackUnit = pack.stdPackUnit;
@ -417,7 +418,7 @@
submitItem.productionlineCode = this.productionLineCode; submitItem.productionlineCode = this.productionLineCode;
submitItem.workStationCode = this.workStationCode; submitItem.workStationCode = this.workStationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
subList.push(submitItem) subList.push(submitItem)
} }

3
pages/productionReturn/record/returnToStore.vue

@ -231,6 +231,7 @@
Object.assign(detail, label) Object.assign(detail, label)
detail.scaned = true; detail.scaned = true;
detail.qty = Number(label.qty); detail.qty = Number(label.qty);
detail.handleQty =0;
detail.inventoryStatus = "OK" detail.inventoryStatus = "OK"
detail.stdPackQty = pack.stdPackQty; detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit; detail.stdPackUnit = pack.stdPackUnit;
@ -446,7 +447,7 @@
submitItem.productionlineCode = this.productionLineCode; submitItem.productionlineCode = this.productionLineCode;
submitItem.workStationCode = this.workStationCode; submitItem.workStationCode = this.workStationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
subList.push(submitItem) subList.push(submitItem)
} }
}) })

2
pages/purchaseReturn/record/returnRecord.vue

@ -290,7 +290,7 @@
submitItem.fromLocationCode = this.fromLocationCode; submitItem.fromLocationCode = this.fromLocationCode;
submitItem.toLocationCode = ''; //退 submitItem.toLocationCode = ''; //退
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package = ""; submitItem.package = "";
subList.push(submitItem) subList.push(submitItem)
} }

2
pages/putaway/record/putawayRecord.vue

@ -381,7 +381,7 @@
// detail.toInventoryStatus = detail.inventoryStatus // detail.toInventoryStatus = detail.inventoryStatus
// detail.toLocationCode = detail.toLocationCode // detail.toLocationCode = detail.toLocationCode
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package = ""; submitItem.package = "";
subList.push(submitItem) subList.push(submitItem)
} }

2
pages/scrap/record/scrapRecord.vue

@ -297,7 +297,7 @@
submitItem.toLocationCode = ""; submitItem.toLocationCode = "";
submitItem.reason = this.reasonCode; submitItem.reason = this.reasonCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)
} }

2
pages/transfer/coms/comTransferRecord.vue

@ -361,7 +361,7 @@
submitItem.fromLocationCode = detail.locationCode; submitItem.fromLocationCode = detail.locationCode;
submitItem.toLocationCode = detail.toLocationCode; submitItem.toLocationCode = detail.toLocationCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)

2
pages/transfer/job/transferDetail.vue

@ -221,7 +221,9 @@
createDetailInfo(data) { createDetailInfo(data) {
data.scaned = false; data.scaned = false;
// data.record = {}; // data.record = {};
let detail = data; let detail = data;
detail.handleQty = 0,
return detail; return detail;
}, },

2
pages/unPlanned/record/issueRecord.vue

@ -255,7 +255,7 @@
submitItem.toLocationCode = ""; submitItem.toLocationCode = "";
submitItem.reason = this.reasonCode; submitItem.reason = this.reasonCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)

3
pages/unPlanned/record/receiptRecord.vue

@ -183,6 +183,7 @@
detail.scaned = true; detail.scaned = true;
// Object.assign(detail, label) // Object.assign(detail, label)
detail.qty = Number(label.qty) detail.qty = Number(label.qty)
detail.handleQty = 0,
detail.inventoryStatus = "OK" detail.inventoryStatus = "OK"
detail.stdPackQty = pack.stdPackQty; detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit; detail.stdPackUnit = pack.stdPackUnit;
@ -334,7 +335,7 @@
submitItem.reason = this.reasonCode; submitItem.reason = this.reasonCode;
submitItem.qty = detail.handleQty!=undefined?detail.handleQty:detail.qty; submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty;
submitItem.package =""; submitItem.package ="";
subList.push(submitItem) subList.push(submitItem)

Loading…
Cancel
Save