This commit is contained in:
SelfRidicule 2024-03-19 14:42:50 +08:00
parent b4a0dc7ba3
commit 003bb020b9

View File

@ -188,9 +188,16 @@ Page({
}).then(res => {
console.log('saveMeetingRecordRq', res);
if (res.code == 0) {
// 支付金额大于0需要付款
if (_this.data.totalAmount > 0) {
wx.redirectTo({
url: "/pages/meeting/pay/waitPay/waitPay?id=" + res.reservationId,
})
} else {
wx.reLaunch({
url: '/pages/meeting/reservationRecord/meetingRecord/meetingRecord',
})
}
} else {
// 错误提示
Notify({