Browse Source

修改记录数字赋值

wms3.0_pda
lijuncheng 11 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.stdPackQty = Number(pack.stdPackQty)
detail.stdPackUnit = pack.stdPackUnit
detail.handleQty =0;
detail.package = pack;
return detail;

1
pages/container/record/containerBindRecord.vue

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

1
pages/container/record/containerUnBindRecord.vue

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

2
pages/customerReturn/record/returnRecord.vue

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

2
pages/deliver/record/deliverRecord.vue

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

2
pages/productPutaway/record/productPutawayRecord.vue

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

3
pages/productReceipt/record/productReceiptRecord.vue

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

2
pages/productionReturn/coms/comReturn.vue

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

3
pages/productionReturn/record/returnToHold.vue

@ -230,6 +230,7 @@
Object.assign(detail, label)
detail.scaned = true;
detail.qty = Number(label.qty);
detail.handleQty = 0;
detail.inventoryStatus = "OK"
detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit;
@ -417,7 +418,7 @@
submitItem.productionlineCode = this.productionLineCode;
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)
}

3
pages/productionReturn/record/returnToStore.vue

@ -231,6 +231,7 @@
Object.assign(detail, label)
detail.scaned = true;
detail.qty = Number(label.qty);
detail.handleQty =0;
detail.inventoryStatus = "OK"
detail.stdPackQty = pack.stdPackQty;
detail.stdPackUnit = pack.stdPackUnit;
@ -446,7 +447,7 @@
submitItem.productionlineCode = this.productionLineCode;
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)
}
})

2
pages/purchaseReturn/record/returnRecord.vue

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

2
pages/putaway/record/putawayRecord.vue

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

2
pages/scrap/record/scrapRecord.vue

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

2
pages/transfer/coms/comTransferRecord.vue

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

2
pages/transfer/job/transferDetail.vue

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

2
pages/unPlanned/record/issueRecord.vue

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

3
pages/unPlanned/record/receiptRecord.vue

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

Loading…
Cancel
Save