From efdc3d6fac0300a8cf3da550499e84649cb0d420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Tue, 31 Mar 2026 11:53:25 +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 --- .../wizard/property_reconciliation_wizard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index 30c0fa634..48126c104 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -578,10 +578,10 @@ class PropertyReconciliationLine(models.Model): debt_str = f',欠{debt_amount}' if debt_amount != 0 else '' if same_month: # 条件1:rent_month≠rent 且 rent_month≠amount 且 amount≠0 → 补交 - if rent_month != rent and rent_month != amount and amount != 0: + if rent_month != rent and rent != amount and amount != 0: line.remake = f'补交{due_date_str}' # 条件2:rent == amount → 补齐 - elif rent == amount and amount != 0: + elif rent_month != rent and rent == amount and amount != 0: line.remake = f'补齐{due_date_str}' continue if (due_month > actual_month and due_year == actual_year) or (due_year > actual_year):