From ef685663ac644846e880bd84c75c09ab3b886770 Mon Sep 17 00:00:00 2001 From: selfrelease Date: Mon, 17 Aug 2026 12:30:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=AC=E7=A7=AF=E9=87=91=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99=E7=9A=84housingBa?= =?UTF-8?q?seMin/Max=E8=BE=93=E5=85=A5=EF=BC=8C=E5=8F=AA=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E4=B8=80=E5=A5=97=E5=9F=BA=E6=95=B0=E4=B8=8A=E4=B8=8B=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新架构下社保和公积金是不同账户,各自有独立的年度标准, baseMin/baseMax 已各自独立,housingBaseMin/Max是旧架构遗留。 公积金表单标签改为"公积金基数下限/上限",默认值改为2540/35811。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- frontend/src/pages/social-insurance/AccountCard.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/pages/social-insurance/AccountCard.tsx b/frontend/src/pages/social-insurance/AccountCard.tsx index 2abd07a..c6b55e0 100644 --- a/frontend/src/pages/social-insurance/AccountCard.tsx +++ b/frontend/src/pages/social-insurance/AccountCard.tsx @@ -45,7 +45,7 @@ export function AccountCard({ medicalOrg: 9.8, medicalEmp: 2, medicalOrgExtra: 0, medicalEmpExtra: 0, unemploymentOrg: 0.5, unemploymentEmp: 0.5, injuryOrg: 0.2, maternityOrg: 0.8, - baseMin: 6326, baseMax: 33891, + baseMin: isHousing ? 2540 : 6326, baseMax: isHousing ? 35811 : 33891, medicalBaseMin: 0, medicalBaseMax: 0, minWage: 0, extraInsurances: [], @@ -332,8 +332,8 @@ export function AccountCard({ )}
账户类型{config.accountType === 'SUPPLEMENTARY' ? '补充公积金' : '基本公积金'}
-
缴费基数下限¥{fmt(config.housingBaseMin > 0 ? config.housingBaseMin : config.baseMin)}
-
缴费基数上限¥{fmt(config.housingBaseMax > 0 ? config.housingBaseMax : config.baseMax)}
+
公积金基数下限¥{fmt(config.housingBaseMin > 0 ? config.housingBaseMin : config.baseMin)}
+
公积金基数上限¥{fmt(config.housingBaseMax > 0 ? config.housingBaseMax : config.baseMax)}
公积金(企业){config.housingOrg}%
公积金(个人){config.housingEmp}%
@@ -609,8 +609,8 @@ export function AccountCard({

从账户继承

-
setNewVersion({ ...newVersion, baseMin: Number(e.target.value) })} />
-
setNewVersion({ ...newVersion, baseMax: Number(e.target.value) })} />
+
setNewVersion({ ...newVersion, baseMin: Number(e.target.value) })} />
+
setNewVersion({ ...newVersion, baseMax: Number(e.target.value) })} />
{!isHousing && (
@@ -647,8 +647,6 @@ export function AccountCard({
setNewVersion({ ...newVersion, housingOrg: Number(e.target.value) })} />
setNewVersion({ ...newVersion, housingEmp: Number(e.target.value) })} />
-
setNewVersion({ ...newVersion, housingBaseMin: Number(e.target.value) })} placeholder="0=用社保下限" />

0 时使用缴费基数下限

-
setNewVersion({ ...newVersion, housingBaseMax: Number(e.target.value) })} placeholder="0=用社保上限" />

0 时使用缴费基数上限

) : (