|
|
@@ -544,7 +544,7 @@ export default {
|
|
|
total(val) {
|
|
|
let surplusIntegral = this.$store.getters.userInfo.surplusIntegral;
|
|
|
let money = (val - surplusIntegral) / 10;
|
|
|
- if (money > 0) {
|
|
|
+ if (money >= 0) {
|
|
|
this.money = money
|
|
|
}
|
|
|
console.log(this.money);
|
|
|
@@ -588,6 +588,7 @@ export default {
|
|
|
type: 'success',
|
|
|
message: '支付成功!'
|
|
|
});
|
|
|
+ this.money = 0;
|
|
|
this.recharge = false;
|
|
|
clearInterval(this.timer); // 清除定时器;
|
|
|
clearInterval(this.timerPayWxQRcode);
|
|
|
@@ -636,7 +637,7 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
if (this.money) {
|
|
|
- this.$confirm('积分不足,请充值!', {
|
|
|
+ this.$confirm('积分不足,差额部分可用现金补齐,是否购买积分?', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|