1.判断加油站点为空

master
杨杰 3 years ago
parent 57e7639a00
commit 4c26b12fa5
  1. 8
      high-unionPay/pages/goods/coupon-details/coupon-details.vue

@ -13,7 +13,7 @@
<view class="fontwig6 font13 fcor999 mart5" v-if="oneTime">领取时间:{{oneTime | formatDate('-')}}</view>
<view class="fontwig6 font13 fcor999 mart5" v-if="twoTime">使用有效期:{{twoTime | formatDate('-')}}</view>
<view class="fontwig6 font13 fcor999 mart5" v-if="threeTime">消费时间:{{threeTime | formatDate('-')}}</view>
<view class="fontwig6 font13 fcor999 mart5" v-if="couponDesInfo.couponCodeInfo.storeName">加油站点:{{couponDesInfo.couponCodeInfo.storeName}}</view>
<view class="fontwig6 font13 fcor999 mart5" v-if="storeName">加油站点:{{storeName}}</view>
</view>
@ -109,7 +109,8 @@
menddesId: '',
pageNum: 1,
pageSize: 10,
isNoMoreData: false
isNoMoreData: false,
storeName : ''
}
},
onLoad(option) {
@ -157,6 +158,9 @@
this.threeTime = res.return_data.highUserCoupon.consumeTime;
return;
}
if(res.return_data.couponCodeInfo.storeName && res.return_data.couponCodeInfo.storeName != undefined){
this.storeName = res.return_data.couponCodeInfo.storeName;
}
this.getStoreListByCoupon();
this.oneTime = res.return_data.highUserCoupon.createTime;
this.twoTime = res.return_data.highUserCoupon.useEndTime;

Loading…
Cancel
Save