|
@@ -498,14 +498,14 @@ class CustomerService extends Service
|
|
$data['top_depart_id'] = $user['depart_map'][$data['depart_id']] ?? 0;
|
|
$data['top_depart_id'] = $user['depart_map'][$data['depart_id']] ?? 0;
|
|
}
|
|
}
|
|
if($data['model_type'] == Customer::Model_type_one){
|
|
if($data['model_type'] == Customer::Model_type_one){
|
|
- if(empty($data['customer_from'])) return [false,'客户来源不能为空'];
|
|
|
|
- if(empty($data['customer_type'])) return [false,'客户类别不能为空'];
|
|
|
|
- if(empty($data['consulting_product'])) return [false,'咨询产品不能为空'];
|
|
|
|
- if(empty($data['progress_stage'])) return [false,'进展阶段不能为空'];
|
|
|
|
- if(empty($data['employee_one'])) return [false,'销售SA不能为空'];
|
|
|
|
|
|
+// if(empty($data['customer_from'])) return [false,'客户来源不能为空'];
|
|
|
|
+// if(empty($data['customer_type'])) return [false,'客户类别不能为空'];
|
|
|
|
+// if(empty($data['consulting_product'])) return [false,'咨询产品不能为空'];
|
|
|
|
+// if(empty($data['progress_stage'])) return [false,'进展阶段不能为空'];
|
|
|
|
+// if(empty($data['employee_one'])) return [false,'销售SA不能为空'];
|
|
}else{
|
|
}else{
|
|
- if(empty($data['car_type'])) return [false,'车型不能为空'];
|
|
|
|
- if(empty($data['customer_contact'])) return [false,'客户联系方式不能为空'];
|
|
|
|
|
|
+// if(empty($data['car_type'])) return [false,'车型不能为空'];
|
|
|
|
+// if(empty($data['customer_contact'])) return [false,'客户联系方式不能为空'];
|
|
}
|
|
}
|
|
|
|
|
|
if($is_add){
|
|
if($is_add){
|