!8421 添加功能

Merge pull request !8421 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-01-28 08:40:30 +00:00
committed by Gitee
@@ -868,7 +868,7 @@ class YuthonVacationReports(models.Model):
if line.is_void:
continue
line_total = line.remaining_quantity
line_total = (line.workday or 0) + (line.public_holidays or 0)
legal_total += (line.legal_day or 0)
if line.update_type == 'add':
total_add += line_total