Browse Source

期初新增条码删除功能

master
Juj 10 months ago
parent
commit
3b2985e7a3
  1. 2
      WMS-BS/NFine.Application/WMS/HomeWorkApp.cs
  2. 8
      WMS-BS/NFine.Web/Areas/OMAY/Views/OMAYLotDataGeneration/LotDataGenerationIndex.cshtml

2
WMS-BS/NFine.Application/WMS/HomeWorkApp.cs

@ -461,7 +461,7 @@ namespace NFine.Application.WMS
string msg = ""; string msg = "";
keyValue = keyValue.Substring(1, keyValue.Length - 2); keyValue = keyValue.Substring(1, keyValue.Length - 2);
string sqlSeach = string.Format(@" select LotNo from dbo.ICSWareHouseLotInfoLog where TransType<>'1' and LotNo in({0}) and WorkPoint in ('{1}')", keyValue.TrimEnd(','), WorkPoint);
string sqlSeach = string.Format(@" select LotNo from dbo.ICSWareHouseLotInfoLog where BusinessCode<>'39' and LotNo in({0}) and WorkPoint in ('{1}')", keyValue.TrimEnd(','), WorkPoint);
DataTable dtASN = SqlHelper.GetDataTableBySql(sqlSeach); DataTable dtASN = SqlHelper.GetDataTableBySql(sqlSeach);
if (dtASN != null && dtASN.Rows.Count > 0) if (dtASN != null && dtASN.Rows.Count > 0)
{ {

8
WMS-BS/NFine.Web/Areas/OMAY/Views/OMAYLotDataGeneration/LotDataGenerationIndex.cshtml

@ -49,10 +49,10 @@
sortorder: "desc", sortorder: "desc",
viewrecords: true, viewrecords: true,
multiselect: true, multiselect: true,
beforeSelectRow: function (rowid, e) {
$("#gridList").jqGrid('resetSelection');
return (true);
},
//beforeSelectRow: function (rowid, e) {
// $("#gridList").jqGrid('resetSelection');
// return (true);
//},
}); });
$("#warehouse a.btn-default").click(function () { $("#warehouse a.btn-default").click(function () {

Loading…
Cancel
Save