去除维修调度后续流程,直接完成提单

dev
zhaocheng 5 years ago
parent 099be1c84f
commit 417679cf37
  1. 5
      common/models/FixCarT.php
  2. 14
      frontend/controllers/FixCarController.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;
}

@ -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;

Loading…
Cancel
Save