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

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

diff --git a/src/main/webapp/views/pda/stockCheck.html b/src/main/webapp/views/pda/stockCheck.html
index e25ef7b..81462bd 100644
--- a/src/main/webapp/views/pda/stockCheck.html
+++ b/src/main/webapp/views/pda/stockCheck.html
@@ -174,9 +174,9 @@
             method: 'GET',
             success: function (res) {
                 if (res.code === 200) {
-                    if (res.data != null && res.data > 0) {
-                        locDetlData = [];
-                        initTableData(res.data);
+                    locDetlData = [];
+                    initTableData(res.data);
+                    if (res.data != null && res.data.length > 0) {
                         $('#node-ok').show();
                     } else {
                         $('#node-ok').hide();

--
Gitblit v1.9.1