From e09cd73da898d33a58eb533802aab352e3a32be0 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期四, 14 八月 2025 17:36:06 +0800
Subject: [PATCH] 领料模块

---
 H5/Js/Scllhb.js |   18 +++++++++---------
 H5/Scllhb.aspx  |   13 ++-----------
 2 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/H5/Js/Scllhb.js b/H5/Js/Scllhb.js
index 455932c..75cb99d 100644
--- a/H5/Js/Scllhb.js
+++ b/H5/Js/Scllhb.js
@@ -37,8 +37,8 @@
         getModel() {
             var that = this;
             that.isLoading = true;
-            that.AxiosHttp("post", 'Womdaa/GetItemsByDaa001', {
-                daa001: that.modeInfo.daa001,
+            that.AxiosHttp("post", 'Womdaahb/GetItemsByDaa001', {
+                hbNo: that.modeInfo.daa001,
                 userName: that.userInfo.loginAccount
             }, false)
                 .then(function (res) {
@@ -75,7 +75,7 @@
 
             var that = this;
             if (that.modeInfo.daa001.length <= 0) {
-                that.$toast.fail("宸ュ崟鍗曞彿涓嶈兘涓虹┖锛�");
+                that.$toast.fail("姹囨姤鍗曞彿涓嶈兘涓虹┖锛�");
                 return;
             }
             if (that.scanInfo.barcode.length * 1 <= 0) {
@@ -84,8 +84,8 @@
             }
 
             that.isLoading = true;
-            that.AxiosHttp("post", 'Womdaa/ScanCode', {
-                daa001: that.modeInfo.daa001,
+            that.AxiosHttp("post", 'Womdaahb/ScanCode', {
+                hbNo: that.modeInfo.daa001,
                 userName: that.userInfo.loginAccount,
                 barcode: that.scanInfo.barcode,
             }, false)
@@ -151,7 +151,7 @@
 
             that.isLoading = true;
             that.AxiosHttp("post", 'Womdaa/ScanCodeCF', {
-                daa001: that.modeInfo.daa001,
+                hbNo: that.modeInfo.daa001,
                 userName: that.userInfo.loginAccount,
                 barcode: that.scanInfo.barcode,
                 Num: that.scanInfo.splitNum,
@@ -340,10 +340,10 @@
             console.log(item);
             // 姝e垯鍖归厤绗竴涓柟鎷彿鍐呭
             const regex = /\[([^\]]+)\]/;
-            const matchResult = item.name.match(regex);
+            const matchResult = item.name;
 
-            if (matchResult && matchResult[1]) {
-                this.modeInfo.daa001 = matchResult[1]; // PPBOM00000088-1
+            if (matchResult) {
+                this.modeInfo.daa001 = matchResult; // PPBOM00000088-1
                 console.log('鎻愬彇鐨凞AA001:', this.modeInfo.daa001);
             } else {
                 this.$toast.fail('宸ュ崟鍙锋牸寮忓紓甯�');
diff --git a/H5/Scllhb.aspx b/H5/Scllhb.aspx
index fd67a19..9a91b8e 100644
--- a/H5/Scllhb.aspx
+++ b/H5/Scllhb.aspx
@@ -32,22 +32,13 @@
                 <van-field 
                     ref="daa001"
                     v-model="modeInfo.daa001"
-                    label="宸ュ崟鍗曞彿"
+                    label="鍚堝苟鍗曞彿"
                     clearable 
                     placeholder="璇锋壂鐮�"
                     :right-icon-size="19"
                     v-focus.noKeyboard
                     @keyup.enter.native="getModel" 
                     autofocus="true">
-                </van-field>
-                
-                <van-field
-                    v-model="modeInfo.planNo"
-                    label="浠诲姟鍗曞彿"
-                    clearable 
-                    :right-icon-size="19"
-                    placeholder="浠诲姟鍗曞彿"
-                    disabled>
                 </van-field>
                 
                 <van-field
@@ -138,5 +129,5 @@
 </asp:Content>
 
 <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
-    <script src="Js/Scll.js?<%=123336162 %>"></script>
+    <script src="Js/Scllhb.js?<%=1234 %>"></script>
 </asp:Content>
\ No newline at end of file

--
Gitblit v1.9.3