|
@@ -132,7 +132,7 @@ export default {
|
132
|
132
|
for (var n = 0; n < res.length; n++) {
|
133
|
133
|
res[n].Coupon.Targets = res[n].Coupon.Targets || []
|
134
|
134
|
if (res[n].Coupon.CouponType === 'goods' && res[n].Status === 1) {
|
135
|
|
- if (res[n].Coupon.IsAll && nowDate >= new Date(res[n].StartDate).getTime() && nowDate < new Date(res[n].EndDate).getTime()) {
|
|
135
|
+ if (res[n].Coupon.IsAll && nowDate >= new Date(res[n].StartDate).getTime() && nowDate < new Date(res[n].EndDate).getTime() && res[n].CaseId === this.$route.query.caseid) {
|
136
|
136
|
this.couponList.push({
|
137
|
137
|
title: res[n].Coupon.CouponName,
|
138
|
138
|
desc: res[n].Coupon.Share.UseInstruction,
|