From e602eecee8a4943c80da85e7eee93998718d49f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B3=89=E4=BD=B3?= <1107186916@qq.com> Date: Fri, 30 Oct 2026 13:42:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=A2=E5=95=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=BB=91=E5=90=8D=E5=8D=95=E6=A0=87=E7=AD=BE=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=BB=85=E9=87=91=E8=9D=B6=E9=BB=91=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E5=91=BD=E4=B8=AD=EF=BC=88=E4=B8=8E=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E5=BE=84=E4=B8=80=E8=87=B4=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/vehicle/customer-archive.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/vehicle/customer-archive.vue b/src/views/vehicle/customer-archive.vue index 2b3cbb5..0597462 100644 --- a/src/views/vehicle/customer-archive.vue +++ b/src/views/vehicle/customer-archive.vue @@ -5556,9 +5556,13 @@ export default { this.loading = false; }); }, + // 黑名单判定:仅以金蝶黑名单(A801-5)命中为准(失信类别/列入事由任一非空);C101-1 的 hcsBlackStatus 不作为黑名单依据 + customerRowIsBlack(row) { + return !!(row.kingdeeBlackCategory || row.kingdeeBlackReason); + }, // 客商风险名称(每日定时刷新落库字段):等级与黑名单组合展示(如"低风险、黑名单");内部组织默认无风险;未查询显示"-" customerRowRiskName(row) { - const isBlack = row.hcsBlackStatus === 'yes'; + const isBlack = this.customerRowIsBlack(row); const levelName = { 2: '高风险', 1: '中风险', 0: '低风险' }[row.hcsRiskLevel] || ''; if (isBlack) return levelName ? `${levelName}、黑名单` : '黑名单'; if (levelName) return levelName; @@ -5567,7 +5571,7 @@ export default { }, // 高风险/黑名单判定(与列表筛选口径一致,命中显示红色标签) customerRowRisky(row) { - return row.hcsBlackStatus === 'yes' || row.hcsRiskLevel === '2'; + return this.customerRowIsBlack(row) || row.hcsRiskLevel === '2'; }, // 客商名称风险校验(C101-1,仅展示不作为安全边界):名称失焦/回显时查询, // risky 在名称框下展示红色提示,悬浮见风险项明细;查询失败静默不阻断填写,提交链路由后端强校验兜底