feat(admin): 优化预订单搜索功能
- 移除 'order_sn' 字段的精确搜索选项 - 添加 'order_sn' 到模糊搜索选项中
This commit is contained in:
parent
8889b01989
commit
e45226ffe0
@ -30,8 +30,8 @@ class BeforehandOrderLists extends BaseAdminDataLists implements ListsSearchInte
|
|||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['store_id', 'paid', 'status', 'order_type', 'order_sn'],
|
'=' => ['store_id', 'paid', 'status', 'order_type'],
|
||||||
'%like' => ['order_id'],
|
'%like' => ['order_id','order_sn'],
|
||||||
'between_time' => 'create_time'
|
'between_time' => 'create_time'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user