Browse Source

报工工序

unknown 1 day ago
parent
commit
a7000961ac
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/api/controller/ReportingWork.php

+ 2 - 0
application/api/controller/ReportingWork.php

@@ -108,6 +108,7 @@ class ReportingWork extends Api
                 ->where('work_order', $params['workorder'])
                 ->where('big_process', $params['majorprocess'])
                 ->where('del_rq', null)
+                ->where('status', 0)
                 ->field('process_code as 工艺编号,process_name as 工艺名称,standard_hour as 标准工时,
                 standard_score as 标准工分,coefficient as 系数,remark as 备注')
                 ->order('process_code')
@@ -147,6 +148,7 @@ class ReportingWork extends Api
             ->where('part_code', $params['part_code'])
             ->where('big_process', '车缝')
             ->where('del_rq', null)
+            ->where('status', 0)
             ->field('process_code as 工艺编号,process_name as 工艺名称,standard_hour as 标准工时,
             standard_score as 标准工分,coefficient as 系数,remark as 备注')
             ->order('process_code')