diff --git a/gui.py b/gui.py index 1ff03ef..cbbae5c 100644 --- a/gui.py +++ b/gui.py @@ -815,6 +815,7 @@ def index(): "cost_wan": f"{res['cost'] / 10000:.2f}", "loss_kw": f"{res['loss']:.2f}", "total_length": f"{total_length_km:.2f}", + "npv_loss_wan": f"{res.get('npv_loss', 0) / 10000:.2f}", "total_cost_npv_wan": f"{res.get('total_cost_npv', res['cost']) / 10000:.2f}", "note": note, "original_name": res["name"], @@ -984,6 +985,12 @@ def index(): "field": "total_length", "sortable": True, }, + { + "name": "npv_loss_wan", + "label": "损耗费用净现值 (万元)", + "field": "npv_loss_wan", + "sortable": True, + }, { "name": "total_cost_npv_wan", "label": "总费用 (万元)",