feat(admin): 优化预订单搜索功能

- 移除 'order_sn' 字段的精确搜索选项
- 添加 'order_sn' 到模糊搜索选项中
This commit is contained in:
mkm 2024-11-19 17:45:12 +08:00
parent 8889b01989
commit e45226ffe0

View File

@ -30,8 +30,8 @@ class BeforehandOrderLists extends BaseAdminDataLists implements ListsSearchInte
public function setSearch(): array
{
return [
'=' => ['store_id', 'paid', 'status', 'order_type', 'order_sn'],
'%like' => ['order_id'],
'=' => ['store_id', 'paid', 'status', 'order_type'],
'%like' => ['order_id','order_sn'],
'between_time' => 'create_time'
];
}