133 lines
6.6 KiB
PHP
133 lines
6.6 KiB
PHP
<link rel="stylesheet" type="text/css" href="{{static_url('yunshop/goods/vue-goods1.css')}}"/>
|
|
<div class='panel panel-default'>
|
|
{{--分销佣金提现设置--}}
|
|
<div class="vue-main-title">
|
|
<div class="vue-main-title-left"></div>
|
|
<div class="vue-main-title-content">{{ trans('Yunshop\Commission::index.tab_income') }}设置</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现额度</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<input type="text" name="withdraw[commission][roll_out_limit]" class="form-control"
|
|
value="{{$set['roll_out_limit']}}"/>
|
|
<span class="help-block">当前分销商的佣金达到此额度时才能提现</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现手续费</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<div class="switch">
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[commission][poundage_type]' value='1'
|
|
@if($set['poundage_type'] == 1) checked @endif />
|
|
固定金额
|
|
</label>
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[commission][poundage_type]' value='0'
|
|
@if(empty($set['poundage_type'])) checked @endif />
|
|
手续费比例
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<div class="input-group">
|
|
<div class="input-group-addon" id="commission_poundage_hint"
|
|
style="width: 120px;">@if($set['poundage_type'] == 1) 固定金额 @else
|
|
手续费比例 @endif</div>
|
|
<input type="text" name="withdraw[commission][poundage_rate]"
|
|
class="form-control" value="{{ $set['poundage_rate'] ?? '' }}"
|
|
placeholder="请输入提现手续费计算值"/>
|
|
<div class="input-group-addon" id="commission_poundage_unit">@if($set['poundage_type'] == 1) 元 @else
|
|
% @endif</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">最高提现额度</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<input type="text" name="withdraw[commission][max_roll_out_limit]" class="form-control"
|
|
value="{{$set['max_roll_out_limit']}}"/>
|
|
<span class="help-block">当前分销商的佣金每天最高提现此额度,超过则只能到此额度</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">最高提现次数</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<input type="text" name="withdraw[commission][max_time_out_limit]" class="form-control"
|
|
value="{{$set['max_time_out_limit']}}"/>
|
|
<span class="help-block">当前分销商的佣金每天最高提现次数,超过则不能提现</span>
|
|
</div>
|
|
</div>
|
|
{{--分享奖励提现设置--}}
|
|
<div class="vue-main-title">
|
|
<div class="vue-main-title-left"></div>
|
|
<div class="vue-main-title-content">分享奖励设置</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现额度</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<input type="text" name="withdraw[commission_share_reward][roll_out_limit]" class="form-control" value="{{$commissionShareReward['roll_out_limit']}}"/>
|
|
<span class="help-block">当前分销商的佣金达到此额度时才能提现</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现手续费</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<div class="switch">
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[commission_share_reward][poundage_type]' value='1' @if($commissionShareReward['poundage_type'] == 1) checked @endif />
|
|
固定金额
|
|
</label>
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[commission_share_reward][poundage_type]' value='0' @if(empty($commissionShareReward['poundage_type'])) checked @endif />
|
|
手续费比例
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<div class="input-group">
|
|
<div class="input-group-addon" id="commission_share_reward_poundage_hint" style="width: 120px;">
|
|
@if($commissionShareReward['poundage_type'] == 1) 固定金额 @else 手续费比例 @endif
|
|
</div>
|
|
<input type="text" name="withdraw[commission_share_reward][poundage_rate]" class="form-control" value="{{ $commissionShareReward['poundage_rate'] ?? '' }}" placeholder="请输入提现手续费计算值"/>
|
|
<div class="input-group-addon" id="commission_share_reward_poundage_unit">
|
|
@if($commissionShareReward['poundage_type'] == 1) 元 @else % @endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<script language="javascript">
|
|
$(function () {
|
|
$(":radio[name='withdraw[commission][poundage_type]']").click(function () {
|
|
if ($(this).val() == 1) {
|
|
$("#commission_poundage_unit").html('元');
|
|
$("#commission_poundage_hint").html('固定金额');
|
|
}
|
|
else {
|
|
$("#commission_poundage_unit").html('%');
|
|
$("#commission_poundage_hint").html('手续费比例')
|
|
}
|
|
});
|
|
|
|
$(":radio[name='withdraw[commission_share_reward][poundage_type]']").click(function () {
|
|
if ($(this).val() == 1) {
|
|
$("#commission_share_reward_poundage_unit").html('元');
|
|
$("#commission_share_reward_poundage_hint").html('固定金额');
|
|
}
|
|
else {
|
|
$("#commission_share_reward_poundage_unit").html('%');
|
|
$("#commission_share_reward_poundage_hint").html('手续费比例')
|
|
}
|
|
});
|
|
|
|
})
|
|
</script>
|