Browse Source

版本大修改

cqp 2 months ago
parent
commit
92486fff9e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Service/ApplyOrderService.php

+ 2 - 1
app/Service/ApplyOrderService.php

@@ -1897,7 +1897,8 @@ class ApplyOrderService extends Service
         //更新派工单完工数量----------------------------------------------------
         //更新派工单完工数量----------------------------------------------------
         foreach ($update as $id => $num){
         foreach ($update as $id => $num){
             DispatchSub::where('id', $id)->update([
             DispatchSub::where('id', $id)->update([
-                'finished_num' => $num
+                'finished_num' => $num,
+                'wg_status' => 1,
             ]);
             ]);
         }
         }