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;