diff --git a/view/molistar/modules/guild-ar/js/salary.js b/view/molistar/modules/guild-ar/js/salary.js
index 93341312..4b13dcd0 100644
--- a/view/molistar/modules/guild-ar/js/salary.js
+++ b/view/molistar/modules/guild-ar/js/salary.js
@@ -119,6 +119,7 @@ $(function () {
}
}
});
+var rechargeUserLimitTip;
// 获取usd操作的功能标签tab
function getTab() {
tabPersonalArr = [];
@@ -138,8 +139,9 @@ function getTab() {
// 代理弹窗数据
$('.agent_pop .wrap li').remove()
var agent_popStr = '';
- var rechargeUserList = res.data.rechargeUserList;
- if (rechargeUserList.length <= 0) {
+ rechargeUserLimitTip = res.data.rechargeUserLimitTip;
+ var rechargeUserList = res.data.rechargeUserLimitTip?[]:res.data.rechargeUserList;
+ if (rechargeUserList.length <= 0 ) {
$('.agent_pop .wrap').append(`
${langReplace(localLang.salary.text10)}`);
} else {
rechargeUserList.forEach((res, i) => {
@@ -437,6 +439,7 @@ $('.tab').on('click', '.item', function () {
// typeTabType = i == 1 ? 'personal' : 'agent';
typeTabType = tabKey;
typeTabFun(typeTabType)
+ $('.confirm').show();
})
// 切换方式
$('.transfer_method').on('click', 'li', function () {
@@ -449,6 +452,7 @@ $('.transfer_method').on('click', 'li', function () {
$('.agent_pop .btn_wrap .sure').attr('type', type);
transfer_dollars_ArrType = type;
dollarsFun(transfer_dollars_ArrType);
+ $('.confirm').show();
})
$('.transfer_method').on('click', 'li .wenhao', function () {
$('.pop').show();
@@ -559,6 +563,10 @@ function operateValue(than) {
var targetUid = than.attr('uid');
var type = than.attr('type');
if (type == 3) {
+ if(rechargeUserLimitTip){
+ toastMsg(rechargeUserLimitTip);
+ return;
+ }
$('.agent_pop').show();
bodyScroolFun(true);
} else if (type == 4) {