From 623859790a3f074c103c792e5eaca33b199dbb91 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期二, 06 八月 2024 15:14:41 +0800 Subject: [PATCH] update 花店端的一些细节功能、打印的、合伙人推广二维码的 --- pages/user/supplier-user.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue index 1f27ba8..7fd4739 100644 --- a/pages/user/supplier-user.vue +++ b/pages/user/supplier-user.vue @@ -173,7 +173,8 @@ </view> </view> <!-- #ifdef PUB_PARTNER --> - <view class="user-util m-t-12 flex" v-if="selftype==='partner'" + <view class="user-util m-t-12 flex" + v-if="selftype==='partner'&¤tInfo.partnerDTO&¤tInfo.partnerDTO.id&¤tInfo.partnerDTO.status=='P'" @click="goto('/sub_pages/partner/partner-info/partner-code',true)"> <view class="title">推广的注册二维码</view> <view class="right-icon"> @@ -364,7 +365,8 @@ // #ifdef PUB_CUSTOMER onShareAppMessage() { let that = this; - var name = that.currentInfo.customerDTO&&that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO&&that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO&&that.currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO && + that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || '' var url = `/pages/home/home?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { @@ -374,8 +376,8 @@ }, onShareTimeline() { let that = this; - var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO && - that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || '' + var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO && + that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || '' var url = `/pages/home/home?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 return { -- Gitblit v1.9.3