From f147cfa91feec613eb304c78fecafdf43286034a Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 30 三月 2024 11:12:24 +0800 Subject: [PATCH] Merge branch 'wxw' --- Pda/View/HouseDataSetting/stockQuery.html | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Pda/View/HouseDataSetting/stockQuery.html b/Pda/View/HouseDataSetting/stockQuery.html index 8180398..28514ac 100644 --- a/Pda/View/HouseDataSetting/stockQuery.html +++ b/Pda/View/HouseDataSetting/stockQuery.html @@ -239,14 +239,23 @@ $("#SkuNo").val(""); $("#SkuName").val(""); $("#Standard").val(""); + + //鍏堟竻绌轰竴涓嬬瀛愬垪琛� + let trs = $("#tableBoxList tr") + let len = trs.length + //console.log("tr 鏁伴噺 + " + trs.length) + for(i=len - 1; i >=2; i--){ + trs[i].remove(); + } } $("#btnQuery").click(function(){ - if($('#LocatNo').val() == '' && $('#PalletNo').val() == '' && $('#SkuName').val() == ''){ - // layer.msg("璇疯緭鍏ユ煡璇㈡潯浠�", { - // icon: 2, - // time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - // }, function() {}); + if($('#LocatNo').val() == '' && $('#PalletNo').val() == ''){ + layer.msg("璇疯緭鍏ュ偍浣嶅湴鍧�鎴栨墭鐩樻潯鐮�", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function() {}); + clear(); return } var param = { -- Gitblit v1.8.0