|
@@ -182,15 +182,15 @@ export default {
|
|
|
// 创建时间change
|
|
|
onChange (dates, dateStrings) {
|
|
|
if ((dates, dateStrings)) {
|
|
|
- this.searchData.startTime = dateStrings[0]
|
|
|
- this.searchData.endTime = dateStrings[1]
|
|
|
+ this.searchData.startTime = dateStrings[0] || null
|
|
|
+ this.searchData.endTime = dateStrings[1] || null
|
|
|
}
|
|
|
},
|
|
|
// 充值时间change
|
|
|
onRechargeChange (dates, dateStrings) {
|
|
|
- if ((dates, dateStrings)) {
|
|
|
- this.searchData.useTimeStart = dateStrings[0]
|
|
|
- this.searchData.useTimeEnd = dateStrings[1]
|
|
|
+ if (dates, dateStrings) {
|
|
|
+ this.searchData.useTimeStart = dateStrings[0] || null
|
|
|
+ this.searchData.useTimeEnd = dateStrings[1] || null
|
|
|
}
|
|
|
},
|
|
|
// 获取充值码
|