曾超新 5 years ago
parent 7a9b736d3d
commit bc985c982d
  1. 6
      frontend/controllers/CarController.php

@ -619,6 +619,12 @@ class CarController extends BaseController
'VehicleYear' => $request->post('vehicle_year'),
'AutoMoldCodeSource' => 3,
];
if($params['QuoteGroup'] == 0) {
return MyLib::error3('请选择保险公司');
}
if($params['CarUsedType'] == 0) {
return MyLib::error3('请选择车辆使用性质');
}
if($params['OwnerIdCardType'] == '身份证') $params['OwnerIdCardType'] = 1;
else $params['OwnerIdCardType'] = 9;
if($params['InsuredIdType'] == '身份证') $params['InsuredIdType'] = 1;

Loading…
Cancel
Save