diff --git a/common/models/FixCarT.php b/common/models/FixCarT.php index 368dc4a..3956b56 100644 --- a/common/models/FixCarT.php +++ b/common/models/FixCarT.php @@ -179,7 +179,8 @@ class FixCarT extends \common\models\Base $result = '维修调度'; break; case 2: - $result = '司机接车'; +// $result = '司机接车'; + $result = '提单完成'; break; case 3: $result = '前台派工'; @@ -197,7 +198,7 @@ class FixCarT extends \common\models\Base $result = '财务结算'; break; default: - $result = ''; + $result = '待处理'; } return $result; } diff --git a/frontend/controllers/FixCarController.php b/frontend/controllers/FixCarController.php index 6630309..d34cf3b 100644 --- a/frontend/controllers/FixCarController.php +++ b/frontend/controllers/FixCarController.php @@ -427,7 +427,8 @@ class FixCarController extends BaseController $log_info->remark = '提交到维修调度'; } if($status == 2) { - $log_info->remark = '提交到司机接车'; +// $log_info->remark = '提交到司机接车'; + $log_info->remark = '提单完成'; } if($status == 3) { $log_info->remark = '提交到前台派工'; @@ -443,11 +444,11 @@ class FixCarController extends BaseController var_dump($log_info->errors); } //如果是客户自上门,则直接到前台派工 - if($status == 2) { - if($receive_type == '客户自送') { - $status = 3; - } - } +// if($status == 2) { +// if($receive_type == '客户自送') { +// $status = 3; +// } +// } } $row->status = $status; @@ -473,7 +474,6 @@ class FixCarController extends BaseController exit; } - $result['success'] = true; $result['msg'] = '保存成功'; $result['fix_id'] = $row->id;