|
|
|
@ -75,11 +75,10 @@ |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
//提交申请 |
|
|
|
submit() { |
|
|
|
if(this.isActive) { |
|
|
|
console.log(this.inputVal) |
|
|
|
submit() { |
|
|
|
if(this.isActive) { |
|
|
|
putMoney.putMoney( |
|
|
|
{amount:this.inputVal} |
|
|
|
{amount:this.inputVal*100} |
|
|
|
).then(res => { |
|
|
|
if (res.code == 0){ |
|
|
|
this.$router.push({path:'/put-money-success'}); |
|
|
|
@ -111,7 +110,7 @@ |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
//获取余额值 |
|
|
|
this.currentAmount = this.getParam("currentAmount") |
|
|
|
this.currentAmount = (this.getParam("currentAmount")/100).toFixed(2) |
|
|
|
//this.$vux.toast.text(this.currentAmount,'middle') |
|
|
|
} |
|
|
|
} |