Commit 9c7c75a1 by dong

fix20230112

parent b22feb76
......@@ -1349,7 +1349,7 @@ def get_data():
new_start_money = 0
else:
new_start_money = sum([project_obj.investment_volume / 10000 for project_obj in project_obj_list])
data.update({"value": new_start_money})
data.update({"value": round(new_start_money, 2)})
# 新开工年度目标
jc_obj = JcTarget.query.filter(
......@@ -1432,7 +1432,7 @@ def get_data():
gutou0_money = 0
else:
gutou0_money = sum([project_obj.investment_volume / 10000 for project_obj in project_obj_list])
data.update({"value": gutou0_money})
data.update({"value": round(gutou0_money, 2)})
# 年度目标
jc_obj = JcTarget.query.filter(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment