From 02a5b77d579ecc946d0c1c8e44d654ed70c9dacd Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 5 Jun 2025 17:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_salary/wizard/salary_compute_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_salary/wizard/salary_compute_wizard.py b/yuthon_salary/wizard/salary_compute_wizard.py index 005761ef4..6620581a2 100644 --- a/yuthon_salary/wizard/salary_compute_wizard.py +++ b/yuthon_salary/wizard/salary_compute_wizard.py @@ -160,7 +160,7 @@ class SalaryComputeWizard(models.Model): result = rounded_value * 0.8 * internship_days / days elif field_name == 'union_dues': # 单独处理工会会费 base_salary = getattr(internship_id, 'base_salary', 0) - result = base_salary / 0.8 * 0.05 + result = base_salary * 0.005 else: if work_days != days: result = line.total * 0.8 * internship_days / days + line.total * work_days / days