From f242a592bb35bbfc8b793c5c1be488c1d0d916d5 Mon Sep 17 00:00:00 2001 From: freedakgmail Date: Mon, 17 Aug 2026 20:26:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8A=B1=E5=90=8D=E5=86=8C=E7=A4=BE?= =?UTF-8?q?=E4=BF=9D=E5=9F=BA=E6=95=B0=E5=88=97=E5=AF=B9=E9=9D=9E=E5=8A=B3?= =?UTF-8?q?=E5=8A=A8=E5=90=88=E5=90=8C=E7=B1=BB=E5=9E=8B=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E2=80=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Roster.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Roster.tsx b/frontend/src/pages/Roster.tsx index b41544c..c934f03 100644 --- a/frontend/src/pages/Roster.tsx +++ b/frontend/src/pages/Roster.tsx @@ -917,7 +917,11 @@ export default function Roster() { })()} } {colVisible('socialInsBase') && - {e.socialInsBase ? e.socialInsBase.toLocaleString() : } + {(() => { + const ct = e.latestContract?.contractType + if (!ct || ['LABOR', 'INTERNSHIP', 'PARTTIME', 'OUTSOURCING', 'UNSIGNED'].includes(ct)) return + return e.socialInsBase ? e.socialInsBase.toLocaleString() : + })()} } {colVisible('socialInsAmount') && {(() => {