wangfei пре 6 година
родитељ
комит
f55e6f0747
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/pages/user/placeOrderDetail/index.vue

+ 1
- 1
src/pages/user/placeOrderDetail/index.vue Прегледај датотеку

@@ -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,