From 51edf3ba7b1e5aa58220f90ee895835bbdfd922e Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 17 七月 2024 14:33:01 +0800 Subject: [PATCH] update 合伙人信息维护 --- pages/home/supplier-home.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue index 7d7528c..c920aee 100644 --- a/pages/home/supplier-home.vue +++ b/pages/home/supplier-home.vue @@ -19,9 +19,13 @@ <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> <view class="name"> - <view class="t1">{{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span + <view class="t1"> + {{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span v-if="currentInfo.supplierDTO&¤tInfo.supplierDTO.status!=='P'"> ({{currentInfo.supplierDTO?currentInfo.supplierDTO.statusStr:''}})</span> + <span v-if="currentInfo.partnerDTO&¤tInfo.partnerDTO.status!=='P'"> + ({{currentInfo.partnerDTO?currentInfo.partnerDTO.statusStr:''}})</span> + <span v-if="!currentInfo.partnerDTO&¤tInfo.type==='partner'">(信息待完善)</span> </view> <view class="t2">{{currentInfo.tel || '暂无电话'}}</view> </view> @@ -44,7 +48,7 @@ </view> </view> <view class="line"></view> - + <view class="flex tj-container" v-if="selftype==='supplier'"> <view class="tj-each"> <view class="num"> @@ -251,7 +255,7 @@ methods: { async toFlowManage() { - + if (!this.currentInfo.supplierDTO) { await this.$message.confirm('尚未入驻店铺信息,是否前往入驻?') this.goto('/sub_pages/supplier/supplier-info/supplier-info', true) @@ -262,7 +266,7 @@ this.$message.showLoading() await this.$store.dispatch('getCurrentInfo') this.$message.hideLoading() - + if (this.currentInfo.supplierDTO.status == 'P') { } else { -- Gitblit v1.9.3