From bd56622ae0a8840f72396de3efbb1170aa0245c7 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 10 三月 2021 09:34:49 +0800 Subject: [PATCH] # --- src/main/webapp/views/pda/stockIn.html | 3 +++ src/main/webapp/views/pda/comb.html | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html index bcb0e6b..64fb14f 100644 --- a/src/main/webapp/views/pda/comb.html +++ b/src/main/webapp/views/pda/comb.html @@ -146,10 +146,10 @@ window.onload = function(){document.getElementById("code").focus();} function findCode(el) { - if (el.value.length === 7) { - $('#mat-btn').focus(); - getMat(); - } + // if (el.value.length === 7) { + // $('#mat-btn').focus(); + // getMat(); + // } } var matCodeLayerIdx; @@ -205,10 +205,10 @@ // document.getElementById("code").focus(); return; } - if (zpallet.length !== 7) { - tips("鏉$爜蹇呴』涓�7浣�", true); - return; - } + // if (zpallet.length !== 7) { + // tips("鏉$爜蹇呴』涓�7浣�", true); + // return; + // } if (matData.length === 0) { tips("璇锋彁鍙栫墿鏂�", true); return; diff --git a/src/main/webapp/views/pda/stockIn.html b/src/main/webapp/views/pda/stockIn.html index 08c1b83..af79e22 100644 --- a/src/main/webapp/views/pda/stockIn.html +++ b/src/main/webapp/views/pda/stockIn.html @@ -151,6 +151,9 @@ matData = res.data; tableIns.reload({data: res.data}); $('#node').focus(); + } else { + matData = []; + tableIns.reload({data: res.data}); } } else if (res.code === 403) { top.location.href = baseUrl + "/pda"; -- Gitblit v1.9.1