WIP
parent
b9c86da3f9
commit
9b28685e35
|
|
@ -33,12 +33,7 @@ class DealerEarningSimpleTable extends LazyRenderable
|
||||||
(new DealerManagerSubsidy())->getMorphClass() => 'success',
|
(new DealerManagerSubsidy())->getMorphClass() => 'success',
|
||||||
(new DealerPurchaseSubsidy())->getMorphClass() => 'danger',
|
(new DealerPurchaseSubsidy())->getMorphClass() => 'danger',
|
||||||
(new DealerChannelSubsidyLog())->getMorphClass() => 'warning',
|
(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('详情') // 设置按钮名称
|
$grid->column('remark', '备注')->display('详情') // 设置按钮名称
|
||||||
->expand(function () {
|
->expand(function () {
|
||||||
// 这里返回 content 字段内容,并用 Card 包裹起来
|
// 这里返回 content 字段内容,并用 Card 包裹起来
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue