|
|
|
@ -231,6 +231,52 @@
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>押金付款方式:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="pay_type" id="pay_type" class="select_gallery">
|
|
|
|
|
<option value="">押金付款方式</option>
|
|
|
|
|
<?php foreach($payTypes as $key => $name):?>
|
|
|
|
|
<option value="<?=$key?>"><?=$name?></option>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="need-amount">
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>付款方式:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="pay_way" id="pay_way" class="select_gallery">
|
|
|
|
|
<option value="">付款方式</option>
|
|
|
|
|
<?php foreach($payWays as $key => $name):?>
|
|
|
|
|
<option value="<?=$key?>"><?=$name?></option>
|
|
|
|
|
<?php endforeach;?>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="need-amount">
|
|
|
|
|
<td class="l"><?php if($record):?><i class="mustmark">*</i><?php endif?>金额:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt ratio" name="amount" id="amount" value="<?=$record?$record['amount']:''?>" placeholder="请输入金额">
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="need-amount">
|
|
|
|
|
<td class="l">付款人:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt ratio" name="payer" id="payer" value="<?=$record?$record['payer']:''?>" placeholder="请输入付款人">
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="need-amount">
|
|
|
|
|
<td class="l">付款账号:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt ratio" name="pay_account" id="pay_account" value="<?=$record?$record['pay_account']:''?>" placeholder="请输入付款账号">
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>承担服务费:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
@ -463,7 +509,6 @@
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>会长账号</th>
|
|
|
|
|
<th>账号状态</th>
|
|
|
|
|
<th>真实姓名</th>
|
|
|
|
|
<th>手机号码</th>
|
|
|
|
|
<th>邮箱</th>
|
|
|
|
@ -506,20 +551,6 @@
|
|
|
|
|
<span class="notice-text">密码长度必须大于6位</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">账号状态:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn" style="width: 215px;">
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="1" name="status" checked="checked"> 开启
|
|
|
|
|
</label >
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="2" name="status" > 锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">锁定状态下,推广员账号则无法登录</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">真实姓名:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
@ -926,18 +957,15 @@
|
|
|
|
|
var promote = {
|
|
|
|
|
account: box.find('input[name=account]').val(),
|
|
|
|
|
password: box.find('input[name=password]').val(),
|
|
|
|
|
status: box.find('input[name=status]:checked').val(),
|
|
|
|
|
real_name: box.find('input[name=realname]').val(),
|
|
|
|
|
mobile_phone: box.find('input[name=mobile]').val(),
|
|
|
|
|
email: box.find('input[name=email]').val(),
|
|
|
|
|
can_view_recharge: box.find('input[name=can_view_recharge]:checked').val(),
|
|
|
|
|
}
|
|
|
|
|
var statusText = promote.status == 1 ? '开启' : '锁定'
|
|
|
|
|
var canViewRecharge = promote.can_view_recharge == 1 ? '允许' : '禁止'
|
|
|
|
|
console.log(promote)
|
|
|
|
|
$('#promote-table').find('.no-record').remove()
|
|
|
|
|
var html = '<tr><td>' + promote.account + '</td>'
|
|
|
|
|
+ '<td>' + statusText + '</td>'
|
|
|
|
|
+ '<td>' + promote.real_name + '</td>'
|
|
|
|
|
+ '<td>' + promote.mobile_phone + '</td>'
|
|
|
|
|
+ '<td>' + promote.email + '</td>'
|
|
|
|
@ -949,5 +977,22 @@
|
|
|
|
|
layer.closeAll()
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$('#pay_type').change(function() {
|
|
|
|
|
var val = $(this).val()
|
|
|
|
|
if (val == 2) {
|
|
|
|
|
$('.need-amount').show();
|
|
|
|
|
$("#pay_way option[value='4']").removeProp('disabled');
|
|
|
|
|
$('#pay_way').val('4')
|
|
|
|
|
$('#pay_way').attr('disabled', 'disabled')
|
|
|
|
|
} else if(val == 3) {
|
|
|
|
|
$('.need-amount').hide();
|
|
|
|
|
} else {
|
|
|
|
|
$('.need-amount').show();
|
|
|
|
|
$('#pay_way').removeAttr('disabled');
|
|
|
|
|
$("#pay_way option[value='4']").prop('disabled', true);
|
|
|
|
|
$('#pay_way').val('')
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|
|
|
|
|