From 7a68f3ec4673b1ac53816d78090cd06c798e909e Mon Sep 17 00:00:00 2001 From: lilili Date: Fri, 11 Aug 2023 13:55:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=88=90=E5=93=81=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs | 4 ++++ .../Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs index b435977..d25647b 100644 --- a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs +++ b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs @@ -1297,6 +1297,10 @@ where a.Status='1' and a.Type='1'"; { sql += " and f.BatchCode like '%" + queryParam["BatchCode"].ToString() + "%' "; } + if (!string.IsNullOrWhiteSpace(queryParam["WHCode"].ToString())) + { + sql += " and a.WHCode like '%" + queryParam["WHCode"].ToString() + "%' "; + } if (!string.IsNullOrWhiteSpace(queryParam["Container"].ToString())) { if (queryParam["Container"].ToString() == "1") 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 b94e5fb..3872ae7 100644 --- a/WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml +++ b/WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml @@ -1932,6 +1932,7 @@ InvCode: $("#txt_InvCode").val(), InvName: $("#txt_InvName").val(), BatchCode: $("#txt_BatchCode").val(), + WHCode: $("#txt_Location").val(), Container: $("#txt_Container :checked").val(), } $gridList.dataGrid({ @@ -2007,6 +2008,7 @@ InvCode: $("#txt_InvCode").val(), InvName: $("#txt_InvName").val(), BatchCode: $("#txt_BatchCode").val(), + WHCode: $("#txt_Location").val(), Container: $("#txt_Container :checked").val(), } $gridList.jqGrid('setGridParam', {