{% extends "base.html" %} {% block body %}

{{ o.doc_type_text }} · {{ o.order_no }} {{ o.status_text }}

{% if editable %}编辑{% endif %} 导出 / 预览 PDF 下载 PDF
返回列表

单据信息

供应商{{ o.supplier_name }} 需方{{ o.our_company }}
联系人{{ o.supplier_contact }} 联系人{{ o.our_contact }}
电话{{ o.supplier_phone }} 电话{{ o.our_phone }}
付款方式{{ o.payment_terms }} 税点{{ o.tax_rate }}
税号{{ o.supplier_tax_no }} 税号{{ o.our_tax_no }}
银行帐号{{ o.supplier_bank_account }} 采购单号{{ o.order_no }}
开户银行{{ o.supplier_bank_name }} 采购日期{{ o.order_date }}
交货地点{{ o.delivery_place }}

物料明细

{% for it in o.items %} {% else %} {% endfor %}
序号物料代码物料规格单位数量 含税单价金额交期备注
{{ loop.index }} {{ it.material_code }} {{ it.material_spec }} {{ it.unit }} {{ it.qty }} {{ '%.2f'|format(it.price) }} {{ '%.2f'|format(it.amount) }} {{ it.delivery_date }} {{ it.remark }}
暂无明细
合计(小写):{{ '%.2f'|format(o.total_amount) }} 元 大写:{{ total_cn }}
{% if o.note %}

补充说明:{{ o.note }}

{% endif %}

审核流程

环节操作人时间
制单{{ 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' %}
流程:先点「加盖审核章」,确认无误后再点「确认审核通过」。
{% endif %} {% if user.role in ['approver','admin'] and o.status == 'pending_approval' %}
流程:先点「加盖批准章」,确认无误后再点「确认批准通过」。
{% 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 %}

审核记录

{% endblock %}