Feat:订单退款,礼品下单
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
:maxRange="999"
|
||||
:defaultDate="defaultDate"
|
||||
:minDate="minDate"
|
||||
:disabledDate="disabledDates"
|
||||
color="#C52733"
|
||||
@confirm="handleDateChange"
|
||||
@close="hideCalendar"
|
||||
@@ -111,10 +110,9 @@ export default {
|
||||
startDate: e[0],
|
||||
endDate: e[e.length - 1]
|
||||
}
|
||||
// 如果选择的天数小于minDay,提示用户选择至少minDay天
|
||||
if (e.length < this.minDay) {
|
||||
if (e.length !== this.minDay) {
|
||||
uni.showToast({
|
||||
title: `请选择至少${this.minDay}天`,
|
||||
title: `团购天数必须为${this.minDay}天`,
|
||||
icon: 'none'
|
||||
})
|
||||
this.resetSelection()
|
||||
|
||||
Reference in New Issue
Block a user