feat: 非酒店类型的处理
This commit is contained in:
@@ -228,7 +228,7 @@ const handlePayClick = ThrottleUtils.createThrottle(async (goodsData) => {
|
||||
// 消费者信息
|
||||
const consumerInfoEntityList = userFormList.value;
|
||||
// 购买数量
|
||||
const purchaseAmount = consumerInfoEntityList.length;
|
||||
const purchaseAmount = quantity.value;
|
||||
// 支付方式 0-微信 1-支付宝 2-云闪付
|
||||
const payWay = "0";
|
||||
// 支付渠道 0-app 1-小程序 2-h5
|
||||
@@ -244,6 +244,10 @@ const handlePayClick = ThrottleUtils.createThrottle(async (goodsData) => {
|
||||
|
||||
// 预约日期,酒店类型不需要
|
||||
if (orderData.value.orderType != 0) {
|
||||
if (!selectedReservationDate.value) {
|
||||
uni.showToast({ title: "请选择预约日期", icon: "none" });
|
||||
return;
|
||||
}
|
||||
params.reservationDate = selectedReservationDate.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user