修复了在支付组件中余额显示不正确的问题。更新了余额以反映正确的会员余额,并优化了支付按钮禁用逻辑。此外,解决了在票务组件中游客信息处理可能导致按钮无法点击的问题。

lu_quan_dev
Tuzki 1 year ago
parent d3fb5a1182
commit 991c297dc2
  1. 4
      subPageC/bookTicket/bookTicket.vue
  2. 3
      subPageC/components/f-pay/f-pay.vue

@ -1213,6 +1213,7 @@ export default {
uni.showToast({ title: "暂无游客信息", icon: "none" });
return;
} else {
this.cantClick = false
this.ticket.visitorInfoList = [...this.selectUserList]
}
}
@ -1231,6 +1232,7 @@ export default {
uni.showToast({ title: "请删除超出的游客信息", icon: "none" });
return;
} else {
this.cantClick = false
this.ticket.visitorInfoList = [...this.selectUserList]
}
}
@ -1333,6 +1335,7 @@ export default {
});
} else {
allValids = true;
this.cantClick = false
}
let arr = [...that.ticket.visitorInfoList]
arr.forEach(item => {
@ -1477,6 +1480,7 @@ export default {
});
} else {
allValids = true;
this.cantClick = false
}
let arr = [...that.ticket.visitorInfoList]
arr.forEach(item => {

@ -169,7 +169,7 @@ export default {
methods: {
isPayType() {
this.isMember = true; //--
this.wallet = 100; //--
this.wallet = 10000000; //--
this.upPay();
},
//
@ -251,6 +251,7 @@ export default {
onPayButton: function () {
var tradeNo = this.tradeNo;
this.isPayDisabled = true;
console.log(this.payType, this.payTypeIndex,'三张')
if (this.payType[this.payTypeIndex].title == '微信支付') {
// #ifdef MP-WEIXIN
this.onPay('mpwxpay', tradeNo);

Loading…
Cancel
Save