diff --git a/app/controller/Task.php b/app/controller/Task.php index 344939a..44d33bd 100644 --- a/app/controller/Task.php +++ b/app/controller/Task.php @@ -620,7 +620,7 @@ class Task extends BaseController $highestColumn = $sheet->getHighestColumn(); // e.g 'F' $title = $sheet->rangeToArray("A1:{$highestColumn}1")[0]; - $tpl_title = ['税号', '初登日期', '车主', '证件号', '电话号码', '车架号', '车牌号', '发动机号', '车型', '新车购置价', '商业止保日期', '交强止保日期']; + $tpl_title = ['税号', '初登日期', '车主', '证件号', '电话号码', '车架号', '车牌号', '发动机号', '车型', '新车购置价']; // $tpl_title = ['区域', '购车日期', '客户姓名', '证件号码', '联系方式', '车架号', '车牌号', '发动机号', '品牌型号', '新车购置价', '保险公司', '商业止保日期', '交强止保日期', '被保险人', '被保险人证件号']; if (count(array_diff($tpl_title, $title)) > 0) { return false; diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php index 3745137..5d24152 100644 --- a/extend/service/CarInfoHandle.php +++ b/extend/service/CarInfoHandle.php @@ -493,8 +493,6 @@ class CarInfoHandle 'engine_no' => $worksheet->getCellByColumnAndRow(8, $row)->getValue(), 'factory_model' => $worksheet->getCellByColumnAndRow(9, $row)->getValue(), 'purchase_price' => $worksheet->getCellByColumnAndRow(10, $row)->getValue(), - 'insurer1_date' => $worksheet->getCellByColumnAndRow(11, $row)->getValue(), - 'insurer2_date' => $worksheet->getCellByColumnAndRow(12, $row)->getValue(), 'source' => $id, 'create_timestamp' => $now, 'update_timestamp' => $now