问题修复

This commit is contained in:
2025-11-27 19:01:45 +08:00
parent 3bb09ef0b1
commit fd55c815d3
11 changed files with 83 additions and 42 deletions

View File

@@ -514,6 +514,11 @@ async function init() {
});
}
pageData.seatNum = order.seatNum;
if (options.personCount) {
seatFeeConfig.personCount = options.personCount;
return;
}
seatFeeConfig.personCount = order.seatNum;
}
@@ -915,7 +920,9 @@ function toQuan() {
go.to("PAGES_ORDER_QUAN", {
orderId: order.id,
shopUserId: pageData.user.id,
orderPrice: BigNumber(payPrice.value).plus(BigNumber(orderCostSummary.value.couponDeductionAmount)).decimalPlaces(2, BigNumber.ROUND_DOWN)
orderPrice: BigNumber(payPrice.value)
.plus(BigNumber(orderCostSummary.value.couponDeductionAmount))
.decimalPlaces(2, BigNumber.ROUND_DOWN),
});
}
@@ -923,10 +930,10 @@ function toQuan() {
* 判断是否可以修改金额
*/
async function discountShow() {
const bol = await hasPermission("yun_xu_da_zhe");
if (bol) {
// const bol = await hasPermission("yun_xu_da_zhe");
// if (bol) {
showModel("editMoney", true);
}
// }
}
/**
@@ -1226,11 +1233,11 @@ async function pay(par) {
payStatus = "";
return false;
}
if (payRes ) {
if (payRes) {
paySuccess();
} else {
uni.showToast({
title: "支付失败",
title: "支付失败",
icon: "none",
});
}
@@ -1509,4 +1516,4 @@ $position: calc($dotSize / (-2));
}
}
}
</style>
</style>