Wms/WMS.BLL/BllQualityServer/QualityInspectServer.cs
@@ -107,6 +107,12 @@ { throw new Exception("批次号不可为空,请核查!"); } //验证批次号是否为当前库存中已有批次 var lot = Db.Queryable<DataStock>().Where(w => w.LotNo == model.LotNo).ToList(); if (lot.Count == 0) { throw new Exception("当前库存中无此批号,请核查!"); } int isTui = 0; //验证入库单号是否为空 if (!string.IsNullOrEmpty(model.ASNNo))