收银台订单信息
This commit is contained in:
parent
d930bebe6c
commit
355cbc7ca3
@ -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, 9, 13, 18]];
|
||||
$this->searchWhere[] = ['pay_type', 'in', [17, 9, 13, 18,19]];
|
||||
} elseif ($is_sashier == 2) { //小程序订单
|
||||
$this->searchWhere[] = ['pay_type', 'in', [7, 3, 18]];
|
||||
$this->searchWhere[] = ['pay_type', 'in', [7, 3, 18,19]];
|
||||
}
|
||||
return StoreOrder::where($this->searchWhere)
|
||||
->field(['id', 'order_id', 'pay_price', 'pay_time', 'pay_type', 'status', 'paid', 'total_num'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user