修复优惠券问题
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
</view>
|
||||
</template>
|
||||
<template v-else>
|
||||
<view class="row" v-if="couponType == 1">
|
||||
<view class="row" v-if="couponType == 1 || couponType == 3">
|
||||
<text class="title">使用门槛</text>
|
||||
<text class="info">满{{ item.fullAmount }}元减{{ item.discountAmount }}元</text>
|
||||
</view>
|
||||
@@ -75,7 +75,7 @@
|
||||
</view>
|
||||
<view class="row">
|
||||
<text class="title">发放方式</text>
|
||||
<text class="info">用户{{ getEmunListLabel('getType', item.getType) }}</text>
|
||||
<text class="info">{{ getEmunListLabel('getType', item.getType) }}</text>
|
||||
</view>
|
||||
<view class="row">
|
||||
<text class="title">有效期</text>
|
||||
@@ -87,7 +87,7 @@
|
||||
</text>
|
||||
</view>
|
||||
</template>
|
||||
<view class="row">
|
||||
<view class="row" v-if="couponType != 3 && couponType != 1">
|
||||
<text class="title">创建时间</text>
|
||||
<text class="info">{{ item.createTime }}</text>
|
||||
</view>
|
||||
@@ -115,6 +115,7 @@ const scrollLeft = ref(0); // scroll-view的滚动距离
|
||||
// 切换类型
|
||||
function changeType(type, index) {
|
||||
couponType.value = type;
|
||||
tableData.query = '';
|
||||
resetGetData();
|
||||
calculateCenterScroll(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user