From 17eba07e01297723b4d0c565616fc8f10bc75bbf Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@DESKTOP-5BIMHQ3> Date: 星期五, 02 二月 2024 16:26:33 +0800 Subject: [PATCH] 修改bug --- Pda/View/AsnSetting/productEnter.html | 6 +++--- Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Pda/View/AsnSetting/productEnter.html b/Pda/View/AsnSetting/productEnter.html index 47ee0eb..4f60afb 100644 --- a/Pda/View/AsnSetting/productEnter.html +++ b/Pda/View/AsnSetting/productEnter.html @@ -508,11 +508,11 @@ time: 0, //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 btn: ['鍒犻櫎', '鍙栨秷'], yes: function () { - + console.log(Id); var param = { - Id: Id, + boxNo: res.data[i].BoxNo, }; - sendData(IP + "/PdaAsn/DelBoxInfo", param, 'post', function (res) { + sendData(IP + "/BllAsn/DelBindBoxInfo", param, 'get', function (res) { if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, diff --git a/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs b/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs index 7affefe..257b33d 100644 --- a/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs +++ b/Wms/WMS.BLL/BllAsnServer/PalletBindServer.cs @@ -359,8 +359,11 @@ foreach (var item in boxInfos) { //鍒犻櫎瑙g粦绠辨敮淇℃伅 - item.ASNNo = ""; - item.ASNDetailNo = null; + if (item.Origin != "WMS") + { + item.ASNNo = ""; + item.ASNDetailNo = null; + } item.BindNo = null; item.PalletNo = ""; item.Status = "0"; -- Gitblit v1.8.0