qymljy 1 năm trước cách đây
mục cha
commit
7599f9b471
1 tập tin đã thay đổi với 9 bổ sung4 xóa
  1. 9 4
      src/HManagement/accountManage/modules/account_detail.vue

+ 9 - 4
src/HManagement/accountManage/modules/account_detail.vue

@@ -174,14 +174,19 @@ export default {
         [{
           title:this.$t('基本信息'),
           info: [
-            {label:this.$t('经销商编号'),value:this.accountInfo.agentnum},
+            {label:this.mainData.usertype == '21'?this.$t(`合作伙伴编号`):this.$t('经销商编号'),value:this.accountInfo.agentnum},
             {label:this.$t('erp编号'),value:this.accountInfo.erpagentnum},
             {label:this.$t('是否服务经销商'),value:this.accountInfo.isservice?this.$t('是'):this.$t('否')},
             {label:this.$t('状态'),value:this.accountInfo.status},
             {label:this.$t('签约日期'),value:this.accountInfo.signdate},
-            {label:this.$t('经销商类型'),value:this.accountInfo.type},
-            {label:this.$t('上级经销商'),value:this.accountInfo.parent_enterprisename},
-            {label:this.$t('经销商等级'),value:this.accountInfo.grade},
+            /*{label:this.$t('经销商类型'),value:
+              this.accountInfo.type
+            },*/
+            {label:this.$t('经销商类型'),value:
+              this.accountInfo.type
+            },
+            {label:this.mainData.usertype == '21'?this.$t(`上级企业`):this.$t('上级经销商'),value:this.accountInfo.parent_enterprisename},
+            {label:this.mainData.usertype == '21'?this.$t(`企业等级`):this.$t('经销商等级'),value:this.accountInfo.grade},
             {label:this.$t('省市县'),value:`${this.accountInfo.province}-${this.accountInfo.city}-${this.accountInfo.county}`},
             {label:this.$t('详细地址'),value:this.accountInfo.address},
             {label:this.$t('企业联系人'),value:this.accountInfo.contact},