From 134f73d7b1bf1c94e2de9cf0ef9cc20f78ba0d60 Mon Sep 17 00:00:00 2001 From: zoujing Date: Mon, 13 Apr 2026 15:31:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=9D=9E=E9=85=92=E5=BA=97=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages-booking/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages-booking/index.vue b/src/pages-booking/index.vue index d0ba216..db55db7 100644 --- a/src/pages-booking/index.vue +++ b/src/pages-booking/index.vue @@ -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; }