From 7145850d78f4eb253fc89862a9ba5a24e823fac1 Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期一, 01 九月 2025 11:28:32 +0800
Subject: [PATCH] 库位查询前台增加提示

---
 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