Showing
1 changed file
with
10 additions
and
7 deletions
@@ -16,9 +16,10 @@ var page = 1, | @@ -16,9 +16,10 @@ var page = 1, | ||
16 | isGetData; | 16 | isGetData; |
17 | 17 | ||
18 | var conponTmpl = Handlebars.compile($('#tmpl-coupon').html()), | 18 | var conponTmpl = Handlebars.compile($('#tmpl-coupon').html()), |
19 | - conponNotAvaliableTmpl = Handlebars.compile($('#tmpl-coupon-not-avaliable').html()), | ||
20 | $newCoupon = $('#new-coupon'); | 19 | $newCoupon = $('#new-coupon'); |
21 | 20 | ||
21 | +// conponNotAvaliableTmpl = Handlebars.compile($('#tmpl-coupon-not-avaliable').html()), | ||
22 | + | ||
22 | ellipsis.init(); | 23 | ellipsis.init(); |
23 | 24 | ||
24 | $newCoupon.on('submit', function() { | 25 | $newCoupon.on('submit', function() { |
@@ -109,15 +110,17 @@ function getCouponHandle(coupons) { | @@ -109,15 +110,17 @@ function getCouponHandle(coupons) { | ||
109 | } | 110 | } |
110 | }); | 111 | }); |
111 | 112 | ||
112 | - if (notAvailableCoupons.length) { | ||
113 | - $('.not-avaliable-coupon-line').show(); | ||
114 | - } | ||
115 | $('#coupon-list').append(conponTmpl({ | 113 | $('#coupon-list').append(conponTmpl({ |
116 | coupons: coupons | 114 | coupons: coupons |
117 | })); | 115 | })); |
118 | - $('#coupon-list-not').append(conponNotAvaliableTmpl({ | ||
119 | - notAvailableCoupons: notAvailableCoupons | ||
120 | - })); | 116 | + |
117 | + // 产品说,暂时不做不可使用的优惠券 | ||
118 | + // if (notAvailableCoupons.length) { | ||
119 | + // $('.not-avaliable-coupon-line').show(); | ||
120 | + // } | ||
121 | + // $('#coupon-list-not').append(conponNotAvaliableTmpl({ | ||
122 | + // notAvailableCoupons: notAvailableCoupons | ||
123 | + // })); | ||
121 | window.rePosFooter(); | 124 | window.rePosFooter(); |
122 | } | 125 | } |
123 | 126 |
-
Please register or login to post a comment