|
|
@ -266,6 +266,10 @@ |
|
|
|
this.explainReceiptTime = this.tabs[this.swiperTabIdx].explain_receipt_time; |
|
|
|
this.explainReceiptTime = this.tabs[this.swiperTabIdx].explain_receipt_time; |
|
|
|
this.amountList = this.tabs[this.swiperTabIdx].priceList; |
|
|
|
this.amountList = this.tabs[this.swiperTabIdx].priceList; |
|
|
|
this.amoutType = this.tabs[this.swiperTabIdx].id; |
|
|
|
this.amoutType = this.tabs[this.swiperTabIdx].id; |
|
|
|
|
|
|
|
this.inputAmount = ''; |
|
|
|
|
|
|
|
this.price = ''; |
|
|
|
|
|
|
|
this.inputAmountId = ''; |
|
|
|
|
|
|
|
this.amoutstatus = ''; |
|
|
|
}, |
|
|
|
}, |
|
|
|
//滑动事件 自行完善需要的代码 |
|
|
|
//滑动事件 自行完善需要的代码 |
|
|
|
SwiperChange: function(e) { |
|
|
|
SwiperChange: function(e) { |
|
|
@ -274,6 +278,10 @@ |
|
|
|
this.explainReceiptTime = this.tabs[this.swiperTabIdx].explain_receipt_time; |
|
|
|
this.explainReceiptTime = this.tabs[this.swiperTabIdx].explain_receipt_time; |
|
|
|
this.amountList = this.tabs[this.swiperTabIdx].priceList; |
|
|
|
this.amountList = this.tabs[this.swiperTabIdx].priceList; |
|
|
|
this.amoutType = this.tabs[this.swiperTabIdx].id; |
|
|
|
this.amoutType = this.tabs[this.swiperTabIdx].id; |
|
|
|
|
|
|
|
this.inputAmount = ''; |
|
|
|
|
|
|
|
this.price = ''; |
|
|
|
|
|
|
|
this.inputAmountId = ''; |
|
|
|
|
|
|
|
this.amoutstatus = ''; |
|
|
|
}, |
|
|
|
}, |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 提交订单 |
|
|
|
* 提交订单 |
|
|
@ -312,9 +320,19 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
let cztype = ''; |
|
|
|
|
|
|
|
if (that.swiperTabIdx == 0) { |
|
|
|
|
|
|
|
cztype = '中国电信' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (that.swiperTabIdx == 1) { |
|
|
|
|
|
|
|
cztype = '中国移动' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (that.swiperTabIdx == 2) { |
|
|
|
|
|
|
|
cztype = '中国联通' |
|
|
|
|
|
|
|
} |
|
|
|
uni.showModal({ |
|
|
|
uni.showModal({ |
|
|
|
title: '请确认充值号码', |
|
|
|
title: '请确认充值号码', |
|
|
|
content: '充值号码 : ' + that.inputPhone + ',充值成功后无法退款', |
|
|
|
content: cztype + ' : ' + that.inputPhone + ',充值金额 : ' + that.inputAmount + '元,充值成功后无法退款', |
|
|
|
success: function(res) { |
|
|
|
success: function(res) { |
|
|
|
if (res.confirm) { |
|
|
|
if (res.confirm) { |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|