6
0
Fork 0
release
李静 2022-03-28 11:04:05 +08:00
parent b9c86da3f9
commit 9b28685e35
1 changed files with 1 additions and 6 deletions

View File

@ -33,12 +33,7 @@ class DealerEarningSimpleTable extends LazyRenderable
(new DealerManagerSubsidy())->getMorphClass() => 'success',
(new DealerPurchaseSubsidy())->getMorphClass() => 'danger',
(new DealerChannelSubsidyLog())->getMorphClass() => 'warning',
])->filter(Grid\Column\Filter\In::make([
(new DealerManagerSubsidy())->getMorphClass() =>'管理者补贴',
(new DealerManageSubsidy())->getMorphClass() => '管理补贴',
(new DealerChannelSubsidyLog())->getMorphClass() => '渠道补贴',
(new DealerPurchaseSubsidy())->getMorphClass() => '进货补贴',
]));
]);
$grid->column('remark', '备注')->display('详情') // 设置按钮名称
->expand(function () {
// 这里返回 content 字段内容,并用 Card 包裹起来