|
@@ -2,7 +2,7 @@
|
|
|
<a-card :bordered="false">
|
|
|
<!-- 搜索条件 -->
|
|
|
<div class="orderCenter-searchForm">
|
|
|
- <a-form ref="searchForm">
|
|
|
+ <a-form ref="searchForm" @keyup.enter.native="handleSearch">
|
|
|
<a-row :gutter="48">
|
|
|
<a-col :span="6">
|
|
|
<a-form-item label="核销时间" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
|
|
@@ -230,7 +230,7 @@ export default {
|
|
|
},
|
|
|
// 查询
|
|
|
handleSearch () {
|
|
|
- this.$refs.table.refresh()
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
this.getTotal()
|
|
|
},
|
|
|
// 重置
|
|
@@ -258,6 +258,10 @@ export default {
|
|
|
queryWorld: this.searchForm.queryWorld,
|
|
|
bundName: this.searchForm.bundName
|
|
|
}
|
|
|
+ if (!params.beginDate && !params.endDate) {
|
|
|
+ this.$message.error('请先选择需要导出的核销时间段再进行导出!')
|
|
|
+ return
|
|
|
+ }
|
|
|
if (!completeDate(params.beginDate, params.endDate, 3)) {
|
|
|
this.$message.error('单次最多只能导出3个月的数据,请缩小查询区间后再进行导出!')
|
|
|
return
|