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

feat: 修改业务模式

parent ba103189
...@@ -90,8 +90,10 @@ export async function getInfo() { ...@@ -90,8 +90,10 @@ export async function getInfo() {
if (res.townId) { if (res.townId) {
res.addr.push(res.townId); res.addr.push(res.townId);
} }
if (settlementType !== null) {
settlementType = +res.settlementType; settlementType = +res.settlementType;
} }
}
// 身份证有效期处理 // 身份证有效期处理
const date = res.legalPersonPeriod.split('-') || []; const date = res.legalPersonPeriod.split('-') || [];
res.legalPersonStart = date[0] && moment(date[0]); res.legalPersonStart = date[0] && moment(date[0]);
......
...@@ -215,7 +215,8 @@ export default () => { ...@@ -215,7 +215,8 @@ export default () => {
dataIndex: 'productBusiness', dataIndex: 'productBusiness',
width: 120, width: 120,
align: 'center', align: 'center',
render: v => ( render: v =>
v && (
<div> <div>
{v.map(it => ( {v.map(it => (
<span>{businessList.find(item => +it === +item.value).label}&nbsp;</span> <span>{businessList.find(item => +it === +item.value).label}&nbsp;</span>
......
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