修改:已删除优惠券不能在会员卡中选择
This commit is contained in:
parent
4fea2f6ea4
commit
465d2d38c0
|
|
@ -382,7 +382,9 @@ class GroupDataRepository extends BaseRepository
|
|||
]
|
||||
]),
|
||||
Elm::select('coupon', '优惠券')->options(function () {
|
||||
return app()->make(StoreCouponRepository::class)->getSearch(['mer_id' => request()->merId(), 'status' => 1, 'send_type' => 5])->column('title as label,coupon_id as value');
|
||||
return app()->make(StoreCouponRepository::class)
|
||||
->getSearch(['mer_id' => request()->merId(), 'status' => 1, 'is_del' => 0])
|
||||
->column('title as label,coupon_id as value');
|
||||
})->multiple(true)->filterable(true)->appendValidate(Elm::validateArr()->message('请选择优惠券')),
|
||||
Elm::number('cost_price','原价')->required()->col(12)->min(0),
|
||||
Elm::number('price','优惠价')->required()->col(12)->min(0),
|
||||
|
|
|
|||
Loading…
Reference in New Issue