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,21 +334,37 @@ export default { | ||
334 | console.log('picker发送选择改变,携带值为', e.detail.value) | 334 | console.log('picker发送选择改变,携带值为', e.detail.value) |
335 | this.index = e.detail.value | 335 | this.index = e.detail.value |
336 | this.cardType = storage[this.index].id | 336 | this.cardType = storage[this.index].id |
337 | + this.pageNum = 1 | ||
338 | + this.pageSize = this.pageSize | ||
339 | + this.totalPages = 1 | ||
340 | + this.dataList = [] | ||
337 | this.couponIssuedParkPage() | 341 | this.couponIssuedParkPage() |
338 | }, | 342 | }, |
339 | bindPickerChangeWay: function (e, storage) { | 343 | bindPickerChangeWay: function (e, storage) { |
340 | console.log(storage) | 344 | console.log(storage) |
341 | this.indexWay = e.detail.value | 345 | this.indexWay = e.detail.value |
342 | this.isUesed = storage[this.indexWay].id | 346 | this.isUesed = storage[this.indexWay].id |
347 | + this.pageNum = 1 | ||
348 | + this.pageSize = this.pageSize | ||
349 | + this.totalPages = 1 | ||
350 | + this.dataList = [] | ||
343 | this.couponIssuedParkPage() | 351 | this.couponIssuedParkPage() |
344 | }, | 352 | }, |
345 | bindStartDateChange: function (e) { | 353 | bindStartDateChange: function (e) { |
346 | console.log(e.detail.value) | 354 | console.log(e.detail.value) |
347 | this.beginTime = e.detail.value | 355 | this.beginTime = e.detail.value |
356 | + this.pageNum = 1 | ||
357 | + this.pageSize = this.pageSize | ||
358 | + this.totalPages = 1 | ||
359 | + this.dataList = [] | ||
348 | this.couponIssuedParkPage() | 360 | this.couponIssuedParkPage() |
349 | }, | 361 | }, |
350 | bindEndDateChange: function (e) { | 362 | bindEndDateChange: function (e) { |
351 | this.endTime = e.detail.value | 363 | this.endTime = e.detail.value |
364 | + this.pageNum = 1 | ||
365 | + this.pageSize = this.pageSize | ||
366 | + this.totalPages = 1 | ||
367 | + this.dataList = [] | ||
352 | this.couponIssuedParkPage() | 368 | this.couponIssuedParkPage() |
353 | }, | 369 | }, |
354 | getDate(type) { | 370 | getDate(type) { |