|
@@ -306,7 +306,8 @@ export default {
|
306
|
306
|
SentCount: res.list[n].SentCount,
|
307
|
307
|
usedCount: res.list[n].UsedCount,
|
308
|
308
|
CardId: res.list[n].CouponId,
|
309
|
|
- CustomerList: res.list[n].CustomerCoupon || []
|
|
309
|
+ CustomerList: res.list[n].CustomerCoupon || [],
|
|
310
|
+ ValidDays: res.list[n].ValidDays
|
310
|
311
|
})
|
311
|
312
|
}
|
312
|
313
|
var count = 0
|
|
@@ -398,6 +399,9 @@ export default {
|
398
|
399
|
}
|
399
|
400
|
},
|
400
|
401
|
returnInvalid (item, type) {
|
|
402
|
+ if (item.ValidDays && item.ValidDays > 0) {
|
|
403
|
+ return true
|
|
404
|
+ }
|
401
|
405
|
for (var n = 0; n < this.forbidList.length; n++) {
|
402
|
406
|
if (this.forbidList[n].UserId === this.userInfo.customer.CustomerId && this.forbidList[n].ForbidType === type) {
|
403
|
407
|
return true
|