chengsc
2024-10-24 716b29fea5945ca7dc4419d9f1f980c379312b32
Wms/WMS.BLL/BllQualityServer/QualityInspectServer.cs
@@ -111,10 +111,10 @@
            if (!string.IsNullOrEmpty(model.ASNNo))
            {
                //查询是否为退货入库单据
                var Arrival = Db.Queryable<BllArrivalNotice>().First(a => a.IsDel == "0" && a.ASNNo == model.ASNNo && a.Type == "3");
                var Arrival = Db.Queryable<BllArrivalNotice>().First(a => a.IsDel == "0" && a.ASNNo == model.ASNNo && (a.Type == "3" || a.Type == "4"));
                if (Arrival == null)
                {
                    throw new Exception("只有入库单据为退货入库单可输入 入库单号,请核查!");
                    throw new Exception("只有入库单据为退货入库单可输入入库单号,请核查!");
                }
                //获取入库单明细