refactor(admin): 优化仓库订单列表搜索功能
- 将代码搜索条件从精确匹配改为模糊匹配,提高搜索灵活性 - 保留其他搜索条件不变,仅针对代码字段进行修改
This commit is contained in:
parent
8d62bfc3c7
commit
0f742b653e
@ -30,7 +30,8 @@ class WarehouseOrderLists extends BaseAdminDataLists implements ListsSearchInter
|
|||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['financial_pm', 'supplier_id', 'warehouse_id', 'store_id','code'],
|
'=' => ['financial_pm', 'supplier_id', 'warehouse_id', 'store_id'],
|
||||||
|
'%like'=>['code'],
|
||||||
'between_time' => 'create_time'
|
'between_time' => 'create_time'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user