Browse Source

超节损计算

qiuenguang 1 năm trước cách đây
mục cha
commit
30b10fe721
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      application/api/controller/OrderSuperLoss.php

+ 1 - 0
application/api/controller/OrderSuperLoss.php

@@ -1921,6 +1921,7 @@ class OrderSuperLoss extends Api
             ->where($where)
             ->field($total_field)
             ->find();
+        $list['机检废'] = $total['total_waste'] - $total['材料废'] - $total['total_zjfp'];
         $list['total'] = $total;
         $this->success('成功',$list);