问题修复
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user