From 96785ebcfe1bc9210f3d9d4056f4ec29fb60d810 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期四, 02 四月 2026 10:58:22 +0800
Subject: [PATCH] 1

---
 WebTM/views/Baseset/基础资料/saomazutuo_xiaowei.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/saomazutuo_xiaowei.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/saomazutuo_xiaowei.html"
index 91931a0..b2ce05f 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/saomazutuo_xiaowei.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/saomazutuo_xiaowei.html"
@@ -482,6 +482,9 @@
                         success: function (res) {
                             if (res.count == 1) {
                                 sBarCode = res.data[0].HCaseCode;
+                                hform.HBarCode_middle.push(res.data[0].HCaseCode);
+                            } else {
+                                layer.msg("闈炰腑绠辩爜锛屼笖鏈尮閰嶅埌涓鐮佷俊鎭紒鎵弿鏉$爜锛�" + sBarCode)
                             }
                         },
                         error: function (res) {
@@ -490,12 +493,14 @@
                             return;
                         }
                     });
+                } else {
+                    hform.HBarCode_middle.push(sBarCode);
                 }
                 if (!sBarCode) {
                     layer.msg('鏉$爜涓嶈兘涓虹┖锛岃鎵弿鏉$爜锛�', { icon: 2 });
                     return;
                 }
-                hform.HBarCode_middle.push(sBarCode);
+               
                 console.log(hform.HBarCode_middle)
                 console.log(sBarCode.toString().charAt(sBarCode.length - 1))
                 if (sBarCode.toString().charAt(sBarCode.length - 1) != "W") {

--
Gitblit v1.9.1