修复提现bug

This commit is contained in:
dragon
2024-09-26 17:34:48 +08:00
parent bb442ae251
commit d36dbd7d09
7 changed files with 24 additions and 11 deletions

View File

@@ -83,8 +83,10 @@ function get() {
fields = res.data.fields;
if (fields.country == '') {
$('.but .determine').hide();
$('.but .ok').show();
} else {
$('.but .determine').show();
$('.but .ok').hide();
}
$('.country input').val(fields.country);
$('.payeeAccountNo input').val(fields.bank_account);

View File

@@ -62,10 +62,10 @@ function translateFun() {
$('.text3').text(langReplace(localLang.payonner.text3));
$('.text4').text(langReplace(localLang.payonner.text4));
$('.text5').text(langReplace(localLang.payonner.text5));
$('.text6').attr('placeholder',langReplace(localLang.payonner.text6));
$('.text7').attr('placeholder',langReplace(localLang.payonner.text7));
$('.text8').attr('placeholder',langReplace(localLang.payonner.text8));
$('.text9').attr('placeholder',langReplace(localLang.payonner.text9));
$('.text6').attr('placeholder', langReplace(localLang.payonner.text6));
$('.text7').attr('placeholder', langReplace(localLang.payonner.text7));
$('.text8').attr('placeholder', langReplace(localLang.payonner.text8));
$('.text9').attr('placeholder', langReplace(localLang.payonner.text9));
}
// 获取
@@ -82,8 +82,10 @@ function get() {
fields = res.data.fields;
if (fields.country == '') {
$('.but .determine').hide();
$('.but .ok').show();
} else {
$('.but .determine').show();
$('.but .ok').hide();
}
$('.country input').val(fields.country);
$('.payeeAccountNo input').val(fields.bank_account);

View File

@@ -79,8 +79,10 @@ function get() {
fields = res.data.fields;
if (fields.country == '') {
$('.but .determine').hide();
$('.but .ok').show();
} else {
$('.but .determine').show();
$('.but .ok').hide();
}
$('.country input').val(fields.country);
$('.payeeAccountNo input').val(fields.bank_account);

View File

@@ -539,7 +539,11 @@ $('.pubWithdrawal .pubWithdrawal_in .ok').click(function () {
accountType,
type,
};
operate(obj)
if ($(this).attr('accountType') == 'VODAFONE' && $(this).attr('guildUsdNum') > 1000) {
toastMsg('超出限额')
} else {
operate(obj)
}
})
// 取消提现按钮
$('.pubWithdrawal .pubWithdrawal_in .close').click(function () {

View File

@@ -243,6 +243,7 @@ langAr = {
textnew11: `سحب`,
textnew12: `إلغاء`,
textnew13: `يرجى اختيار حساب السحب`,
textnew14: `أكثر من الحد الأقصى للمبلغ القابل للتحويل.`,
},
bill: {
text1: `الفاتورة`,
@@ -279,7 +280,7 @@ langAr = {
payonner: {
text1: `Payonner`,
text2: `تأكيد`,
text3: `تحديد`,
text3: `إلغاء الربط`,
text4: `البلد`,
text5: `موافق`,
text6: `نوع العملة:`,
@@ -290,7 +291,7 @@ langAr = {
},
bank: {
text1: `تأكيد`,
text2: `تحديد`,
text2: `إلغاء الربط`,
text3: `البلد`,
text4: `موافق`,
text5: `البلد`,

View File

@@ -241,6 +241,7 @@ langEn = {
textnew11: `Withdraw`,
textnew12: `Cancel`,
textnew13: `Please select a withdrawal account`,
textnew14: `More than the maximum transferable amount.`,
},
bill: {
text1: `Bill`,
@@ -278,7 +279,7 @@ langEn = {
payonner: {
text1: `Payonner `,
text2: `Confirm`,
text3: `Determine`,
text3: `Unbind `,
text4: `Country`,
text5: `OK`,
text6: `Currency Type:`,
@@ -289,7 +290,7 @@ langEn = {
},
bank: {
text1: `Confirm`,
text2: `Determine`,
text2: `Unbind `,
text3: `Country`,
text4: `OK`,
text5: `Country`,

View File

@@ -244,6 +244,7 @@ langZh = {
textnew11: `提款`,
textnew12: `取消`,
textnew13: `請選擇提款賬戶`,
textnew14: `超過最大可轉賬金額。`,
},
bill: {
text1: `賬單`,
@@ -280,7 +281,7 @@ langZh = {
payonner: {
text1: `Payonner`,
text2: `確認`,
text3: `確定`,
text3: `解绑`,
text4: `國家`,
text5: `確定`,
text6: `貨幣類型:`,
@@ -291,7 +292,7 @@ langZh = {
},
bank: {
text1: `確認`,
text2: `確定`,
text2: `解绑`,
text3: `國家`,
text4: `確定`,
text5: `國家`,