shish 2 lat temu
rodzic
commit
6d9ca100b1
1 zmienionych plików z 11 dodań i 9 usunięć
  1. 11 9
      ghsApp/src/pagesClient/member/detail.vue

+ 11 - 9
ghsApp/src/pagesClient/member/detail.vue

@@ -438,15 +438,17 @@ export default {
         this.$msg('请选择付款方式')
         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(){