jinhui.wang

日期清空

...@@ -171,6 +171,9 @@ export default { ...@@ -171,6 +171,9 @@ export default {
171 if (this.accsDate != null && this.accsDate.length > 0) { 171 if (this.accsDate != null && this.accsDate.length > 0) {
172 obj.fltDateStart = this.accsDate[0] 172 obj.fltDateStart = this.accsDate[0]
173 obj.fltDateEnd = this.accsDate[1] 173 obj.fltDateEnd = this.accsDate[1]
174 + } else {
175 + obj.fltDateStart = null
176 + obj.fltDateEnd = null
174 } 177 }
175 findDmPreMdeData(obj).then(res => { 178 findDmPreMdeData(obj).then(res => {
176 this.tableLoading = false 179 this.tableLoading = false
...@@ -192,6 +195,9 @@ export default { ...@@ -192,6 +195,9 @@ export default {
192 if (this.accsDate != null && this.accsDate.length > 0) { 195 if (this.accsDate != null && this.accsDate.length > 0) {
193 data.fltDateStart = this.accsDate[0] 196 data.fltDateStart = this.accsDate[0]
194 data.fltDateEnd = this.accsDate[1] 197 data.fltDateEnd = this.accsDate[1]
198 + } else {
199 + data.fltDateStart = null
200 + data.fltDateEnd = null
195 } 201 }
196 downLoadXlsx("/dmPreMde/excel", data, "Pre-MDE查询表") 202 downLoadXlsx("/dmPreMde/excel", data, "Pre-MDE查询表")
197 .then(() => { 203 .then(() => {
......