|
|
@@ -216,7 +216,7 @@ export default {
|
|
|
title: '提示',
|
|
|
message: '订单是否已经支付',
|
|
|
confirmButtonText: '已经支付',
|
|
|
- cancelButtonText: '暂未支付,立即支付'
|
|
|
+ cancelButtonText: '未支付'
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.$dialog
|
|
|
@@ -230,8 +230,20 @@ export default {
|
|
|
});
|
|
|
})
|
|
|
.catch(e => {
|
|
|
- this.timerNum = 0;
|
|
|
- this.pay();
|
|
|
+ this.$dialog
|
|
|
+ .confirm({
|
|
|
+ title: '提示',
|
|
|
+ message: '订单未支付是否重新支付?',
|
|
|
+ confirmButtonText: '重新支付',
|
|
|
+ cancelButtonText: '取消订单'
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.timerNum = 0;
|
|
|
+ this.pay();
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$router.back();
|
|
|
+ });
|
|
|
});
|
|
|
} else if (res.status === 'PROCESSING' || res.status === 'FINISH' || res.status === 'CANCELLED') {
|
|
|
this.$toast.clear();
|