|
@@ -368,15 +368,9 @@ export default {
|
|
},
|
|
},
|
|
// 创建时间 change
|
|
// 创建时间 change
|
|
dateChange (date) {
|
|
dateChange (date) {
|
|
- if (date.length) {
|
|
|
|
- if (date[0] == '' && date[1] == '') {
|
|
|
|
- this.resetSearchForm()
|
|
|
|
- } else {
|
|
|
|
- this.queryParam.time = date
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- this.queryParam.beginDate = date[0]
|
|
|
|
- this.queryParam.endDate = date[1]
|
|
|
|
|
|
+ this.queryParam.time = date
|
|
|
|
+ this.queryParam.beginDate = date[0] || ''
|
|
|
|
+ this.queryParam.endDate = date[1] || ''
|
|
},
|
|
},
|
|
custChange (val) {
|
|
custChange (val) {
|
|
this.queryParam.dealer.dealerSn = val.key
|
|
this.queryParam.dealer.dealerSn = val.key
|