feat: 牛牛单独限红 - 新增limit_low_nn/limit_high_nn字段,代理端添加/编辑代理和会员支持牛牛限红设置,语言包三语支持
This commit is contained in:
@@ -547,6 +547,16 @@
|
||||
<input type="text" id="limit_high_pair" autocomplete="off" class="layui-input" value="{$agentParent.limit_high_pair}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label for="limit_low_nn" class="layui-form-label">{$lang['min_nn_limit']}</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" id="limit_low_nn" autocomplete="off" class="layui-input" value="{$agentParent.limit_low_nn}">
|
||||
</div>
|
||||
<label for="limit_high_nn" class="layui-form-label">{$lang['max_nn_limit']}</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" id="limit_high_nn" autocomplete="off" class="layui-input" value="{$agentParent.limit_high_nn}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label for="win_limit" class="layui-form-label">{$lang['daily_win_limit']}</label>
|
||||
<div class="layui-input-inline">
|
||||
@@ -695,6 +705,8 @@
|
||||
query.limit_high_tie = $('#limit_high_tie').val();
|
||||
query.limit_low_pair = $('#limit_low_pair').val();
|
||||
query.limit_high_pair = $('#limit_high_pair').val();
|
||||
query.limit_low_nn = $('#limit_low_nn').val();
|
||||
query.limit_high_nn = $('#limit_high_nn').val();
|
||||
query.win_limit = $('#win_limit').val();
|
||||
query.agent_commission = $('#agent_commission').val();
|
||||
query.agent_commission_dt = $('#agent_commission_dt').val();
|
||||
@@ -787,6 +799,18 @@
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if(query.limit_low_nn.length == 0 || query.limit_low_nn == undefined){
|
||||
layer.alert(lang.empty_min_nn_limit,{
|
||||
title:lang.message,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if(query.limit_high_nn.length == 0 || query.limit_high_nn == undefined){
|
||||
layer.alert(lang.empty_max_nn_limit,{
|
||||
title:lang.message,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if(query.win_limit.length == 0 || query.win_limit == undefined){
|
||||
layer.alert(lang.empty_day_win_limit,{
|
||||
title:lang.message,
|
||||
|
||||
Reference in New Issue
Block a user