diff --git a/src/view/put-money.vue b/src/view/put-money.vue index 804bacc..9f35b6c 100644 --- a/src/view/put-money.vue +++ b/src/view/put-money.vue @@ -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') } } diff --git a/src/view/service-evaluation.vue b/src/view/service-evaluation.vue index c850810..e6c683b 100644 --- a/src/view/service-evaluation.vue +++ b/src/view/service-evaluation.vue @@ -2,7 +2,7 @@