diff --git a/yuthon_property_approval/wizard/property_rental_wizard.py b/yuthon_property_approval/wizard/property_rental_wizard.py index 18bcc4a84..07a7f928d 100644 --- a/yuthon_property_approval/wizard/property_rental_wizard.py +++ b/yuthon_property_approval/wizard/property_rental_wizard.py @@ -178,8 +178,8 @@ class PropertyRentalWizard(models.Model): start_year_month = start_date_adj.strftime('%Y-%m') end_year_month = rent_id.end_data.strftime('%Y-%m') start_day = start_date_adj.day - # 通过period_month 来判断是否有免租期,则使用 period_rent,否则使用 monthly_amount - rent_amount = rent_id.period_rent if period_month else rent_id.monthly_amount + # 通过period_month 来判断是否有免租期,则使用 ,否则月租金使用 期间租金 + rent_amount = rent_id.monthly_amount if period_month else rent_id.period_rent if is_year: if rent_id.month_number >12: multiplier = rent_id.month_number - 12