From bab76aa714923d74f3ff79a6699b26c3c6856a98 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 9 Jan 2024 09:47:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A1=A5=E6=96=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/repleinsh/coms/comScanReplishPack.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/repleinsh/coms/comScanReplishPack.vue b/pages/repleinsh/coms/comScanReplishPack.vue index 7f1c369c..c5257d43 100644 --- a/pages/repleinsh/coms/comScanReplishPack.vue +++ b/pages/repleinsh/coms/comScanReplishPack.vue @@ -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;