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"); } }); }