Showing
1 changed file
with
6 additions
and
1 deletions
| ... | @@ -100,7 +100,7 @@ | ... | @@ -100,7 +100,7 @@ |
| 100 | clearable | 100 | clearable |
| 101 | filterable | 101 | filterable |
| 102 | placeholder="" | 102 | placeholder="" |
| 103 | - @focus="getCustomerList" | 103 | + @focus.stop="getCustomerList" |
| 104 | > | 104 | > |
| 105 | <el-option | 105 | <el-option |
| 106 | v-for="(item, index) in ebcDataList" | 106 | v-for="(item, index) in ebcDataList" |
| ... | @@ -288,8 +288,13 @@ export default { | ... | @@ -288,8 +288,13 @@ export default { |
| 288 | }); | 288 | }); |
| 289 | }, | 289 | }, |
| 290 | dateChange(val) { | 290 | dateChange(val) { |
| 291 | + if (val) { | ||
| 291 | this.formData.startTime = val[0] + " 00:00:00"; | 292 | this.formData.startTime = val[0] + " 00:00:00"; |
| 292 | this.formData.endTime = val[1] + " 23:59:59"; | 293 | this.formData.endTime = val[1] + " 23:59:59"; |
| 294 | + } else { | ||
| 295 | + this.formData.startTime = ""; | ||
| 296 | + this.formData.endTime = ""; | ||
| 297 | + } | ||
| 293 | this.formData.ebpcode = ""; | 298 | this.formData.ebpcode = ""; |
| 294 | }, | 299 | }, |
| 295 | getDeclareType() { | 300 | getDeclareType() { | ... | ... |
-
Please register or login to post a comment