From 61873b2581ec8503aae1c1518b7302555c67a70c Mon Sep 17 00:00:00 2001 From: selfrelease Date: Mon, 17 Aug 2026 12:35:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=AC=E7=A7=AF=E9=87=91=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E4=B8=8B=E6=8B=89=E5=8F=AA=E6=98=BE=E7=A4=BA=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E5=85=AC=E7=A7=AF=E9=87=91=EF=BC=8C=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E5=85=AC=E7=A7=AF=E9=87=91=E4=B8=8B=E6=8B=89=E5=8F=AA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加员工表单中: - 公积金账户下拉:只显示 accountType !== 'SUPPLEMENTARY' 的基本公积金账户 - 补充公积金下拉:只显示 accountType === 'SUPPLEMENTARY' 的补充公积金账户 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- frontend/src/pages/roster/modals.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/roster/modals.tsx b/frontend/src/pages/roster/modals.tsx index f232bfc..11cd6e3 100644 --- a/frontend/src/pages/roster/modals.tsx +++ b/frontend/src/pages/roster/modals.tsx @@ -760,6 +760,8 @@ export function AddEmployeeModal({ onClose, onSubmit, loading, error }: { }) // 补充公积金账户(accountType=SUPPLEMENTARY) const supplementaryHousingAccounts = allHousingAccounts.filter((a: any) => a.accountType === 'SUPPLEMENTARY') + // 基本公积金账户(accountType 非 SUPPLEMENTARY) + const basicHousingAccounts = allHousingAccounts.filter((a: any) => a.accountType !== 'SUPPLEMENTARY') // 入职日期变更 → 同步合同开始日期 + 重算结束日期 const handleHireDateChange = (hireDate: string) => { @@ -1074,7 +1076,7 @@ export function AddEmployeeModal({ onClose, onSubmit, loading, error }: {