Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -57,7 +57,7 @@ Page({ | @@ -57,7 +57,7 @@ Page({ | ||
| 57 | }, | 57 | }, |
| 58 | // 提交订单 | 58 | // 提交订单 |
| 59 | submitOrder: util.throttle(function () { | 59 | submitOrder: util.throttle(function () { |
| 60 | - if (this.data.dataStr > (this.data.detail.etime * 1)) { | 60 | + if (this.data.detail.aexpiration && this.data.detail.aexpiration.valid_forever != '1' && (this.data.dataStr > (this.data.detail.etime * 1))) { |
| 61 | return wx.showToast({ | 61 | return wx.showToast({ |
| 62 | title: '优惠券已过期,不可购买!', | 62 | title: '优惠券已过期,不可购买!', |
| 63 | duration: 2000, | 63 | duration: 2000, |
-
Please register or login to post a comment