소스 검색

交货单生成逻辑调整

heteng 2 년 전
부모
커밋
f44ed894ca
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MicroServices/Business/Business.Application/ReplenishmentManagement/ReplenishmentAppService.cs

+ 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|没有需要生成的交货单";