Commit 6cc86004 by HTML5-侯张振

更改客户报备 分配销售不显示

parent d3a1cc4f
...@@ -349,6 +349,7 @@ class Report extends CI_Controller ...@@ -349,6 +349,7 @@ class Report extends CI_Controller
$this->load->model('customer_building_eas_model', 'customer_building_eas'); $this->load->model('customer_building_eas_model', 'customer_building_eas');
$this->load->model('recommend_trace_model', 'recommend'); $this->load->model('recommend_trace_model', 'recommend');
$this->load->model('customer_model','customer'); $this->load->model('customer_model','customer');
$this->load->model('customer_sales_model','customer_sales');
$uid = $this->session->userdata['u_id']; $uid = $this->session->userdata['u_id'];
$this->load->helper('eas'); $this->load->helper('eas');
...@@ -409,6 +410,10 @@ class Report extends CI_Controller ...@@ -409,6 +410,10 @@ class Report extends CI_Controller
} }
$this->customer_building_log->add($dataLog); $this->customer_building_log->add($dataLog);
$customersales['customer_building_id'] = $customerBuilding['id'];
$customersales['sale_id'] = $saleId;
$customersales['create_time'] = time();
$this->customer_sales->add_sale_id($customersales);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment