fix(credit): 修复被执行人的appellee字段显示问题

- 在customRender函数中为appellee字段添加默认值'-'
- 解决当name1和appellee都为空时显示undefined的问题
- 确保被执行人的appellee字段始终有正确的显示值
This commit is contained in:
2026-02-14 18:09:57 +08:00
parent d3345d14d6
commit 75d31dd09e

View File

@@ -1859,11 +1859,12 @@
return text;
};
}
// 被执行人:优先展示 name1没有再展示 appellee
if (tabKey === '被执行人' && dataIndex === 'appellee') {
column.customRender = ({ record }) => {
const v = pickValue(record?.name1) ? record.name1 : record?.appellee;
return formatValue(v);
return formatValue(v || '-');
};
}
return column;