From a129f7420c1d9a02b465bece5ef6fbe0989af7c1 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 28 Aug 2024 15:28:22 +0800 Subject: [PATCH] =?UTF-8?q?6-14=2015:09=20=20=E6=9F=A5=E8=AF=A2=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E4=BD=99=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/location/locationCompare.vue | 12 ++++++------ src/mycomponents/scan/winScanPackAndLocation.vue | 9 +++++++-- .../productPutaway/job/productPutawayDetail.vue | 2 +- .../productPutaway/record/productPutawayRecord.vue | 2 +- src/pages/putaway/job/putawayDetail.vue | 2 +- src/pages/repleinsh/coms/comScanReplishPack.vue | 2 +- src/pages/repleinsh/job/repleinshDetail.vue | 1 + 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/mycomponents/location/locationCompare.vue b/src/mycomponents/location/locationCompare.vue index 05720566..76c47399 100644 --- a/src/mycomponents/location/locationCompare.vue +++ b/src/mycomponents/location/locationCompare.vue @@ -3,18 +3,18 @@ - {{ title }} + {{ title }} -   {{ recommendLocationCode }} -  / {{ locationCode }} +   {{ recommendLocationCode }} +  / {{ locationCode }} - + - {{ title }} -   {{ recommendLocationCode }} + {{ title }} +   {{ recommendLocationCode }} diff --git a/src/mycomponents/scan/winScanPackAndLocation.vue b/src/mycomponents/scan/winScanPackAndLocation.vue index 2755c1d6..935649ba 100644 --- a/src/mycomponents/scan/winScanPackAndLocation.vue +++ b/src/mycomponents/scan/winScanPackAndLocation.vue @@ -6,7 +6,7 @@ 扫描{{ title }} - + @@ -79,6 +79,11 @@ const props = defineProps({ queryBalance: { type: Boolean, default: true + }, + balanceFromInventoryStatuses: { + // 是否传fromInventoryStatuses + type: Boolean, + default: true } }) const scanResult = ref({}) @@ -215,7 +220,7 @@ const checkPackage = (result) => { // mask: true // }) if (props.queryBalance == true) { - getBalanceByManagementPrecision(result.label, fromLocationCode.value, fromInventoryStatuses.value, (res) => { + getBalanceByManagementPrecision(result.label, fromLocationCode.value, props.balanceFromInventoryStatuses ? fromInventoryStatuses.value : undefined, (res) => { uni.hideLoading() if (res.success) { managementPrecision.value = res.managementPrecision diff --git a/src/pages/productPutaway/job/productPutawayDetail.vue b/src/pages/productPutaway/job/productPutawayDetail.vue index b7c72d1d..12b9e921 100644 --- a/src/pages/productPutaway/job/productPutawayDetail.vue +++ b/src/pages/productPutaway/job/productPutawayDetail.vue @@ -29,7 +29,7 @@ - + diff --git a/src/pages/productPutaway/record/productPutawayRecord.vue b/src/pages/productPutaway/record/productPutawayRecord.vue index 09b84c65..3fc56e4d 100644 --- a/src/pages/productPutaway/record/productPutawayRecord.vue +++ b/src/pages/productPutaway/record/productPutawayRecord.vue @@ -29,7 +29,7 @@ - + diff --git a/src/pages/putaway/job/putawayDetail.vue b/src/pages/putaway/job/putawayDetail.vue index 0f76c858..10824c40 100644 --- a/src/pages/putaway/job/putawayDetail.vue +++ b/src/pages/putaway/job/putawayDetail.vue @@ -33,7 +33,7 @@ - + diff --git a/src/pages/repleinsh/coms/comScanReplishPack.vue b/src/pages/repleinsh/coms/comScanReplishPack.vue index 9aa74b39..9e3c952b 100644 --- a/src/pages/repleinsh/coms/comScanReplishPack.vue +++ b/src/pages/repleinsh/coms/comScanReplishPack.vue @@ -140,7 +140,7 @@ const closeScanPopup = () => { const initData = () => { fromLocationList.value = [] if (dataContent.value != null) { - fromInventoryStatuses.value = getDirectoryItemArray(jobContent.value.outInventoryStatuses) + fromInventoryStatuses.value = jobContent.value.outInventoryStatuses toLocation.value = dataContent.value[0] toLocationCode.value = dataContent.value[0].toLocationCode fromLocationList.value = getFromLocationList() diff --git a/src/pages/repleinsh/job/repleinshDetail.vue b/src/pages/repleinsh/job/repleinshDetail.vue index a5b3054b..c7f08e9b 100644 --- a/src/pages/repleinsh/job/repleinshDetail.vue +++ b/src/pages/repleinsh/job/repleinshDetail.vue @@ -350,6 +350,7 @@ const updateData = (record) => { }) batch.handleQty = handleQty itemHandleQty = calc.add(itemHandleQty, handleQty) + comScanIssuePackRef.value.calcBatchHandleQty(batch) } }) }