|
@ -374,7 +374,6 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
createBatchInfo(data, balance, packageInfo) { |
|
|
createBatchInfo(data, balance, packageInfo) { |
|
|
|
|
|
|
|
|
let batch = { |
|
|
let batch = { |
|
|
batch: data.lot||data.batch, |
|
|
batch: data.lot||data.batch, |
|
|
qty: 0, |
|
|
qty: 0, |
|
@ -382,15 +381,15 @@ |
|
|
handleQty: Number(data.qty), |
|
|
handleQty: Number(data.qty), |
|
|
Records: [], |
|
|
Records: [], |
|
|
detail:{ |
|
|
detail:{ |
|
|
fromLocationCode:this.fromLocationCode, |
|
|
fromLocationCode:this.fromLocationCode, //balance.locationCode |
|
|
toLocationCode:this.toLocationCode, |
|
|
toLocationCode:this.toLocationCode, |
|
|
|
|
|
itemCode:data.itemCode, |
|
|
handleQty: Number(data.qty), |
|
|
handleQty: Number(data.qty), |
|
|
packingNumber:data.packingNumber, |
|
|
packingNumber:data.packingNumber, |
|
|
qty: 0, |
|
|
qty: 0, |
|
|
uom:data.uom, |
|
|
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); |
|
|
this.issueRecord.unshift(record) |
|
|
this.issueRecord.unshift(record) |
|
|