From d677b5fd388942b0371bfca442e6df9320237299 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 14 二月 2025 08:34:51 +0800
Subject: [PATCH] 1.成品入库功能开发完成 2.生产报工优化

---
 H5/Js/Scbg.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/H5/Js/Scbg.js b/H5/Js/Scbg.js
index d308bec..d85e8e6 100644
--- a/H5/Js/Scbg.js
+++ b/H5/Js/Scbg.js
@@ -92,7 +92,7 @@
             this.barcode = value;
 
             var that = this;
-            that.isLoading = true;
+            
 
             if (!that.userInfo.loginAccount) {
                 this.$toast.fail("璇烽噸鏂版鏌ョ櫥褰曠姸鎬�");
@@ -106,9 +106,10 @@
 
             if (!that.stafId) {
                 that.$toast.fail("鍛樺伐涓嶅厑璁镐负绌�");
+                return;
             }
 
-
+            that.isLoading = true;
             that.AxiosHttp("post", 'MesWorkProd/ScanWork', {
                 userNo: that.userInfo.loginAccount,
                 itemBarcode: that.barcode,

--
Gitblit v1.9.3