From 46316be02efd767ad2dfb864158e942b9a67c382 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 23 三月 2021 16:51:59 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pda/stockCheck.html |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/main/webapp/views/pda/stockCheck.html b/src/main/webapp/views/pda/stockCheck.html
index efda29a..3fc9f20 100644
--- a/src/main/webapp/views/pda/stockCheck.html
+++ b/src/main/webapp/views/pda/stockCheck.html
@@ -95,7 +95,7 @@
 </div>
 </body>
 <script>
-    window.onload = function(){document.getElementById("code").focus();}
+    window.onload = function(){document.getElementById("locNo").focus();}
     var tableIns;
     var countLayer;
     layui.use(['table','laydate', 'form'], function() {
@@ -159,7 +159,7 @@
             }
         }
         tableIns.reload({data: matData});
-        $("#comb-btn").focus();
+        // $("#comb-btn").focus();
     }
 
 
@@ -170,14 +170,13 @@
         if (isEmpty(el.value)) {
             return;
         }
-        var billNo = el.value.split(",")[0].split("=")[1];
         $.ajax({
-            url: baseUrl + "/mobile/bill/query/auth",
+            url: baseUrl + "/locDetl/queryDetl/auth",
             headers: {'token': localStorage.getItem('token')},
             data: {
-                billNo: billNo
+                uuid: el.value
             },
-            method: 'POST',
+            method: 'GET',
             success: function (res) {
                 if (res.code === 200) {
                     if (res.data != null) {
@@ -324,8 +323,8 @@
             $("#comb-btn").focus();
             comb();
         } else if (key === 113) {
-            $("#code").val("");
-            $("#code").focus();
+            $("#locNo").val("");
+            $("#locNo").focus();
         }
     }
 </script>

--
Gitblit v1.9.1