审核流程
| 环节 | 操作人 | 时间 |
| 制单 | {{ o.created_by_name }} | {{ o.created_at.strftime('%Y-%m-%d %H:%M') if o.created_at else '-' }} |
| 主管审核 | {{ o.reviewed_by or '—' }} | {{ o.reviewed_at.strftime('%Y-%m-%d %H:%M') if o.reviewed_at else '—' }} |
| 经理批准 | {{ o.approved_by or '—' }} | {{ o.approved_at.strftime('%Y-%m-%d %H:%M') if o.approved_at else '—' }} |
{% if user.role in ['reviewer','admin'] and o.status == 'pending_review' %}
已加盖主管审核章
{{ o.our_company or COMPANY_NAME }}
审核专用
{{ user.name }}
流程:先点「加盖审核章」,确认无误后再点「确认审核通过」。
{% endif %}
{% if user.role in ['approver','admin'] and o.status == 'pending_approval' %}
已加盖经理批准章
{{ o.our_company or COMPANY_NAME }}
批准专用
{{ user.name }}
流程:先点「加盖批准章」,确认无误后再点「确认批准通过」。
{% endif %}
{% if user.role in ['reviewer','approver','admin'] and o.status in ['pending_review','pending_approval'] %}
{% endif %}
{% if editable and o.status in ['draft','rejected'] %}
{% endif %}
{% if o.status == 'rejected' and o.reject_reason %}
驳回原因:{{ o.reject_reason }}
{% endif %}
审核记录
{% for lg in o.logs %}
- {{ lg.created_at.strftime('%Y-%m-%d %H:%M') }} · {{ lg.user_name }} · {{ lg.action }}
{% if lg.comment %}({{ lg.comment }}){% endif %}
{% else %}
- 暂无记录
{% endfor %}
{% endblock %}