Commit 1e8bca1e87d57b78efad29a07c701eb89009b3ae
1 parent
bc3fbd76
商户券明细
Showing
1 changed file
with
16 additions
and
0 deletions
pages/businessCard/cardDetail.vue
... | ... | @@ -334,21 +334,37 @@ export default { |
334 | 334 | console.log('picker发送选择改变,携带值为', e.detail.value) |
335 | 335 | this.index = e.detail.value |
336 | 336 | this.cardType = storage[this.index].id |
337 | + this.pageNum = 1 | |
338 | + this.pageSize = this.pageSize | |
339 | + this.totalPages = 1 | |
340 | + this.dataList = [] | |
337 | 341 | this.couponIssuedParkPage() |
338 | 342 | }, |
339 | 343 | bindPickerChangeWay: function (e, storage) { |
340 | 344 | console.log(storage) |
341 | 345 | this.indexWay = e.detail.value |
342 | 346 | this.isUesed = storage[this.indexWay].id |
347 | + this.pageNum = 1 | |
348 | + this.pageSize = this.pageSize | |
349 | + this.totalPages = 1 | |
350 | + this.dataList = [] | |
343 | 351 | this.couponIssuedParkPage() |
344 | 352 | }, |
345 | 353 | bindStartDateChange: function (e) { |
346 | 354 | console.log(e.detail.value) |
347 | 355 | this.beginTime = e.detail.value |
356 | + this.pageNum = 1 | |
357 | + this.pageSize = this.pageSize | |
358 | + this.totalPages = 1 | |
359 | + this.dataList = [] | |
348 | 360 | this.couponIssuedParkPage() |
349 | 361 | }, |
350 | 362 | bindEndDateChange: function (e) { |
351 | 363 | this.endTime = e.detail.value |
364 | + this.pageNum = 1 | |
365 | + this.pageSize = this.pageSize | |
366 | + this.totalPages = 1 | |
367 | + this.dataList = [] | |
352 | 368 | this.couponIssuedParkPage() |
353 | 369 | }, |
354 | 370 | getDate(type) { | ... | ... |