|
@@ -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,
|
|
]);
|
|
]);
|
|
}
|
|
}
|
|
|
|
|