Update
parent
5916ebcb72
commit
41ac729769
|
|
@ -124,8 +124,8 @@ class VipController extends AdminController
|
||||||
$form->switch('status')->default(1);
|
$form->switch('status')->default(1);
|
||||||
$form->textarea('description');
|
$form->textarea('description');
|
||||||
|
|
||||||
$form->currency('points', '赠送积分')
|
$form->number('points', '赠送积分')
|
||||||
->symbol('¥')
|
->min(0)
|
||||||
->customFormat(fn () => data_get($this->gift, 'points'));
|
->customFormat(fn () => data_get($this->gift, 'points'));
|
||||||
$form->table('coupon', function ($table) {
|
$form->table('coupon', function ($table) {
|
||||||
$table->select('id', '优惠券')->options(Coupon::class)->ajax('api/coupons');
|
$table->select('id', '优惠券')->options(Coupon::class)->ajax('api/coupons');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue