陶杰
2024-11-12 767ca1416d96ff1d2f8d346c0a1bdd36bc6557f5
pages/home/supplier-home.vue
@@ -39,8 +39,25 @@
            <view class="name">
               <view class="t1">
                  {{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span
                     v-if="currentInfo.supplierDTO&&currentInfo.supplierDTO.status!=='P'">
                  <!-- {{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}} -->
                  <span v-if="currentInfo.partnerDTO && currentInfo.partnerDTO.name">
                     {{ currentInfo.partnerDTO.name }}
                  </span>
                  <span v-else-if="currentInfo.supplierDTO && currentInfo.supplierDTO.name">
                     {{ currentInfo.supplierDTO.name }}
                  </span>
                  <span v-else-if="currentInfo.customerDTO && currentInfo.customerDTO.name">
                     {{ currentInfo.customerDTO.name }}
                  </span>
                  <span v-else-if="currentInfo.nickName">
                     {{ currentInfo.nickName }}
                  </span>
                  <span v-else-if="currentInfo.loginName">
                     {{ currentInfo.loginName }}
                  </span>
                  <span v-else>-</span>
                  <span v-if="currentInfo.supplierDTO&&currentInfo.supplierDTO.status!=='P'">
                     ({{currentInfo.supplierDTO?currentInfo.supplierDTO.statusStr:''}})</span>
                  <span v-if="currentInfo.partnerDTO&&currentInfo.partnerDTO.status!=='P'">
                     ({{currentInfo.partnerDTO?currentInfo.partnerDTO.statusStr:''}})</span>
@@ -196,6 +213,7 @@
               </view>
               <view class="order-desc syst">售后理赔</view>
            </view>
            <!-- <view class="nav row margin-tb" @click="printDeliveryOrder">
               <view class="img-c">
                  <image class="icon margin-bottom order-icon kkjl"
@@ -203,6 +221,24 @@
               </view>
               <view class="order-desc wbsp">测试蓝牙</view>
            </view> -->
         </view>
         <view class="flex order-icons m-t-12">
            <view class="nav row margin-tb" v-if="selftype==='supplier'" @click="goto('/sub_pages/supplier/wallet/my-wallet',true)">
               <view class="img-c">
                  <image class="icon margin-bottom order-icon shlp"
                     src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/8d/8d72f2df8a4348ac90bfbfb553a9cc71qianbao.png" mode="scaleToFill" />
               </view>
               <view class="order-desc syst">我的钱包</view>
            </view>
            <view class="nav row margin-tb">
            </view>
            <view class="nav row margin-tb">
            </view>
            <view class="nav row margin-tb">
            </view>
         </view>
      </view>
@@ -260,7 +296,7 @@
      },
      async onPullDownRefresh() {
         await this.$store.dispatch('getCurrentInfo')
         await getTj(true)
         await this.getTj(true)
         uni.stopPullDownRefresh()
      },
      onLoad(options) {