From 83c2e75757034d753d8e69a24e8713e3b84d266a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 27 五月 2021 15:31:29 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pda/pakin.html      |    2 +-
 src/main/webapp/views/pda/stockCheck.html |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/views/pda/pakin.html b/src/main/webapp/views/pda/pakin.html
index e431c72..9cebcb0 100644
--- a/src/main/webapp/views/pda/pakin.html
+++ b/src/main/webapp/views/pda/pakin.html
@@ -169,7 +169,7 @@
             method: 'POST',
             success: function (res) {
                 if (res.code === 200) {
-                    if (res.data != null) {
+                    if (res.data != null && res.data.length > 0) {
                         $('#node-ok').show();
                         $("#mat-btn").focus();
                     } else {
diff --git a/src/main/webapp/views/pda/stockCheck.html b/src/main/webapp/views/pda/stockCheck.html
index 0c7476c..e25ef7b 100644
--- a/src/main/webapp/views/pda/stockCheck.html
+++ b/src/main/webapp/views/pda/stockCheck.html
@@ -68,7 +68,7 @@
 <header>
     <div class="layui-input-inline" style="margin-top: 0px">
         <label class="layui-form-label">璐т綅</label>
-        <input class="layui-input" id="locNo" onkeyup="find(this)" placeholder="鎵爜 / 杈撳叆" autocomplete="off" style="width: 75%; height: 40px; margin-right: 0;">
+        <input class="layui-input" id="locNo" onkeyup="find(this)" placeholder="鎵爜 / 杈撳叆" autocomplete="off" style="width: 65%; height: 40px; margin-right: 0;float: left">
         <span id="node-ok"></span>
     </div>
     <div style="margin: 5px 5px">
@@ -174,7 +174,7 @@
             method: 'GET',
             success: function (res) {
                 if (res.code === 200) {
-                    if (res.data != null) {
+                    if (res.data != null && res.data > 0) {
                         locDetlData = [];
                         initTableData(res.data);
                         $('#node-ok').show();

--
Gitblit v1.9.1