1.修改话费显示问题

yj-dev
杨杰 2 years ago
parent 21858de5b4
commit 5bf0d67123
  1. 4
      .hbuilderx/launch.json
  2. 4
      subPages/rechargeDetails/rechargeDetails.vue
  3. 15
      subPages/unionComfirmation/unionComfirmation.vue

@ -2,6 +2,10 @@
// launchtypelocalremote, localremote // launchtypelocalremote, localremote
"version": "0.0", "version": "0.0",
"configurations": [{ "configurations": [{
"app-plus" :
{
"launchtype" : "remote"
},
"default" : "default" :
{ {
"launchtype" : "remote" "launchtype" : "remote"

@ -78,7 +78,7 @@
</view> </view>
<view class="row" v-if="recinfo.discountDeductionPrice"> <view class="row" v-if="recinfo.discountDeductionPrice">
<view class="left"> <view class="left">
优惠券金额 : 优惠抵扣 :
</view> </view>
<view class="right"> <view class="right">
{{recinfo.discountDeductionPrice}} {{recinfo.discountDeductionPrice}}
@ -94,7 +94,7 @@
</view> </view>
<view class="row" v-if="recinfo.integralDeductionPrice"> <view class="row" v-if="recinfo.integralDeductionPrice">
<view class="left"> <view class="left">
积分抵扣金额 : 积分抵扣 :
</view> </view>
<view class="right"> <view class="right">
{{recinfo.integralDeductionPrice}} {{recinfo.integralDeductionPrice}}

@ -617,19 +617,20 @@
}) })
} }
}, },
submitHandle(e) { submitHandle(e) {
uni.showLoading({
title: '支付中...'
})
this.PaymentPassword = e.value; this.PaymentPassword = e.value;
if (this.PaymentPassword == '') { if (this.PaymentPassword == '') {
uni.showToast({ uni.showToast({
title: '请勿手动关闭弹窗', title: '请勿手动关闭弹窗',
icon: 'none', icon: 'none',
duration: 2000 duration: 2000
}) })
uni.hideLoading();
return; return;
} }
uni.showLoading({
title: '支付中...'
})
if (this.payPrice == 0) { if (this.payPrice == 0) {
let params = { let params = {
"memDiscountId": this.memDiscountId, "memDiscountId": this.memDiscountId,
@ -638,9 +639,9 @@
"integralNum": this.priceValue[1], "integralNum": this.priceValue[1],
"password": this.PaymentPassword "password": this.PaymentPassword
} }
addOrderPay(params).then(res => { addOrderPay(params).then(res => {
uni.hideLoading();
if (res.return_code == '000000') { if (res.return_code == '000000') {
uni.hideLoading();
this.orderId = res.return_data.id; this.orderId = res.return_data.id;
uni.reLaunch({ uni.reLaunch({
url: '../Phone-recharge-details/Phone-recharge-details?id=' + url: '../Phone-recharge-details/Phone-recharge-details?id=' +

Loading…
Cancel
Save