From e1749547c76a5d8bae94e47d38d4d75b481610c1 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 09 九月 2021 10:51:15 +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