Wms/WMS.BLL/SysServer/MaterialsServer.cs
@@ -150,7 +150,7 @@ if (count > 0) { throw new Exception("物料编码重复"); return 2; } @@ -209,14 +209,6 @@ //捕获异常 try { int count = GetMateByNo(matedto.SkuNo); if (count > 0) { throw new Exception("物料编码重复"); } if (matedto.AdventTime > 365 && matedto.AdventTime < 30) { return 2;