feat(StoreOrderLists): 修改收银台和小程序订单的搜索条件
This commit is contained in:
parent
2f443ec364
commit
0dd210e470
@ -50,9 +50,9 @@ class StoreOrderLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
$is_sashier = $this->request->get('is_sashier');
|
||||
if ($is_sashier == 1) { //收银台订单
|
||||
$this->searchWhere[] = ['store_id', '=', $store_id];
|
||||
// $this->searchWhere[] = ['pay_type', 'in', [17,3, 9, 13, 18,19]];
|
||||
$this->searchWhere[] = ['source', '=', 1];
|
||||
} elseif ($is_sashier == 2) { //小程序订单
|
||||
$this->searchWhere[] = ['pay_type', 'in', [7, 3, 18,19]];
|
||||
$this->searchWhere[] = ['source', '=', 0];
|
||||
}
|
||||
$status = $this->request->get('status','');
|
||||
switch ($status){
|
||||
|
Loading…
x
Reference in New Issue
Block a user