From 75d31dd09efb6fbfc0b5a58fb656cd71571f37f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 14 Feb 2026 18:09:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(credit):=20=E4=BF=AE=E5=A4=8D=E8=A2=AB?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=BA=BA=E7=9A=84appellee=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在customRender函数中为appellee字段添加默认值'-' - 解决当name1和appellee都为空时显示undefined的问题 - 确保被执行人的appellee字段始终有正确的显示值 --- .../credit/creditCompany/components/creditCompanyInfo.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/credit/creditCompany/components/creditCompanyInfo.vue b/src/views/credit/creditCompany/components/creditCompanyInfo.vue index 25dbef0..db288a8 100644 --- a/src/views/credit/creditCompany/components/creditCompanyInfo.vue +++ b/src/views/credit/creditCompany/components/creditCompanyInfo.vue @@ -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;