Compare commits

...

3 Commits

  1. 2
      src/common/detail.js
  2. 2
      src/pages/inventoryMove/coms/comMoveRecord.vue

2
src/common/detail.js

@ -91,7 +91,7 @@ export function getDataSource(subList) {
let items = [];
subList.forEach(detail => {
var item = items.find(r =>
r.itemCode == detail.itemCode && r.batch == detail.batch )
r.itemCode == detail.itemCode)
if (item == undefined) {
item = createItemInfo(detail);
let newDetail = createDetailInfo(detail); //

2
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -506,7 +506,7 @@
newDetail.managementTypeParams = managementTypeParams;
newDetail.fromLocationCode = result.fromLocationCode
newDetail.handleQty = Number(result.label.qty)
newDetail.batch = result.label.batch
newDetail.batch = result.balance.batch
newDetail.packQty = balance.packQty;
newDetail.packUnit = balance.packUnit;
itemp.subList.push(newDetail);

Loading…
Cancel
Save