ソースを参照

资源检查计算。

tangdi 2 年 前
コミット
bf99d6521e

+ 2 - 2
MicroServices/Business/Business.Application/ResourceExamineManagement/CalcBomViewAppService.cs

@@ -199,7 +199,7 @@ namespace Business.ResourceExamineManagement
                 level1Dto.sqty = level1Dto.sqty < 0 ? 0 : level1Dto.sqty;
                 level1Dto.lack_qty = level1Dto.needCount - level1Dto.sqty;
                 level1Dto.lack_qty = level1Dto.lack_qty < 0 ? 0 : level1Dto.lack_qty;
-                level1Dto.needCount = level1Dto.lack_qty;
+                //level1Dto.needCount = level1Dto.lack_qty;
                 if (level1Dto.sqty != 0)
                 {
                     if (level1Dto.lack_qty > 0)
@@ -275,7 +275,7 @@ namespace Business.ResourceExamineManagement
                 {
                     //占用不够,占用后减少缺料数量
                     level1Dto.lack_qty -= moo_qty;
-                    level1Dto.needCount = level1Dto.lack_qty;
+                    //level1Dto.needCount = level1Dto.lack_qty;
                     //平铺需要数量
                     CaclMaterialShortage(returnlist);
                     //先设定在制的齐套时间