|
@@ -438,15 +438,17 @@ export default {
|
|
|
this.$msg('请选择付款方式')
|
|
this.$msg('请选择付款方式')
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
- rechargeFn({amount:this.rechargeMoney,customId:this.userInfo.id,payWay:this.payWay,remark:this.rechargeRemark}).then(res=>{
|
|
|
|
|
- if(res.code == 1){
|
|
|
|
|
- that.czShow = false
|
|
|
|
|
- that.czFocus = false
|
|
|
|
|
- that.rechargeMoney = ''
|
|
|
|
|
- that.payWay = -1
|
|
|
|
|
- that.getUserDetail()
|
|
|
|
|
- that.$msg(res.msg)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.$util.confirmModal({content:'确认充值?'},() => {
|
|
|
|
|
+ rechargeFn({amount:this.rechargeMoney,customId:this.userInfo.id,payWay:this.payWay,remark:this.rechargeRemark}).then(res=>{
|
|
|
|
|
+ if(res.code == 1){
|
|
|
|
|
+ that.czShow = false
|
|
|
|
|
+ that.czFocus = false
|
|
|
|
|
+ that.rechargeMoney = ''
|
|
|
|
|
+ that.payWay = -1
|
|
|
|
|
+ that.getUserDetail()
|
|
|
|
|
+ that.$msg(res.msg)
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
createOrder(){
|
|
createOrder(){
|