在搜索条件中添加订单编号(order_sn)字段

在BeforehandOrderLists类的setSearch方法中,将订单编号(order_sn)字段添加到搜索条件中,以便能够按订单编号进行搜索和过滤。
This commit is contained in:
mkm 2024-10-15 16:41:19 +08:00
parent bc056b892c
commit fc6ac5fdd3

View File

@ -28,7 +28,7 @@ class BeforehandOrderLists extends BaseAdminDataLists implements ListsSearchInte
public function setSearch(): array
{
return [
'=' => ['store_id', 'order_id', 'uid','paid','status','order_type'],
'=' => ['store_id', 'order_id', 'uid','paid','status','order_type','order_sn'],
];
}