提现处理
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
<div class="accout_tit">
|
||||
<span class="lineBar"></span>余额
|
||||
<button class="btnXq" onclick="$('#chargeBox').show()">充值</button>
|
||||
<button class="btnXq" onclick="$('#cash-out').show()">提现</button>
|
||||
<button class="btnXq" id="cash_out_confirm" onclick="$('#cash-out').show()">提现</button>
|
||||
</div>
|
||||
<div class="model">
|
||||
<div class="item">
|
||||
@@ -387,6 +387,7 @@
|
||||
});
|
||||
}
|
||||
function cash_out() {
|
||||
|
||||
let cash_out_money = $('#cash-out-money').val(),
|
||||
reason = $('#cash-out-reason').val(),
|
||||
real_name = $('#real-name').val(),
|
||||
@@ -399,16 +400,14 @@
|
||||
alert("抱歉!请重新输入提现金额!");
|
||||
return;
|
||||
}
|
||||
if(real_name.length <= 0){
|
||||
alert("抱歉!请重新输入姓名!");
|
||||
return;
|
||||
}
|
||||
//
|
||||
let reg = /^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*\@@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/;
|
||||
if(alipay_account.length <= 0 || alipay_account.match(reg) == null){
|
||||
alert("抱歉!请重新输入支付宝账号!");
|
||||
return;
|
||||
}
|
||||
$('#cash_out_confirm').addClass('disabled');
|
||||
$('#cash_out_confirm').prop('disabled', true);
|
||||
|
||||
let cashOutData = {
|
||||
cash_out_money: cash_out_money,
|
||||
|
||||
Reference in New Issue
Block a user