feat: 经理看板展示报工超额信息

This commit is contained in:
souplearn
2026-07-25 20:57:22 +08:00
parent 58d8272448
commit 7cdb528b1c
4 changed files with 272 additions and 0 deletions
+6
View File
@@ -133,6 +133,9 @@ def export_dashboard_rows(rows: list) -> bytes:
"操作人数",
"工序单价",
"参考工资",
"是否超额",
"超额摘要",
"超额原因",
"报工标记",
"校正项",
"备注",
@@ -184,6 +187,9 @@ def export_dashboard_rows(rows: list) -> bytes:
row.operator_count,
row.process_unit_price_yuan,
row.reference_wage,
"是" if getattr(row, "has_over_limit", False) else "否",
getattr(row, "over_limit_summary", None),
getattr(row, "over_limit_reasons", None),
"、".join(report_flags),
correction_text,
getattr(row, "review_remark", None),