From 5429039a908929ba5d434b4ad8a6512b3aec2d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Mon, 15 Jun 2026 18:17:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_report/models/leased_area_report.py | 4 ++-- yuthon_report/models/management_area_report.py | 2 +- yuthon_report/models/rent_area_report.py | 2 +- .../src/components/yuthon_dashboard/yuthon_dashboard.xml | 2 +- .../static/src/components/yuthon_report/receivable_report.xml | 2 +- .../src/components/yuthon_report/simple_bank_report.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/yuthon_report/models/leased_area_report.py b/yuthon_report/models/leased_area_report.py index c3ef6aac9..b48c9c629 100644 --- a/yuthon_report/models/leased_area_report.py +++ b/yuthon_report/models/leased_area_report.py @@ -315,8 +315,8 @@ class LeasedAreaReport(models.Model): # ========== 七、构建统计汇总数据 ========== stats = [ {'name': '记录总数', 'amount': len(rows)}, - {'name': '物业已租面积合计', 'amount': round(total_property_area, 4)}, - {'name': '合同已租面积合计', 'amount': round(total_contract_area, 4)}, + {'name': '物业已租面积合计', 'amount': round(total_property_area, 4), 'display_amount': f"{round(total_property_area, 4):.4f}"}, + {'name': '合同已租面积合计', 'amount': round(total_contract_area, 4), 'display_amount': f"{round(total_contract_area, 4):.4f}"}, ] _logger.info("[LEASED_AREA] query_date=%s, rows=%d, property_area=%.4f, contract_area=%.4f", diff --git a/yuthon_report/models/management_area_report.py b/yuthon_report/models/management_area_report.py index 1cb6cc93d..4fa51b899 100644 --- a/yuthon_report/models/management_area_report.py +++ b/yuthon_report/models/management_area_report.py @@ -246,7 +246,7 @@ class ManagementAreaReport(models.Model): # ========== 七、构建统计汇总数据 ========== stats = [ {'name': '记录总数', 'amount': len(rows)}, - {'name': '管理面积合计', 'amount': round(total_management_area, 4)}, + {'name': '管理面积合计', 'amount': round(total_management_area, 4), 'display_amount': f"{round(total_management_area, 4):.4f}"}, ] _logger.info("[MANAGEMENT_AREA] query_date=%s, lines=%d, rows=%d, total_area=%.4f", diff --git a/yuthon_report/models/rent_area_report.py b/yuthon_report/models/rent_area_report.py index 6303641b3..d3cdc182a 100644 --- a/yuthon_report/models/rent_area_report.py +++ b/yuthon_report/models/rent_area_report.py @@ -242,7 +242,7 @@ class RentAreaReport(models.Model): # ========== 七、构建统计汇总数据 ========== stats = [ {'name': '记录总数', 'amount': len(rows)}, - {'name': '可租面积合计', 'amount': round(total_rent_area, 4)}, + {'name': '可租面积合计', 'amount': round(total_rent_area, 4), 'display_amount': f"{round(total_rent_area, 4):.4f}"}, ] _logger.info("[RENT_AREA] query_date=%s, lines=%d, rows=%d, total_area=%.4f", diff --git a/yuthon_report/static/src/components/yuthon_dashboard/yuthon_dashboard.xml b/yuthon_report/static/src/components/yuthon_dashboard/yuthon_dashboard.xml index 4b93e846b..5858b47c2 100644 --- a/yuthon_report/static/src/components/yuthon_dashboard/yuthon_dashboard.xml +++ b/yuthon_report/static/src/components/yuthon_dashboard/yuthon_dashboard.xml @@ -110,7 +110,7 @@
- +
diff --git a/yuthon_report/static/src/components/yuthon_report/receivable_report.xml b/yuthon_report/static/src/components/yuthon_report/receivable_report.xml index 09c9351ad..53835b1b7 100644 --- a/yuthon_report/static/src/components/yuthon_report/receivable_report.xml +++ b/yuthon_report/static/src/components/yuthon_report/receivable_report.xml @@ -164,7 +164,7 @@
- : + :
diff --git a/yuthon_report/static/src/components/yuthon_report/simple_bank_report.xml b/yuthon_report/static/src/components/yuthon_report/simple_bank_report.xml index e3c26b800..c8ef8537f 100644 --- a/yuthon_report/static/src/components/yuthon_report/simple_bank_report.xml +++ b/yuthon_report/static/src/components/yuthon_report/simple_bank_report.xml @@ -43,7 +43,7 @@
- : + :