6
0
Fork 0
base
panliang 2022-08-17 13:54:34 +08:00
parent 36ffeafb70
commit 8d4b80f2cc
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class StockController extends AdminController
$grid->filter(function (Grid\Filter $filter) {
$filter->panel();
$filter->equal('store_id')->select(Store::pluck('title', 'id'))->width(3);
$filter->equal('tag.name', '类目')->select(StockLog::tags()->pluck('name', 'id'))->width(3);
$filter->equal('tag_id', '类目')->select(StockLog::tags()->pluck('name', 'id'))->width(3);
});
return $grid;
}