From d9ee41d8f3c25ff3d9bec1f3eec27c100e1165b3 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Fri, 21 Nov 2025 11:48:01 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4639=20=E3=80=90=E6=97=85=E5=B1=85?= =?UTF-8?q?=E5=95=86=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E9=A2=84?= =?UTF-8?q?=E7=BA=A6=E6=97=A5=E6=9C=9F=E5=8C=85=E5=90=AB=E4=BB=A5=E4=B8=8B?= =?UTF-8?q?=E5=87=A0=E4=B8=AA=E6=97=B6=E9=97=B4=E6=AE=B5=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=A2=84=E7=BA=A6=EF=BC=9A1.31-2.1=EF=BC=8C3.31-4.1?= =?UTF-8?q?=EF=BC=8C5.31-6.1=EF=BC=8C8.31-9.1=EF=BC=8C10.31-11.1=EF=BC=88?= =?UTF-8?q?=E5=BA=94=E6=94=B9=E4=B8=BA=EF=BC=9A=E5=8F=AA=E8=A6=81=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=9A=84=E6=97=B6=E9=97=B4=E6=AE=B5=E5=8F=AF=E9=A2=84?= =?UTF-8?q?=E7=BA=A6=E3=80=81=E5=B9=B6=E4=B8=94=E7=AD=89=E4=BA=8E=E5=9B=A2?= =?UTF-8?q?=E8=B4=AD=E5=A4=A9=E6=95=B0=EF=BC=8C=E5=B0=B1=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E9=A2=84=E7=BA=A6=E6=88=90=E5=8A=9F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DateRangePicker/DateRangePicker.vue | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/components/DateRangePicker/DateRangePicker.vue b/components/DateRangePicker/DateRangePicker.vue index 83c54fc..0c2967f 100644 --- a/components/DateRangePicker/DateRangePicker.vue +++ b/components/DateRangePicker/DateRangePicker.vue @@ -395,18 +395,18 @@ export default { } // 验证选择的日期范围内是否包含禁用日期 - const currentDate = new Date(this.tempStartDate) - while (currentDate <= this.tempEndDate) { - const day = currentDate.getDate() - if (this.isDisabled(day)) { - uni.showToast({ - title: '所选日期范围包含不可预约日期,请重新选择', - icon: 'none' - }) - return - } - currentDate.setDate(currentDate.getDate() + 1) - } + // const currentDate = new Date(this.tempStartDate) + // while (currentDate <= this.tempEndDate) { + // const day = currentDate.getDate() + // if (this.isDisabled(day)) { + // uni.showToast({ + // title: '所选日期范围包含不可预约日期,请重新选择', + // icon: 'none' + // }) + // return + // } + // currentDate.setDate(currentDate.getDate() + 1) + // } sojoumOrderCheckDate({ travelGroupProductId: this.travelGroupProductId, orderStartDate: this.formatDate(this.tempStartDate),