xusc 1 year ago
parent
commit
7c5fe2b218
  1. 16
      WMS-BS/NFine.Application/OMAY/OMAYApsApp.cs
  2. 11
      WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml

16
WMS-BS/NFine.Application/OMAY/OMAYApsApp.cs

@ -112,16 +112,12 @@ where 1=1
}
}
//if (!string.IsNullOrWhiteSpace(queryParam["SSName"].ToString()))
//{
// sql += " and a.DepName ='"+ queryParam["SSName"].ToString() + "' and a.APSStatus='Y' ";
// sql = sql.Replace("<1>", " ");
//}
//else
//{
// sql = sql.Replace("<1>", "and a.APSStatus is null ");
//}
if (!string.IsNullOrWhiteSpace(queryParam["MoCode"].ToString()))
{
sql += " and a.MOCode like '%" + queryParam["MoCode"].ToString() + "%' ";
}
}
//if (NFine.Code.OperatorProvider.Provider.GetCurrent().RoleEnCode != "admin")
//{

11
WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml

@ -112,6 +112,7 @@
ItemName: $("#txt_ItemName").val(),
SSName: $("#txt_SSName").val(),
SSName2: $("#txt_SSName2").val(),
MoCode: $("#txt_MoCode").val(),
}
var $gridList = $("#gridList");
@ -306,6 +307,7 @@
ItemName: $("#txt_ItemName").val(),
SSName: $("#txt_SSName").val(),
SSName2: $("#txt_SSName2").val(),
MoCode: $("#txt_MoCode").val(),
};
// that.loadGrid(queryJson);
@ -491,7 +493,12 @@
<div class="search">
<table>
<tr>
<td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_MoCode">&nbsp;&nbsp;&nbsp;&nbsp;生产工单</label>:</td>
<td class="HideItems">
<div class="input-group HideItems">
<input id="txt_MoCode" type="text" class="form-control HideItems" style="width: 100px;">
</div>
</td>
<td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_ItemCode">&nbsp;&nbsp;&nbsp;&nbsp;存货编码</label>:</td>
<td class="HideItems">
<div class="input-group HideItems">
@ -521,7 +528,7 @@
</select>
</div>
</td>
<td class="HideItems" style="text-align:right;"><label id="lbl_SSName2" class="lglabel HideItems" for="txt_SSName">未下发产线</label>:</td>
<td class="HideItems" style="text-align:right;"><label id="lbl_SSName2" class="lglabel HideItems" for="txt_SSName">未下发产线</label>:</td>
<td class="HideItems">
<div class="input-group HideItems">
@*<input id="txt_SSName" type="text" class="form-control HideItems" style="width: 100px;">*@

Loading…
Cancel
Save