Commit 9a4a21f7 by cwq0219

渠道区分

1 parent 87a7f9a0
......@@ -149,8 +149,8 @@ export default {
if (this.formData.userType !== 1) {
this.formData.addr = (this.formData.provinceName || '') + (this.formData.cityName || '') + (this.formData.areaName || '') + (this.formData.address || '')
this.formData.carBrandListNoRepeat = [...new Set(this.formData.carBrandList.map(item => item.brandName))]
// var typeList = this.formData.channelId === 2 ? ghUserType : userType
this.formData.userTypeName = userType[this.formData.userType]
var typeList = this.formData.channelId === 2 ? ghUserType : userType
this.formData.userTypeName = typeList[this.formData.userType]
} else {
this.formData.photoHead = [{ mediaUrl: this.formData.photo }]
this.formData.userLabelListArr = this.formData.userLabelList.map(item => item.labelName)
......
......@@ -119,8 +119,8 @@ export default {
prop: 'userType',
width: '76',
formatter: (cellValue) => {
// var typeList = cellValue.channelType === 2 ? ghUserType : userType
return userType[cellValue.userType]
var typeList = cellValue.channelType === 2 ? ghUserType : userType
return typeList[cellValue.userType]
}
}, {
label: '联系人',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!