公会信息 - 薪资账户 - 官方提现 - 修复点击选择国家问题

This commit is contained in:
2025-09-09 11:12:08 +08:00
parent 486e164834
commit deca69c7cc

View File

@@ -113,6 +113,7 @@ function translateFun() {
$('.swiftcode_box').hide(); $('.swiftcode_box').hide();
} }
} }
var statusBtn;
// 获取 // 获取
function get() { function get() {
showLoading(); showLoading();
@@ -135,10 +136,12 @@ function get() {
$('.but .determine').hide(); $('.but .determine').hide();
$('.but .ok').show(); $('.but .ok').show();
$('.box input').attr('disabled', false) $('.box input').attr('disabled', false)
statusBtn = 0;
} else { } else {
$('.but .determine').show(); $('.but .determine').show();
$('.but .ok').hide(); $('.but .ok').hide();
$('.box input').attr('disabled', true) $('.box input').attr('disabled', true)
statusBtn = 1;
} }
$('.currencyType input').attr('disabled', true) $('.currencyType input').attr('disabled', true)
$('.country input').val(fields.country); $('.country input').val(fields.country);
@@ -187,7 +190,7 @@ $('.pub_type').click(function (params) {
}) })
// 选择国家 // 选择国家
$('.country').click(function () { $('.country').click(function () {
if (fields.country != '') return if (statusBtn == 1) return
$('.pub').show(); $('.pub').show();
}) })
// 关闭选择国家 // 关闭选择国家