Commit f048de51 authored by 张子雨's avatar 张子雨

feat: 修改业务模式

parent ba103189
...@@ -90,7 +90,9 @@ export async function getInfo() { ...@@ -90,7 +90,9 @@ export async function getInfo() {
if (res.townId) { if (res.townId) {
res.addr.push(res.townId); res.addr.push(res.townId);
} }
settlementType = +res.settlementType; if (settlementType !== null) {
settlementType = +res.settlementType;
}
} }
// 身份证有效期处理 // 身份证有效期处理
const date = res.legalPersonPeriod.split('-') || []; const date = res.legalPersonPeriod.split('-') || [];
......
...@@ -215,13 +215,14 @@ export default () => { ...@@ -215,13 +215,14 @@ export default () => {
dataIndex: 'productBusiness', dataIndex: 'productBusiness',
width: 120, width: 120,
align: 'center', align: 'center',
render: v => ( render: v =>
<div> v && (
{v.map(it => ( <div>
<span>{businessList.find(item => +it === +item.value).label}&nbsp;</span> {v.map(it => (
))} <span>{businessList.find(item => +it === +item.value).label}&nbsp;</span>
</div> ))}
), </div>
),
}, },
{ {
title: '门店名称', title: '门店名称',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment