|
|
@ -375,11 +375,17 @@ |
|
|
|
|
|
|
|
createBatchInfo(data, balance, packageInfo) { |
|
|
|
let batch = { |
|
|
|
batch: data.lot, |
|
|
|
batch: data.lot||data.batch, |
|
|
|
qty: 0, |
|
|
|
uom: data.uom, |
|
|
|
handleQty: Number(data.qty), |
|
|
|
Records: [] |
|
|
|
Records: [], |
|
|
|
detail:{ |
|
|
|
handleQty: Number(data.qty), |
|
|
|
packingNumber:data.packingNumber, |
|
|
|
qty: 0, |
|
|
|
uom:data.uom, |
|
|
|
} |
|
|
|
} |
|
|
|
let record = this.creatRecord(data, balance, packageInfo); |
|
|
|
batch.Records.push(record); |
|
|
|