From 2f4fa85a58979af318029f2c7dfd06d456b44c9e Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 26 Jun 2024 13:36:31 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=96=B0=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/deliver/coms/comScanDeliverPack.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/deliver/coms/comScanDeliverPack.vue b/src/pages/deliver/coms/comScanDeliverPack.vue index 4f71cda1..721663a2 100644 --- a/src/pages/deliver/coms/comScanDeliverPack.vue +++ b/src/pages/deliver/coms/comScanDeliverPack.vue @@ -381,6 +381,8 @@ handleQty: Number(data.qty), Records: [], detail:{ + itemCode:data.itemCode, + fromLocationCode:balance.locationCode, handleQty: Number(data.qty), packingNumber:data.packingNumber, qty: 0, From 4c3966c183c4a58c69f4ab072260072f29806b35 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 26 Jun 2024 14:01:44 +0800 Subject: [PATCH 2/4] toLocationCode --- src/pages/deliver/coms/comScanDeliverPack.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/deliver/coms/comScanDeliverPack.vue b/src/pages/deliver/coms/comScanDeliverPack.vue index 721663a2..4d24af68 100644 --- a/src/pages/deliver/coms/comScanDeliverPack.vue +++ b/src/pages/deliver/coms/comScanDeliverPack.vue @@ -381,8 +381,7 @@ handleQty: Number(data.qty), Records: [], detail:{ - itemCode:data.itemCode, - fromLocationCode:balance.locationCode, + toLocationCode:this.toLocationCode, handleQty: Number(data.qty), packingNumber:data.packingNumber, qty: 0, From afd099e004978626fb5327ed8e97c32bc5462625 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 26 Jun 2024 14:16:54 +0800 Subject: [PATCH 3/4] fromlocationcode --- src/pages/deliver/coms/comScanDeliverPack.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/deliver/coms/comScanDeliverPack.vue b/src/pages/deliver/coms/comScanDeliverPack.vue index 4d24af68..3a37a06e 100644 --- a/src/pages/deliver/coms/comScanDeliverPack.vue +++ b/src/pages/deliver/coms/comScanDeliverPack.vue @@ -374,6 +374,7 @@ }, createBatchInfo(data, balance, packageInfo) { + let batch = { batch: data.lot||data.batch, qty: 0, @@ -381,6 +382,7 @@ handleQty: Number(data.qty), Records: [], detail:{ + fromLocationCode:this.fromLocationCode, toLocationCode:this.toLocationCode, handleQty: Number(data.qty), packingNumber:data.packingNumber, @@ -388,6 +390,7 @@ uom:data.uom, } } + let record = this.creatRecord(data, balance, packageInfo); batch.Records.push(record); this.issueRecord.unshift(record) From debe4a8915ccf6b672e97ac28fbc730483da9816 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 26 Jun 2024 14:43:15 +0800 Subject: [PATCH 4/4] itemcode --- src/pages/deliver/coms/comScanDeliverPack.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/deliver/coms/comScanDeliverPack.vue b/src/pages/deliver/coms/comScanDeliverPack.vue index 3a37a06e..a7b4a29d 100644 --- a/src/pages/deliver/coms/comScanDeliverPack.vue +++ b/src/pages/deliver/coms/comScanDeliverPack.vue @@ -374,7 +374,6 @@ }, createBatchInfo(data, balance, packageInfo) { - let batch = { batch: data.lot||data.batch, qty: 0, @@ -382,15 +381,15 @@ handleQty: Number(data.qty), Records: [], detail:{ - fromLocationCode:this.fromLocationCode, + fromLocationCode:this.fromLocationCode, //balance.locationCode toLocationCode:this.toLocationCode, + itemCode:data.itemCode, handleQty: Number(data.qty), packingNumber:data.packingNumber, qty: 0, uom:data.uom, } } - let record = this.creatRecord(data, balance, packageInfo); batch.Records.push(record); this.issueRecord.unshift(record)