|
|
@@ -140,7 +140,6 @@ export default {
|
|
|
this.accountInfo = res.data
|
|
|
console.log('合作商',this.accountInfo);
|
|
|
}
|
|
|
-
|
|
|
this.detailInfo = this.mainData.usertype === 1 || this.mainData.usertype === 0
|
|
|
?
|
|
|
[{
|
|
|
@@ -174,20 +173,15 @@ export default {
|
|
|
[{
|
|
|
title:this.$t('基本信息'),
|
|
|
info: [
|
|
|
- {label:this.mainData.usertype == '21'?this.$t(`合作伙伴编号`):this.$t('经销商编号'),value:this.accountInfo.agentnum},
|
|
|
+ {label:this.mainData.usertype == '21' || this.mainData.usertype == '22'?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.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.mainData.usertype == '21' || this.mainData.usertype == '22'?this.$t('合作伙伴类型'):this.$t('经销商类型'),value: this.accountInfo.type},
|
|
|
+ {label:this.mainData.usertype == '21' || this.mainData.usertype == '22'?this.$t(`上级企业`):this.$t('上级经销商'),value:this.accountInfo.parent_enterprisename},
|
|
|
+ {label:this.mainData.usertype == '21' || this.mainData.usertype == '22'?this.$t(`企业等级`):this.$t('经销商等级'),value:this.accountInfo.grade},
|
|
|
+ {label:this.$t('省市县'),value:this.accountInfo.province?`${this.accountInfo.province}-${this.accountInfo.city}-${this.accountInfo.county}`:'--'},
|
|
|
{label:this.$t('详细地址'),value:this.accountInfo.address},
|
|
|
{label:this.$t('企业联系人'),value:this.accountInfo.contact},
|
|
|
{label:this.$t('联系电话'),value:this.accountInfo.phonenumber},
|