This commit is contained in:
小鱼开发
2024-07-19 21:54:47 +08:00
parent e5a53169a9
commit f407a26edf
+2 -2
View File
@@ -58,7 +58,7 @@ class Customers extends Wxapp
if ($this->get_biz('type') != 5) {
$other_data['客户来源'] = $this->get_cfTitle($row);
}
$other_data['建档时间'] = $row['p_time'];
$other_data['建档时间'] = date('Y-m-d', strtotime($row['p_time']));
$row['cont_time'] != '0000-00-00 00:00:00' && $other_data['最近联系'] = date('Y-m-d', strtotime($row['cont_time']));
if ($this->session['group_id'] == 1) {
$where_visit = ['c_id' => $id, 'biz_id' => $this->biz_id, 'sales_id' => $this->session['uid']];
@@ -921,7 +921,7 @@ class Customers extends Wxapp
if ($param['biz_type'] != 5) {
$other_data['客户来源'] = $this->get_cfTitle($val);
}
$other_data['建档时间'] = $val['p_time'];
$other_data['建档时间'] = date('Y-m-d', strtotime($val['p_time']));
$val['cont_time'] != '0000-00-00 00:00:00' && $other_data['最近联系'] = date('Y-m-d', strtotime($val['cont_time']));
if ($param['group_id'] == 1) {
$where_visit = ['c_id' => $val['id'], 'biz_id' => $this->biz_id, 'sales_id' => $this->session['uid']];