From 4925b0cdb74fad38338fd3da689790fd47cfcb9c Mon Sep 17 00:00:00 2001
From: zhang_li
Date: Sun, 27 Apr 2025 10:13:27 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=B7=E5=8F=A3=E5=93=81=E8=B7=B3=E8=BD=AC?=
=?UTF-8?q?=E8=AF=A6=E6=83=85=E6=89=AB=E6=8F=8F=E4=B8=8D=E6=88=90=E5=8A=9F?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/productReceipt/job/productReceiptDetail.vue | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/pages/productReceipt/job/productReceiptDetail.vue b/src/pages/productReceipt/job/productReceiptDetail.vue
index 9eec34a6..aa012673 100644
--- a/src/pages/productReceipt/job/productReceiptDetail.vue
+++ b/src/pages/productReceipt/job/productReceiptDetail.vue
@@ -255,9 +255,7 @@
that.toLocationCode = that.subList[0].toLocationCode
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes)
that.detailSource = getDataSource(that.subList)
- if (that.scanMessage) {
- this.$refs.scanPopup.simulateScan(that.scanMessage);
- }
+
//获取管理模式,封装参数
var itemCodes = []
this.detailSource.forEach(item => {
@@ -279,6 +277,9 @@
}
})
+ if (that.scanMessage) {
+ this.$refs.scanPopup.simulateScan(that.scanMessage);
+ }
}
})
} else {
@@ -313,7 +314,6 @@
var qty = label.qty;
var itemCode = label.itemCode;
-
var detail = this.detailSource.find(r => r.itemCode == itemCode);
if (detail == undefined) {
this.showErrorMessage("物料号【" + itemCode + "】不在列表中")
@@ -380,6 +380,7 @@
this.showErrorMessage("包装[" + packingNumber + "]" + "批次[" + batch + "]不在任务列表中")
}
}
+ uni.hideLoading()
}
},