unknown 1 долоо хоног өмнө
parent
commit
0a2040e160

+ 9 - 9
application/api/controller/WorkOrderProcess.php

@@ -361,15 +361,15 @@ class WorkOrderProcess extends Api
         if (empty($params['big_process'])) {
             $this->error('大工艺不能为空');
         }
-        if (empty($params['standard_hour'])) {
-            $this->error('标准工时不能为空');
-        }
-        if (empty($params['standard_score'])) {
-            $this->error('标准公分不能为空');
-        }
-        if (empty($params['coefficient'])) {
-            $params['coefficient'] = 1;
-        }
+        // if (empty($params['standard_hour'])) {
+        //     $this->error('标准工时不能为空');
+        // }
+        // if (empty($params['standard_score'])) {
+        //     $this->error('标准公分不能为空');
+        // // }
+        // if (empty($params['coefficient'])) {
+        //     $params['coefficient'] = 'C';
+        // }
         if (empty($params['sys_id'])) {
             $this->error('系统人不能为空');
         }