Commit 3c3e6542 by chenwq

选择客户数据匹配

1 parent 5245b628
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
line: 1, line: 1,
width: '110px' width: '160px'
}, },
{ {
label: '客户手机号', label: '客户手机号',
...@@ -69,14 +69,14 @@ export default { ...@@ -69,14 +69,14 @@ export default {
prop: 'customerSex', prop: 'customerSex',
width: '60px', width: '60px',
formatter: cellValue => { formatter: cellValue => {
return this.baseData.sexList.find(item => item.confId == cellValue.customerSex).confName return this.baseData.sexList.map(item => item.confId).includes(cellValue.customerSex) ? this.baseData.sexList.find(item => item.confId == cellValue.customerSex).confName : '未知'
} }
}, },
{ {
label: '是否加企微', label: '是否加企微',
prop: 'isJoin', prop: 'isJoin',
formatter: cellValue => { formatter: cellValue => {
return this.baseData.joinList.find(item => item.confId == cellValue.isJoin).confName return this.baseData.joinList.map(item => item.confId).includes(cellValue.isJoin) ? this.baseData.joinList.find(item => item.confId == cellValue.isJoin).confName : '-'
} }
}, },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!