|
|
@ -427,7 +427,8 @@ class FixCarController extends BaseController |
|
|
|
$log_info->remark = '提交到维修调度'; |
|
|
|
$log_info->remark = '提交到维修调度'; |
|
|
|
} |
|
|
|
} |
|
|
|
if($status == 2) { |
|
|
|
if($status == 2) { |
|
|
|
$log_info->remark = '提交到司机接车'; |
|
|
|
// $log_info->remark = '提交到司机接车'; |
|
|
|
|
|
|
|
$log_info->remark = '提单完成'; |
|
|
|
} |
|
|
|
} |
|
|
|
if($status == 3) { |
|
|
|
if($status == 3) { |
|
|
|
$log_info->remark = '提交到前台派工'; |
|
|
|
$log_info->remark = '提交到前台派工'; |
|
|
@ -443,11 +444,11 @@ class FixCarController extends BaseController |
|
|
|
var_dump($log_info->errors); |
|
|
|
var_dump($log_info->errors); |
|
|
|
} |
|
|
|
} |
|
|
|
//如果是客户自上门,则直接到前台派工 |
|
|
|
//如果是客户自上门,则直接到前台派工 |
|
|
|
if($status == 2) { |
|
|
|
// if($status == 2) { |
|
|
|
if($receive_type == '客户自送') { |
|
|
|
// if($receive_type == '客户自送') { |
|
|
|
$status = 3; |
|
|
|
// $status = 3; |
|
|
|
} |
|
|
|
// } |
|
|
|
} |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
$row->status = $status; |
|
|
|
$row->status = $status; |
|
|
|
|
|
|
|
|
|
|
@ -473,7 +474,6 @@ class FixCarController extends BaseController |
|
|
|
exit; |
|
|
|
exit; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$result['success'] = true; |
|
|
|
$result['success'] = true; |
|
|
|
$result['msg'] = '保存成功'; |
|
|
|
$result['msg'] = '保存成功'; |
|
|
|
$result['fix_id'] = $row->id; |
|
|
|
$result['fix_id'] = $row->id; |
|
|
|