Commit 70932ad1eceaad42d6c2fe4e915ab62589f457db
1 parent
f813e1f4
微券兑换
Showing
1 changed file
with
28 additions
and
28 deletions
packageB/pages/coupons/query/index.js
@@ -198,7 +198,7 @@ Page({ | @@ -198,7 +198,7 @@ Page({ | ||
198 | var store_id = os.stoid; | 198 | var store_id = os.stoid; |
199 | 199 | ||
200 | 200 | ||
201 | - this.getData(true, '/api/weshop/users/listExchangeCoupons?pageSize=10', { | 201 | + this.getData(true, '/api/weshop/users/listExchangeCoupons', { |
202 | user_id: user_id, store_id: store_id, | 202 | user_id: user_id, store_id: store_id, |
203 | }).then(()=>{ | 203 | }).then(()=>{ |
204 | _this.setData({ | 204 | _this.setData({ |
@@ -485,7 +485,7 @@ Page({ | @@ -485,7 +485,7 @@ Page({ | ||
485 | if(this.data.currentIndex != 3) { | 485 | if(this.data.currentIndex != 3) { |
486 | this.wjquery(); | 486 | this.wjquery(); |
487 | } else { | 487 | } else { |
488 | - this.scrollToLower('/api/weshop/users/listExchangeCoupons?pageSize=10', { | 488 | + this.scrollToLower('/api/weshop/users/listExchangeCoupons', { |
489 | user_id: getApp().globalData.user_id, | 489 | user_id: getApp().globalData.user_id, |
490 | store_id: os.stoid, | 490 | store_id: os.stoid, |
491 | }, function() { | 491 | }, function() { |
@@ -499,35 +499,35 @@ Page({ | @@ -499,35 +499,35 @@ Page({ | ||
499 | 499 | ||
500 | 500 | ||
501 | //起始时间 | 501 | //起始时间 |
502 | - bindDateChenge: function(e) { | ||
503 | - console.log("是什么", e.detail.value); | ||
504 | - var isBind = false; | ||
505 | - this.setData({ | ||
506 | - datet: e.detail.value, isBind: isBind | ||
507 | - }); | ||
508 | - }, | 502 | + // bindDateChenge: function(e) { |
503 | + // console.log("是什么", e.detail.value); | ||
504 | + // var isBind = false; | ||
505 | + // this.setData({ | ||
506 | + // datet: e.detail.value, isBind: isBind | ||
507 | + // }); | ||
508 | + // }, | ||
509 | // 结束时间 | 509 | // 结束时间 |
510 | - bindDateChenges: function(e) { | ||
511 | - console.log("是什么", e.detail.value); | ||
512 | - var isBinds = false; | ||
513 | - this.setData({ | ||
514 | - dates: e.detail.value, isBinds: isBinds | ||
515 | - }); | ||
516 | - }, | 510 | + // bindDateChenges: function(e) { |
511 | + // console.log("是什么", e.detail.value); | ||
512 | + // var isBinds = false; | ||
513 | + // this.setData({ | ||
514 | + // dates: e.detail.value, isBinds: isBinds | ||
515 | + // }); | ||
516 | + // }, | ||
517 | //catchtap阻止冒泡,点击清除开始时间的按钮 | 517 | //catchtap阻止冒泡,点击清除开始时间的按钮 |
518 | - eliminate:function(){ | ||
519 | - console.log("试试"); | ||
520 | - var isBind= true; | ||
521 | - var data=""; | ||
522 | - this.setData({ datet: data, isBind: isBind}) | ||
523 | - }, | 518 | + // eliminate:function(){ |
519 | + // console.log("试试"); | ||
520 | + // var isBind= true; | ||
521 | + // var data=""; | ||
522 | + // this.setData({ datet: data, isBind: isBind}) | ||
523 | + // }, | ||
524 | //catchtap阻止冒泡,点击清除结束时间的按钮 | 524 | //catchtap阻止冒泡,点击清除结束时间的按钮 |
525 | - eliminates: function () { | ||
526 | - console.log("试试"); | ||
527 | - var isBinds = true; | ||
528 | - var dates = ""; | ||
529 | - this.setData({ dates: dates, isBinds: isBinds }) | ||
530 | - }, | 525 | + // eliminates: function () { |
526 | + // console.log("试试"); | ||
527 | + // var isBinds = true; | ||
528 | + // var dates = ""; | ||
529 | + // this.setData({ dates: dates, isBinds: isBinds }) | ||
530 | + // }, | ||
531 | 531 | ||
532 | 532 | ||
533 | 533 |