|
|
|
@ -42,8 +42,9 @@ class SelectProduct extends LazyRenderable |
|
|
|
$grid->paginate(15); |
|
|
|
|
|
|
|
$grid->filter(function (Grid\Filter $filter) { |
|
|
|
$filter->like('title')->width(4); |
|
|
|
$filter->like('supplier.company_name', '供应商名称')->width(4); |
|
|
|
$filter->like('id')->width(2); |
|
|
|
$filter->like('title')->width(3); |
|
|
|
$filter->like('supplier.company_name', '供应商名称')->width(3); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|