|
@ -375,11 +375,17 @@ |
|
|
|
|
|
|
|
|
createBatchInfo(data, balance, packageInfo) { |
|
|
createBatchInfo(data, balance, packageInfo) { |
|
|
let batch = { |
|
|
let batch = { |
|
|
batch: data.lot, |
|
|
batch: data.lot||data.batch, |
|
|
qty: 0, |
|
|
qty: 0, |
|
|
uom: data.uom, |
|
|
uom: data.uom, |
|
|
handleQty: Number(data.qty), |
|
|
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); |
|
|
let record = this.creatRecord(data, balance, packageInfo); |
|
|
batch.Records.push(record); |
|
|
batch.Records.push(record); |
|
|