Commit d64ddbab by 李伟康

commit 日期默认

1 parent f5b026ca
......@@ -130,7 +130,8 @@ export default {
merchantId: '',
scriptMatching: '',
receptionist: '',
solutionBrowsing: ''
solutionBrowsing: '',
searchdate:[new Date(),new Date()]
},
searchFormSearch: {},
currentItem: {},
......@@ -325,8 +326,7 @@ export default {
date2 = dayjs(searchEndDate),
day = date2.diff(date1, "day") + 1
if (day > 30) {
this.$message.error(`${type == 1 ? "查询" : "导出"}的时间跨度最大为30天,请重新选择日期范围`)
reject()
reject(`${type == 1 ? "查询" : "导出"}的时间跨度最大为30天,请重新选择日期范围`)
}
}
delete this.searchFormSearch.searchdate
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!