Commit c621c4a0 authored by 罗超's avatar 罗超

修改小问题

parent f9542d84
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
pageSize: 10, pageSize: 10,
GradeId: 1 GradeId: 1
}, },
titleDirect:1, titleDirect:0,
msg2: { msg2: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
......
...@@ -227,24 +227,25 @@ ...@@ -227,24 +227,25 @@
this.isshowagreement = false this.isshowagreement = false
}, },
getapply(){ getapply(){
this.prohibit = true;
let that = this let that = this
uni.requestSubscribeMessage({ uni.requestSubscribeMessage({
tmplIds: that.cash.template_message_list, tmplIds: that.cash.template_message_list,
complete (res) { complete (res) {
console.log(that.msg.AppliedMoney)
if(that.msg.AppliedMoney<0){ if(that.msg.AppliedMoney<0){
uni.showToast({ uni.showToast({
title: "请输入提现金额", title: "请输入提现金额",
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
if(that.txmode==''){ if(that.txmode==''){
uni.showToast({ uni.showToast({
title: "请选择提现方式", title: "请选择提现方式",
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
if(that.msg.WithdrawalWay==2|| that.msg.WithdrawalWay==3 || that.msg.WithdrawalWay==4){ if(that.msg.WithdrawalWay==2|| that.msg.WithdrawalWay==3 || that.msg.WithdrawalWay==4){
...@@ -252,21 +253,24 @@ ...@@ -252,21 +253,24 @@
uni.showToast({ uni.showToast({
title: "账户名称不能为空", title: "账户名称不能为空",
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
if(that.msg.AccountNumber==''){ if(that.msg.AccountNumber==''){
uni.showToast({ uni.showToast({
title: "账户号不能为空", title: "账户号不能为空",
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
if(that.msg.BankName=='' && that.msg.WithdrawalWay==4){ if(that.msg.BankName=='' && that.msg.WithdrawalWay==4){
uni.showToast({ uni.showToast({
title: "银行名称不能为空", title: "银行名称不能为空",
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
} }
...@@ -276,7 +280,8 @@ ...@@ -276,7 +280,8 @@
uni.showToast({ uni.showToast({
title: "提现金额大于等于"+that.cash.MinimumWithdrawalLimit, title: "提现金额大于等于"+that.cash.MinimumWithdrawalLimit,
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
} }
...@@ -284,7 +289,8 @@ ...@@ -284,7 +289,8 @@
uni.showToast({ uni.showToast({
title: '余额不足', title: '余额不足',
icon: "none" icon: "none"
}); });
that.prohibit =false
return false return false
} }
...@@ -294,7 +300,7 @@ ...@@ -294,7 +300,7 @@
title:'加载中', title:'加载中',
icon:'none' icon:'none'
}) })
that.prohibit = true;//禁止接口没回来时候的再次操作
that.request2( that.request2(
{ {
url: '/api/AppletUser/SetUserDistrbutorWithdrawDeposit', url: '/api/AppletUser/SetUserDistrbutorWithdrawDeposit',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment