|
@ -300,7 +300,12 @@ const createBatchInfo = (data, balance, packageInfo) => { |
|
|
handleQty: Number(data.qty), |
|
|
handleQty: Number(data.qty), |
|
|
packingNumber: data.packingNumber, |
|
|
packingNumber: data.packingNumber, |
|
|
qty: 0, |
|
|
qty: 0, |
|
|
uom: data.uom |
|
|
uom: data.uom, |
|
|
|
|
|
itemName: packageInfo.itemName, |
|
|
|
|
|
itemDesc1: packageInfo.itemDesc1, |
|
|
|
|
|
itemDesc2: packageInfo.itemDesc2, |
|
|
|
|
|
singlePrice: balance.singlePrice, |
|
|
|
|
|
amount: balance.amount |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
const record = creatRecord(data, balance, packageInfo) |
|
|
const record = creatRecord(data, balance, packageInfo) |
|
@ -323,7 +328,9 @@ const creatRecord = (label, balance, packageInfo) => { |
|
|
toLocationCode: toLocationCode.value, |
|
|
toLocationCode: toLocationCode.value, |
|
|
supplierCode: label.supplierCode, |
|
|
supplierCode: label.supplierCode, |
|
|
packUnit: packageInfo.packUnit, |
|
|
packUnit: packageInfo.packUnit, |
|
|
packQty: packageInfo.packQty |
|
|
packQty: packageInfo.packQty, |
|
|
|
|
|
singlePrice: balance.singlePrice, |
|
|
|
|
|
amount: balance.amount |
|
|
} |
|
|
} |
|
|
return record |
|
|
return record |
|
|
} |
|
|
} |
|
|