!2278 添加功能

Merge pull request !2278 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-04-01 11:20:16 +00:00
committed by Gitee
@@ -194,9 +194,9 @@ class YuthonPayrollInsurances (models.Model):
if ins.name == '失业保险费':
code = 'SYBX'
formula_salary = "result = employee.work_injury_insurance_base * " + str(number)
if ins.name == '工伤保险费':
code = 'GSBX'
formula_salary = "result = employee.social_base_on * " + str(number)
# if ins.name == '工伤保险费':
# code = 'GSBX'
# formula_salary = "result = employee.social_base_on * " + str(number)
if ins.name == '住房公积金':
code = 'ZFGJJ'
formula_salary = "result = (round((employee.housing_fund_base * " + str(number) + "), 0)) if employee.is_accum_salary else 0"