提现处理

This commit is contained in:
wanyongkang
2020-10-28 17:32:56 +08:00
parent 6b4fa229f4
commit 377ad1a3ae
2 changed files with 8 additions and 7 deletions

View File

@@ -213,7 +213,7 @@
</div>
<p class="text-center">
<button type="button" class="btn btn-primary" onclick="cash_out()">确认提现</button>
<button type="button" class="btn btn-primary" id="cash_out_confirm" onclick="cash_out()">确认提现</button>
<button type="button" class="btn btn-danger quxiao" style="margin-left:20px;" onclick="$('.cash-out').hide()">取消</button>
</p>
</form>
@@ -474,6 +474,7 @@
}
function cash_out() {
let cash_out_money = $('#cash-out-money').val(),
reason = $('#cash-out-reason').val(),
real_name = $('#real-name').val(),
@@ -496,7 +497,8 @@
alert("抱歉!请重新输入支付宝账号!");
return;
}
$('#cash_out_confirm').addClass('disabled');
$('#cash_out_confirm').prop('disabled', true);
let cashOutData = {
cash_out_money: cash_out_money,
reason: reason,