|
|
@@ -271,13 +271,33 @@ class AgentLevelServices extends BaseServices
|
|
|
$field[] = Form::number('discount', '等级折扣', 0)->appendRule('suffix', [
|
|
|
'type' => 'div',
|
|
|
'class' => 'tips-info',
|
|
|
- 'domProps' => ['innerHTML' => '购买商品享受折扣(0-1000之间整数)百分比']
|
|
|
+ 'domProps' => ['innerHTML' => '购买商品享受折扣(0-100之间整数)百分比']
|
|
|
])->max(100)->precision(0);
|
|
|
- $field[] = Form::number('free_issue', '下级购买礼包赠送优惠券id', 0)->precision(0);
|
|
|
- $field[] = Form::number('verific_reward', '两条线各核销200单以上的奖励金额', 0)->precision(2);
|
|
|
- $field[] = Form::number('more_reward', '三条线及以上各核销200单以上的奖励金额', 0)->precision(2);
|
|
|
- $field[] = Form::number('equal_award', '平级奖', 0)->precision(2);
|
|
|
- $field[] = Form::number('spread_brokerage', '推荐下单奖励佣金比例', 0)->precision(2);
|
|
|
+ $field[] = Form::number('free_issue', '下级礼包优惠券id', 0)->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '下级购买礼包时赠送的优惠券ID']
|
|
|
+ ])->precision(0);
|
|
|
+ $field[] = Form::number('verific_reward', '两条线核销奖励', 0)->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '两条线各核销200单以上的奖励金额']
|
|
|
+ ])->precision(2);
|
|
|
+ $field[] = Form::number('more_reward', '三线及以上核销奖励', 0)->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '三条线及以上各核销200单以上的奖励金额']
|
|
|
+ ])->precision(2);
|
|
|
+ $field[] = Form::number('equal_award', '平级奖', 0)->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '平级奖励金额']
|
|
|
+ ])->precision(2);
|
|
|
+ $field[] = Form::number('spread_brokerage', '推荐下单佣金比例', 0)->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '推荐下单奖励佣金比例']
|
|
|
+ ])->precision(2);
|
|
|
// $field[] = Form::number('two_brokerage', '二级上浮', 0)->appendRule('suffix', [
|
|
|
// 'type' => 'div',
|
|
|
// 'class' => 'tips-info',
|
|
|
@@ -311,13 +331,33 @@ class AgentLevelServices extends BaseServices
|
|
|
$field[] = Form::number('discount', '等级折扣', $levelInfo['discount'])->appendRule('suffix', [
|
|
|
'type' => 'div',
|
|
|
'class' => 'tips-info',
|
|
|
- 'domProps' => ['innerHTML' => '购买商品享受折扣(0-1000之间整数)百分比']
|
|
|
+ 'domProps' => ['innerHTML' => '购买商品享受折扣(0-100之间整数)百分比']
|
|
|
])->max(100)->precision(0);
|
|
|
- $field[] = Form::number('free_issue', '下级购买礼包赠送优惠券id', $levelInfo['free_issue'])->precision(0);
|
|
|
- $field[] = Form::number('verific_reward', '两条线各核销200单以上的奖励金额', $levelInfo['verific_reward'])->precision(2);
|
|
|
- $field[] = Form::number('more_reward', '三条线及以上各核销200单以上的奖励金额', $levelInfo['more_reward'])->precision(2);
|
|
|
- $field[] = Form::number('equal_award', '平级奖', $levelInfo['equal_award'])->precision(2);
|
|
|
- $field[] = Form::number('spread_brokerage', '推荐下单奖励佣金比例', $levelInfo['spread_brokerage'])->precision(2);
|
|
|
+ $field[] = Form::number('free_issue', '下级礼包优惠券id', $levelInfo['free_issue'])->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '下级购买礼包时赠送的优惠券ID']
|
|
|
+ ])->precision(0);
|
|
|
+ $field[] = Form::number('verific_reward', '两条线核销奖励', $levelInfo['verific_reward'])->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '两条线各核销200单以上的奖励金额']
|
|
|
+ ])->precision(2);
|
|
|
+ $field[] = Form::number('more_reward', '三线及以上核销奖励', $levelInfo['more_reward'])->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '三条线及以上各核销200单以上的奖励金额']
|
|
|
+ ])->precision(2);
|
|
|
+ $field[] = Form::number('equal_award', '平级奖', $levelInfo['equal_award'])->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '平级奖励金额']
|
|
|
+ ])->precision(2);
|
|
|
+ $field[] = Form::number('spread_brokerage', '推荐下单佣金比例', $levelInfo['spread_brokerage'])->appendRule('suffix', [
|
|
|
+ 'type' => 'div',
|
|
|
+ 'class' => 'tips-info',
|
|
|
+ 'domProps' => ['innerHTML' => '推荐下单奖励佣金比例']
|
|
|
+ ])->precision(2);
|
|
|
// $field[] = Form::number('two_brokerage', '二级上浮', $levelInfo['two_brokerage'])->appendRule('suffix', [
|
|
|
// 'type' => 'div',
|
|
|
// 'class' => 'tips-info',
|