From 5418a5c0bc29235f4ea2bc0e7ee23b424366aa0b Mon Sep 17 00:00:00 2001 From: yuyou_x <2336760928@qq.com> Date: 星期二, 27 二月 2024 10:27:55 +0800 Subject: [PATCH] 1 --- Pda/View/AsnSetting/productEnterQuantity.html | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Pda/View/AsnSetting/productEnterQuantity.html b/Pda/View/AsnSetting/productEnterQuantity.html index 3f7a994..63d7c5f 100644 --- a/Pda/View/AsnSetting/productEnterQuantity.html +++ b/Pda/View/AsnSetting/productEnterQuantity.html @@ -1085,22 +1085,22 @@ }; console.log(Id) console.log(param) - // sendData(IP + "/PdaAsn/DelBoxInfo", param, 'post', function (res) { - // if (res.code == 0) { //鎴愬姛 - // layer.msg(res.msg, { - // icon: 1, - // time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - // }); - // elem.remove() - // setOrderGoods(); - // refreshTable(); - // } else { //涓嶆垚鍔� - // layer.msg(res.msg, { - // icon: 2, - // time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 - // }, function () { }); - // } - // }); + sendData(IP + "/PdaAsn/DelPalletBind", param, 'post', function (res) { + if (res.code == 0) { //鎴愬姛 + layer.msg(res.msg, { + icon: 1, + time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); + elem.remove() + setOrderGoods(); + refreshTable(); + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + } + }); } }) }) -- Gitblit v1.8.0