收银台订单信息

This commit is contained in:
liu 2024-06-22 16:36:51 +08:00
parent d930bebe6c
commit 355cbc7ca3

View File

@ -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'])