From b68703bed5c0e55abfa90f83404d1fb5bc323130 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 14 Nov 2024 16:23:08 +0800 Subject: [PATCH] =?UTF-8?q?HL-6379=20=E4=BF=AE=E6=94=B9=E6=8B=86=E5=8C=85?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=88=B6=E5=AD=90=E5=8C=85=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/package/record/splitPackageRecord.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/pages/package/record/splitPackageRecord.vue b/src/pages/package/record/splitPackageRecord.vue index c4a93890..fe2131ed 100644 --- a/src/pages/package/record/splitPackageRecord.vue +++ b/src/pages/package/record/splitPackageRecord.vue @@ -10,7 +10,9 @@ + @@ -196,7 +198,12 @@ var itemp = createItemInfo(balance, pack); itemp.handleQty=0 let newDetail = createDetailInfo(balance, pack); // - newDetail.handleQty=0 + if(balance.lableQty){ + newDetail.handleQty =balance.lableQty + } + + newDetail.parentNumber =pack.parentNumber; + newDetail.packingNumber =pack.number newDetail.scaned=false itemp.subList.push(newDetail); this.detailSource.push(itemp) @@ -214,7 +221,11 @@ }) if (detail == undefined) { let newDetail = createDetailInfo(balance, pack); - newDetail.handleQty=0 + if(balance.lableQty){ + newDetail.handleQty =balance.lableQty + } + newDetail.parentNumber =pack.parentNumber; + newDetail.packingNumber =pack.number item.subList.push(newDetail); this.closeScanPopup() } else { @@ -342,6 +353,8 @@ subItem.fromPackingNumber = subItem.packingNumber; subItem.toPackingNumber = subItem.packingNumber; + subItem.fromParentPackingNumber =detail.parentNumber; + subItem.fromBatch = subItem.batch; subItem.toBatch = subItem.batch; subItem.locationCode = detail.locationCode;