diff --git a/pages/huitong/huitongbao/index.vue b/pages/huitong/huitongbao/index.vue index 5309a9e..9ce8414 100644 --- a/pages/huitong/huitongbao/index.vue +++ b/pages/huitong/huitongbao/index.vue @@ -259,7 +259,8 @@ {key:2,value:'退款'}, {key:3,value:'支付'}, - ] + ], + mobilePhoneNum:'' }; }, computed: mapGetters(['isLogin','viewColor']), @@ -309,7 +310,7 @@ }); return; } - huitongToConsume({count:this.huitongToConsumeNum.toFixed(2)}).then(res=>{ + huitongToConsume({count:Number(this.huitongToConsumeNum).toFixed(2)}).then(res=>{ if(res.status==200){ this.getUserInfo() @@ -360,7 +361,8 @@ }); return; } - this.zhuanrang.count = this.zhuanrang.count.toFixed(2) + this.zhuanrang.count = Number(this.zhuanrang.count).toFixed(2) + changeHuitong(this.zhuanrang).then(res=>{ if(res.status==200){ @@ -404,7 +406,7 @@ let that = this; // if (that.formItem == 2) that.type = "register"; await registerVerify({ - phone: this.zhuanrang.phoneTo, + phone: this.mobilePhoneNum, type: 'huitong', key: "", // code: that.codeVal, @@ -441,6 +443,7 @@ getUserInfo().then((res)=>{ this.huitong = res.data.assets.huitong this.huitong_frozen = res.data.assets.huitong_frozen; + this.mobilePhoneNum = res.data.phone this.getIntegralList() // getIntegralInfo().then(function(res) { // that.$set(that,'userInfo',res.data); diff --git a/pages/shop/shop.vue b/pages/shop/shop.vue index ec77d50..661461c 100644 --- a/pages/shop/shop.vue +++ b/pages/shop/shop.vue @@ -10,7 +10,8 @@ - + + @@ -27,7 +28,7 @@ - + {{item.mer_name}} @@ -41,7 +42,7 @@ - + {{item.mer_address}} diff --git a/pages/shop/shop1.vue b/pages/shop/shop1.vue index 770b341..0fe6470 100644 --- a/pages/shop/shop1.vue +++ b/pages/shop/shop1.vue @@ -10,7 +10,8 @@ - + + @@ -27,7 +28,7 @@ - + {{item.mer_name}} @@ -41,7 +42,7 @@ - + {{item.mer_address}}