Browse Source

工单超节损

qiuenguang 1 year ago
parent
commit
475c20344e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/OrderSuperLoss.php

+ 2 - 2
application/api/controller/OrderSuperLoss.php

@@ -1739,7 +1739,7 @@ class OrderSuperLoss extends Api
             `计量单位`,  
             DATE(`入仓日期`) AS warehousing_date,  
             `入仓数量` AS warehousing_num,  
-            SUM(DISTINCT `班组分摊计划损耗`) AS `计划损耗`,  
+            SUM(DISTINCT `计划损耗`) AS `计划损耗`,  
             `废品合计`,  
             `印件无形损` as intangible_loss,  
             `材料废`,  
@@ -1774,7 +1774,7 @@ class OrderSuperLoss extends Api
             `工序名称` AS Gy0_gxmc,  
             `印件及工序` AS Gy0_yjno,  
             `联数` AS Gy0_ls,  
-            SUM(`计划损耗`) AS Gy0_计划损耗,  
+            SUM(`班组分摊计划损耗`) AS Gy0_计划损耗,  
             `计划产量` AS Gy0_计划接货数,  
             SUM(`班组分摊无形损`) AS Gy0_无形损,  
             `CjsSl` AS loss,