Commit d64ddbab by 李伟康

commit 日期默认

1 parent f5b026ca
...@@ -130,7 +130,8 @@ export default { ...@@ -130,7 +130,8 @@ export default {
merchantId: '', merchantId: '',
scriptMatching: '', scriptMatching: '',
receptionist: '', receptionist: '',
solutionBrowsing: '' solutionBrowsing: '',
searchdate:[new Date(),new Date()]
}, },
searchFormSearch: {}, searchFormSearch: {},
currentItem: {}, currentItem: {},
...@@ -325,8 +326,7 @@ export default { ...@@ -325,8 +326,7 @@ export default {
date2 = dayjs(searchEndDate), date2 = dayjs(searchEndDate),
day = date2.diff(date1, "day") + 1 day = date2.diff(date1, "day") + 1
if (day > 30) { if (day > 30) {
this.$message.error(`${type == 1 ? "查询" : "导出"}的时间跨度最大为30天,请重新选择日期范围`) reject(`${type == 1 ? "查询" : "导出"}的时间跨度最大为30天,请重新选择日期范围`)
reject()
} }
} }
delete this.searchFormSearch.searchdate 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!