CusorderV2_907

This commit is contained in:
dengbw
2022-09-07 13:59:57 +08:00
committed by lccsw
parent 78f6d6d512
commit 5108683f15
@@ -654,11 +654,13 @@ class CusorderV2 extends Wxapp
$type = $this->input_param('type');
$order_s_time = $this->input_param('order_s_time');
$order_e_time = $this->input_param('order_e_time');
$admin_ids = $this->input_param('admin_ids');//多选销售人员
!$page && $page = 1;
!$size && $size = 10;
$where = ['status!='=>2];
$admin_ids && $where["admin_id in ({$admin_ids})"] = null;
if ($group_id == 1) {
$where['admin_id'] = $uid;//销售
} else if ($group_id == 2 || $group_id == 3) {//店长/老板