diff --git a/backend/routes.py b/backend/routes.py index 3334924..15d9a19 100644 --- a/backend/routes.py +++ b/backend/routes.py @@ -331,6 +331,7 @@ def bootstrap(): def t_expense_sum(m_range): total = 0 for r in t_expense: + if (r.get("status") or "") == "暂不计入": continue m = (r.get("expense_month") or "").strip() if not m or "-" not in m: continue try: @@ -459,6 +460,7 @@ def bootstrap(): def expense_sum(month_range): total = 0 for r in expense: + if (r.get("status") or "") == "暂不计入": continue m = (r.get("expense_month") or "").strip() if not m or "-" not in m: continue try: diff --git a/templates/index.html b/templates/index.html index 3139b75..be9efed 100644 --- a/templates/index.html +++ b/templates/index.html @@ -76,7 +76,7 @@
-

OPC Manager v1.0.0.6

+

OPC Manager v1.0.0.7

科普 OPC 工作台