From 70256bc20191d6d8a9a61775580187e98b173d25 Mon Sep 17 00:00:00 2001 From: lilili Date: Thu, 3 Aug 2023 15:38:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs | 7 +++++-- .../Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml | 5 ++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs index de0fe7e..c801641 100644 --- a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs +++ b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs @@ -3560,8 +3560,11 @@ CAST( (a.Quantity-ISNULL(c.LOTQTY,0)) as DECIMAL(18,{0})) as thisCreateQty,isnu { sqlString = $@" UPDATE ICSMOApplyNegDetail SET EATTRIBUTE='1' WHERE ApplyNegCode in ({sb});"; } - if (!sqlString.IsEmpty()) { } - SqlHelper.CmdExecuteNonQueryLi(sqlString.ToString()); + if (!sqlString.IsEmpty()) + { + SqlHelper.CmdExecuteNonQueryLi(sqlString.ToString()); + } + } return ""; } diff --git a/WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml b/WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml index 2b39622..b94e5fb 100644 --- a/WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml +++ b/WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml @@ -3387,7 +3387,7 @@ url: "/WMS/WMSCreateItemLot/DocUpLoadToHG?DocNoList=" + DocNOList + "&Type=" + Type, async: false, success: function () { - //$.currentWindow().$("#gridList").trigger("reloadGrid"); + $.currentWindow().$("#gridList").trigger("reloadGrid"); } }) } @@ -3438,8 +3438,7 @@ } else { $.modalAlert(data.message, data.state); } - $.currentWindow().$("#gridList").trigger("reloadGrid"); - ; + $.currentwindow().$("#gridlist").trigger("reloadgrid"); } }); }