Commit fe08fd9f authored by hujun's avatar hujun

调整搜索

parent eac2f902
......@@ -3002,25 +3002,25 @@ class Finance extends Basic
//提交人所在门店
if (!empty($this->params['store_id'])) {
$where['e.store_id'] = $this->params['store_id'];
$where['d.store_id'] = $this->params['store_id'];
$is_show = 1;
}
//提交人所在部门
if (!empty($this->params['district_id'])) {
$where['e.district_id'] = $this->params['district_id'];
$where['d.district_id'] = $this->params['district_id'];
$is_show = 1;
}
//提交人姓名
if (!empty($this->params['name'])) {
$where['a.name'] = ['like', '%' . $this->params['name'] . '%'];
$where['d.name'] = ['like', '%' . $this->params['name'] . '%'];
$is_show = 1;
}
//提交人手机号
if (!empty($this->params['phone'])) {
$where['a.phone'] = ['like', '%' . $this->params['phone'] . '%'];
$where['d.phone'] = ['like', '%' . $this->params['phone'] . '%'];
$is_show = 1;
}
......
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