diff --git a/components/DateRangePicker/DateRangePicker.vue b/components/DateRangePicker/DateRangePicker.vue index 2db4873..e128c2e 100644 --- a/components/DateRangePicker/DateRangePicker.vue +++ b/components/DateRangePicker/DateRangePicker.vue @@ -345,13 +345,13 @@ 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 - } + // if (this.isDisabled(day)) { + // uni.showToast({ + // title: '所选日期范围包含不可预约日期,请重新选择', + // icon: 'none' + // }) + // return + // } currentDate.setDate(currentDate.getDate() + 1) } @@ -362,7 +362,7 @@ export default { this.startDate ? this.formatDate(this.startDate) : null, this.endDate ? this.formatDate(this.endDate) : null ]) - this.handleClose(false) + this.handleClose(true) }, handleClose(shouldClear = true) { @@ -370,7 +370,7 @@ export default { this.clearDates() this.startDate = null this.endDate = null - this.$emit('input', [null, null]) + // this.$emit('input', [null, null]) } this.$emit('update:show', false) this.$emit('close') diff --git a/pkg_product/views/groupBuyDetails.vue b/pkg_product/views/groupBuyDetails.vue index c17bd6e..a6b05bf 100644 --- a/pkg_product/views/groupBuyDetails.vue +++ b/pkg_product/views/groupBuyDetails.vue @@ -1,5 +1,14 @@