From 46de11510807648d990b3ad77354ca556da5893a Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期四, 04 九月 2025 08:53:27 +0800
Subject: [PATCH] 1.库位变更bug

---
 H5/Js/Kwcx.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/H5/Js/Kwcx.js b/H5/Js/Kwcx.js
index fb2eb64..0c992c3 100644
--- a/H5/Js/Kwcx.js
+++ b/H5/Js/Kwcx.js
@@ -57,6 +57,9 @@
                         that.barInfoList = json.data.tbBarInfoList;
                     } else {
                         that.barInfoList = [];
+                        that.modeInfo.deptSectionCode = '';
+                        that.$toast.fail(json.message);
+                        that.$playSound('error');
                     }
                     that.isLoading = false;
                 })
@@ -77,6 +80,7 @@
                     if (json.status == 0) {
                         Object.assign(that.scanInfo, json.data.tbBarInfo);
                     } else {
+                        that.scanInfo.barcode = '';
                         that.$toast.fail(json.message);
                         that.$playSound('error');
                     }
@@ -151,6 +155,10 @@
                         that.tbItemInfo = json.data.tbItemInfo;
                     } else {
                         that.tbItemInfo = [];
+                        that.itemNo.barCode = '';
+                        that.itemNo.itemNo = '';
+                        that.$toast.fail(json.message);
+                        that.$playSound('error');
                     }
                     that.isLoading = false;
                 })

--
Gitblit v1.9.3