Browse Source

交货单生成逻辑调整

heteng 2 years ago
parent
commit
f44ed894ca

+ 1 - 1
MicroServices/Business/Business.Application/ReplenishmentManagement/ReplenishmentAppService.cs

@@ -6700,8 +6700,8 @@ namespace Business.Replenishment
                     item.tosechedqty = item.tosechedqty - sumQty;
                     newPlans.Add(item);
                 }
+                demandplans = newPlans;
             }
-            demandplans = newPlans;
             if (!demandplans.Any())
             {
                 Msg = "OK|没有需要生成的交货单";