|
|
@ -321,7 +321,7 @@ |
|
|
|
this.showQuestionMessage('在【' + that.fromLocationCode + '】库位下,未查找到批次【' + lot + |
|
|
|
'】的发料明细,是否要继续发料?', res => { |
|
|
|
if (res) { |
|
|
|
let batch = that.createBatchInfo(label, balance); |
|
|
|
let batch = that.createBatchInfo(label, balance,packageInfo); |
|
|
|
fromLocation.Batchs.unshift(batch); |
|
|
|
} |
|
|
|
}) |
|
|
@ -348,15 +348,15 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
createBatchInfo(data, balance) { |
|
|
|
createBatchInfo(data, balance,packageInfo) { |
|
|
|
let batch = { |
|
|
|
batch: data.lot, |
|
|
|
batch: data.batch, |
|
|
|
qty: 0, |
|
|
|
uom: data.uom, |
|
|
|
handleQty: Number(data.qty), |
|
|
|
Records: [] |
|
|
|
} |
|
|
|
let record = this.creatRecord(data, balance); |
|
|
|
let record = this.creatRecord(data, balance,packageInfo); |
|
|
|
batch.Records.push(record); |
|
|
|
this.issueRecord.unshift(record) |
|
|
|
return batch; |
|
|
|