From fff686d287d556357f3361bada15a5a2603a8461 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Sun, 7 Apr 2024 14:14:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A1=E5=88=92=E5=A4=96?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/scan/winScanPackAndLocation.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mycomponents/scan/winScanPackAndLocation.vue b/src/mycomponents/scan/winScanPackAndLocation.vue index adb7be78..1e6b5283 100644 --- a/src/mycomponents/scan/winScanPackAndLocation.vue +++ b/src/mycomponents/scan/winScanPackAndLocation.vue @@ -162,7 +162,7 @@ }, 500) this.fromInventoryStatuses = jobContent.outInventoryStatuses this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //出库库存状态; //出库库存状态 - this.fromLocationAreaTypeList = getDirectoryItemArray(jobContent.fromAreaCodes); //出库库存状态 + this.fromLocationAreaTypeList = getDirectoryItemArray(jobContent.fromAreaTypes); //出库库存状态 }, closeScanPopup(content) { @@ -197,7 +197,7 @@ uni.hideLoading(); if (res.data.total > 0) { let result = res.data.list[0]; - var type = result.type; + var type = result.areaType; var available = result.available; if (available == "TRUE") { if (checkDirectoryItemExist(this.fromLocationAreaTypeList, type)) { @@ -206,8 +206,8 @@ this.checkPackage(scanResult); } else { var hint = getListLocationAreaTypeDesc(this.fromLocationAreaTypeList); - this.showErrorMessage("扫描库位[" + this.code + "]是[" + - getLocationAreaTypeName(areaType) + "],需要的库区是[" + hint + "]") + this.showErrorMessage("扫描库位[" + this.fromLocationCode + "]是[" + + getLocationAreaTypeName(result.areaType) + "],需要的库区是[" + hint + "]") } } else { this.showErrorMessage("扫描库位[" + this.fromLocationCode + "]不可用", res => {