diff --git a/subPages/recharge-centre/recharge-centre.vue b/subPages/recharge-centre/recharge-centre.vue index 3e27a03..717da3f 100644 --- a/subPages/recharge-centre/recharge-centre.vue +++ b/subPages/recharge-centre/recharge-centre.vue @@ -266,6 +266,10 @@ this.explainReceiptTime = this.tabs[this.swiperTabIdx].explain_receipt_time; this.amountList = this.tabs[this.swiperTabIdx].priceList; this.amoutType = this.tabs[this.swiperTabIdx].id; + this.inputAmount = ''; + this.price = ''; + this.inputAmountId = ''; + this.amoutstatus = ''; }, //滑动事件 自行完善需要的代码 SwiperChange: function(e) { @@ -274,6 +278,10 @@ this.explainReceiptTime = this.tabs[this.swiperTabIdx].explain_receipt_time; this.amountList = this.tabs[this.swiperTabIdx].priceList; this.amoutType = this.tabs[this.swiperTabIdx].id; + this.inputAmount = ''; + this.price = ''; + this.inputAmountId = ''; + this.amoutstatus = ''; }, /** * 提交订单 @@ -312,9 +320,19 @@ }); return false; } + let cztype = ''; + if (that.swiperTabIdx == 0) { + cztype = '中国电信' + } + if (that.swiperTabIdx == 1) { + cztype = '中国移动' + } + if (that.swiperTabIdx == 2) { + cztype = '中国联通' + } uni.showModal({ title: '请确认充值号码', - content: '充值号码 : ' + that.inputPhone + ',充值成功后无法退款', + content: cztype + ' : ' + that.inputPhone + ',充值金额 : ' + that.inputAmount + '元,充值成功后无法退款', success: function(res) { if (res.confirm) { uni.navigateTo({ diff --git a/subPages/unionComfirmation/unionComfirmation.vue b/subPages/unionComfirmation/unionComfirmation.vue index 10802a5..b6161ce 100644 --- a/subPages/unionComfirmation/unionComfirmation.vue +++ b/subPages/unionComfirmation/unionComfirmation.vue @@ -166,7 +166,7 @@ item.discountCondition) { + //满减价格 + if (this.orderPrice >= item.discountCondition) { this.memDiscountId = item.id; //满减价格 this.deductionPrice = item.discountPrice;