zck 1 сар өмнө
parent
commit
09092ff2fa

+ 1 - 3
application/api/controller/Manufacture.php

@@ -455,9 +455,7 @@ class Manufacture extends Api
             }else{
                 $newTime = $lastTime['sj2'];
             }
-            if (strtotime($newTime) >= strtotime($date . ' +2 month')) {
-                $this->error('计划开工时间超过规定时间');
-            }
+
             $row = \db('工单_工艺资料')
                 ->where($where)
                 ->field('rtrim(Gy0_计划接货数) as 计划接货数,rtrim(Gy0_小时产能) as 小时产能,rtrim(Gy0_辅助工时) as 辅助工时')