From 0091a80f8ae1dcd030625d68e281205d0610a431 Mon Sep 17 00:00:00 2001 From: fengchengzhi Date: Wed, 25 Jul 2018 14:56:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E9=A2=9D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/put-money.vue | 9 ++++----- src/view/service-evaluation.vue | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) 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 @@