|
|
@@ -206,6 +206,9 @@
|
|
|
>
|
|
|
<view>
|
|
|
<view>{{ item.couponName }}</view>
|
|
|
+ <view>
|
|
|
+ {{ item.shopId == 0 ? '平台优惠券' : '商家优惠券' }}
|
|
|
+ </view>
|
|
|
<view>有效期至{{ item.expirationTime }}</view>
|
|
|
</view>
|
|
|
<view class="text-sm text-bold">
|
|
|
@@ -848,7 +851,7 @@ export default {
|
|
|
this.$Request.get('/app/coupon/selectUserCouponList', data).then((res) => {
|
|
|
if (res.code == 0) {
|
|
|
this.couponList = res.data.list
|
|
|
- // console.log(this.couponList,'this.couponList',this.coupon)
|
|
|
+ console.log(this.couponList, 'this.couponList', this.coupon)
|
|
|
if (this.coupon) {
|
|
|
let activityExists = this.couponList.some((item) => item.couponId === this.coupon.couponId)
|
|
|
if (!activityExists) {
|