From a90ac240c499e686793744b25732b6ac6a57edfd Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 26 Nov 2025 10:46:51 +0800
Subject: [PATCH] 1、商家端添加会员管理 2、修复分会绑定会长时获取获取会员信息报错 3、修复添加分会成员是没保存分会id问题 4、修复获取分会成员时获取的是所有的分会的成员
---
mobile/pages/user/my-coupon/my-coupon.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/mobile/pages/user/my-coupon/my-coupon.vue b/mobile/pages/user/my-coupon/my-coupon.vue
index 39f1862..35cc6f3 100644
--- a/mobile/pages/user/my-coupon/my-coupon.vue
+++ b/mobile/pages/user/my-coupon/my-coupon.vue
@@ -78,7 +78,7 @@
<button type="default" v-if="sup_item.coupon_type.value == 10 && sup_item.use_permission !=1" class="btn-gray coupon-text mt10" v-on:click.stop="gotoPages(sup_item)">
查看券码
</button>
- <button type="default" v-if="sup_item.state.value>0 && sup_item.use_permission !=2" class="btn-gray coupon-text mt10" v-on:click.stop="gotoPages(sup_item)">
+ <button type="default" v-if="sup_item.state.value>0 && sup_item.use_permission !=2" class="btn-gray coupon-text mt10" v-on:click.stop="gotoPages(sup_item,(sup_item.coupon_type.value == 30?0:1))">
{{sup_item.coupon_type.value == 30?'查看券码':'立即使用'}}
</button>
<button type="default" v-else class="btn-gray mt30" v-on:click.stop>
@@ -263,8 +263,10 @@
closeRule(item) {
item.rule = false;
},
- gotoPages(sup_item) {
- if (sup_item.apply_range != 10 || sup_item.coupon_type.value == 30) {
+ gotoPages(sup_item,type=0) {
+ if(type){
+ this.gotoPage('/pages/product/category');
+ }else if (sup_item.apply_range != 10 || sup_item.coupon_type.value == 30) {
this.gotoPage('/pages/user/my-coupon/my-detail?user_coupon_id='+ sup_item.user_coupon_id+'&apply_range='+sup_item.apply_range);
}else if (sup_item.use_permission != 1 || sup_item.coupon_type.value == 10) {
//满减券 具有线下核销权限 byyj 2024.1.16
--
Gitblit v1.9.2