mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:33:27 +08:00
【修复】修复后台关闭优惠券功能,但是个人用户中心【我的服务】未屏蔽【我的发票】,用户下单界面未屏蔽【优惠券】选择的问题。
This commit is contained in:
@@ -287,7 +287,7 @@
|
||||
showItem: false
|
||||
},
|
||||
myIntegral: {
|
||||
name: '我的' + this.$store.state.config.pointShowName,
|
||||
name: '我的' + (this.$store.state.config.pointShowName || '积分'),
|
||||
icon: 'integral',
|
||||
router: '/pages/member/integral/index',
|
||||
showItem: true
|
||||
@@ -495,6 +495,7 @@
|
||||
_this.utilityMenus.myServices.showItem = _this.config.showServicePackage == 1;
|
||||
//优惠券
|
||||
_this.vas.coupons.showItem = _this.config.showCoupon == 1;
|
||||
_this.utilityMenus.myCoupon.showItem = _this.config.showCoupon == 1;
|
||||
//拼团
|
||||
_this.vas.pinTuan.showItem = _this.config.showPinTuan == 1;
|
||||
//秒杀
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
</view>
|
||||
|
||||
<!--优惠券-->
|
||||
<view class="coreshop-margin-top-10 coreshop-margin-bottom-10 coreshop-common-view-box" v-if="userCoupons.length>0 && orderType== $globalConstVars.paymentType.common">
|
||||
<view class="coreshop-margin-top-10 coreshop-margin-bottom-10 coreshop-common-view-box" v-if="userCoupons.length>0 && orderType== $globalConstVars.paymentType.common && isShowCoupon">
|
||||
<view class="coreshop-bg-white coreshop-card goods-view">
|
||||
<view class="coreshop-text-black coreshop-gift-list">
|
||||
<view class="u-line-1 title">优惠券</view>
|
||||
@@ -895,6 +895,10 @@
|
||||
isOpenPoint() {
|
||||
return this.$store.state.config.pointSwitch
|
||||
},
|
||||
// 判断是否开启了我的优惠券 1开启 2未开启
|
||||
isShowCoupon() {
|
||||
return this.$store.state.config.showCoupon == 2;
|
||||
},
|
||||
// 获取使用的优惠券名称
|
||||
usedCouponsCompute() {
|
||||
var userCouponsCount = this.userCoupons.length;
|
||||
|
||||
Reference in New Issue
Block a user