master
zhaocheng 4 years ago
parent f686d90e2f
commit 20e37658c9
  1. 2
      app/view/task/index.html
  2. 2
      extend/service/CarInfoHandle.php

@ -266,7 +266,7 @@
});
layui.form.on('radio(export_type)', function(data){
if(['bmc','failed_bmc','none_bmc','success_bmc'].indexOf(data.value) != -1){
if(['bmc','failed_bmc','none_bmc'].indexOf(data.value) != -1){
$('#sub_export_type').hide();
$('#sub_export_type').find(':input').attr('disabled',true);
}else {

@ -635,7 +635,7 @@ class CarInfoHandle
if (in_array($export_type, ['bhx', 'failed']) && count($export_field) == 1) {
$bhxFields = $export_field[0] == 'car_no' ? ['car_no'] : ['car_empty_item', 'car_frame_no'];
} else {
$bhxFields = ['car_empty_item', 'car_frame_no'];
$bhxFields = ['car_no', 'car_frame_no'];
}
$bmcFields = ['register_date', 'car_no', 'car_frame_no', 'engine_no', 'factory_model', 'car_year', 'displacement', 'car_man', 'car_number', 'car_phone', 'purchase_price', 'id_man', 'id_number', 'id_phone', 'company', 'insurer1_date', 'insurer2_date', 'insurer_type', 'linkman', 'linkphone', 'linkman', 'linkphone', 'linkman', 'linkphone'];
$titles = in_array($export_type, ['bmc','failed_bmc','none_bmc']) ? $bmcTitles : ($export_type == 'repeat' ? $orgTitles : $bhxTitles);

Loading…
Cancel
Save