Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs
@@ -328,11 +328,15 @@ } if (model.Type != "7") { if (detailModel.LotNo.Length != 10) if (!TypeLot.Contains(model.Type)) { strMessage = "-1:进厂编号位数长度有误;"; continue; if (detailModel.LotNo.Length != 10) { strMessage = "-1:进厂编号位数长度有误;"; continue; } } } if (model.Type == "1" && string.IsNullOrWhiteSpace(detailModel.SupplierLot)) //采购到货单原厂批号(供货批次)不能为空