From 6acdfc2c867d8fde898a4cc67bdefa2b97f03e3e Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 09 七月 2025 10:58:54 +0800
Subject: [PATCH] 1.条码入库前拆分优化 2.其他入库优化

---
 H5/Js/Sctl.js |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/H5/Js/Sctl.js b/H5/Js/Sctl.js
index 56f2cbb..f798b1f 100644
--- a/H5/Js/Sctl.js
+++ b/H5/Js/Sctl.js
@@ -17,7 +17,7 @@
             depot: {},
             show: false,
             actions: [],
-            ItemTblDetail:[]
+            ItemDetail:[]
         }
     },
     mounted() {
@@ -81,13 +81,13 @@
                 .then(function (res) {
                     var json = res;
                     if (json.status == 0) {
-                        that.ItemTblDetail = json.data.tbBillList;
+                        that.ItemDetail = json.data.tbBillList;
                         that.$refs.sectionCode.focus();
                     }
                     else {
                         that.$toast.fail(json.message);
                         that.$refs.billNo.focus();
-                        that.ItemTblDetail = null;
+                        that.ItemDetail = null;
                         that.billNo = null;
                     }
                     that.isLoading = false;
@@ -96,7 +96,7 @@
                     that.isLoading = false;
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
                     that.$refs.billNo.focus();
-                    that.ItemTblDetail = null;
+                    that.ItemDetail = null;
                     that.billNo = null;
                     console.log(error);
                 });
@@ -180,6 +180,9 @@
                         that.itemNo = json.data.tbBillList.itemNo;
                         that.sms = json.data.tbBillList.num;
                         that.$notify({ type: 'success', message: '鎵弿鎴愬姛' });
+                        that.getMesItemTblDetailByBillNo();
+                        that.$refs.barcode.focus();
+                        that.barcode = null;
                     }
                     else {
                         that.$toast.fail(json.message);

--
Gitblit v1.9.3