From a7231fe7bad424604cd698cffc9cbf3c345b4d08 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 13 一月 2026 13:58:38 +0800
Subject: [PATCH] 核磅录入铜杆提交时报错信息弹框展示
---
pages/wareHouse/nuclearScale/index.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pages/wareHouse/nuclearScale/index.vue b/pages/wareHouse/nuclearScale/index.vue
index 95d4042..8994848 100644
--- a/pages/wareHouse/nuclearScale/index.vue
+++ b/pages/wareHouse/nuclearScale/index.vue
@@ -355,6 +355,9 @@
if (that.form.productType == "TG01") {
that.$refs.saveForm.open(ScanCodeRecordList);
} else {
+ if (that.form.workshop == "ZF01") {
+ that.$refs.saveForm.open(ScanCodeRecordList);
+ }
that.queryCustomName(codeInfo, ScanCodeRecordList);
}
}
@@ -476,7 +479,8 @@
};
})
.catch((err) => {
- uni.hideLoading();
+ console.log("err", err);
+ // uni.hideLoading();
uni.showModal({
title: "鎻愮ず",
content: err.message || "缃戠粶寮傚父锛岃閲嶈瘯",
@@ -507,7 +511,7 @@
// this.ScanCodeRecord.unshift(Obj);
this.$refs.saveForm.cancel();
})
- .catch(() => {
+ .catch((err) => {
uni.hideLoading();
this.$refs.saveForm.cancel();
uni.showModal({
--
Gitblit v1.9.3