Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
@@ -1789,9 +1789,9 @@ } //根据单据号获取入库单总单 var notice = Db.Queryable<BllArrivalNotice>().First(a => a.IsDel == "0" && a.ASNNo == model.AsnNo); if (notice.Status != "0" && notice.Status != "1") if (notice.Status != "0" && notice.Status != "1" && notice.Status != "2") { throw new Exception("-1:入库单状态不是等待执行或执行完成!"); throw new Exception("-1:该单据已关单!"); } if (string.IsNullOrEmpty(model.LotNo)) {