| src/views/tickets/orderLog.vue | ●●●●● patch | view | raw | blame | history |
src/views/tickets/orderLog.vue
@@ -880,6 +880,17 @@ this.form.begin_time = this.formatDate(dateRange[0]) this.form.end_time = this.formatDate(dateRange[1]) // 如果选中日期包含当前天,那么选中的时间点不能小于当前时间 if (this.form.deal_time) { const selectedDate = dayjs(this.form.date_range[0]).format('YYYY-MM-DD') const selectedTime = dayjs(selectedDate + ' ' + this.form.deal_time).toDate() const now = new Date() if (selectedDate === dayjs().format('YYYY-MM-DD') && selectedTime < now) { return this.$message.warning('任务时间不能小于当前时间') } } const submitData = { ...this.form,