Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs
@@ -149,6 +149,10 @@ } var labelQty = Db.Queryable<BllBoxInfo>().Where(m => m.IsDel == "0" && m.ASNDetailNo == id).Sum(m => m.Qty + (m.SamplingQty == null? 0: m.SamplingQty)); if (labelQty == null) { labelQty = 0; } var qty = detail.Qty - labelQty; if (qty<0) { @@ -607,6 +611,8 @@ IsBelt = detailModel.IsBelt, SupplierLot = detailModel.SupplierLot, Status = "0", IsSampling = "0", InspectStatus = "0", Lot1 = detailModel.Lot1, Lot2 = detailModel.Lot2, UDF1 = detailModel.UDF1,