{% extends "base.html" %} {% block title %}{{ '入库登记' if kind=='inbound' else '出库登记' }}{% endblock %} {% block content %}

{{ '入库登记' if kind=='inbound' else '出库登记' }}

⬇ 下载批量模板
{% if kind=='inbound' %} {% else %} {% endif %}

最近 {{ recs|length }} 条{{ '入库' if kind=='inbound' else '出库' }}记录

{% if kind=='inbound' %}{% else %}{% endif %} {% for r in recs %} {% set m = mats|selectattr('id','equalto',r.material_id)|list|first %} {% if kind=='inbound' %} {% else %}{% endif %} {% else %} {% endfor %}
物料批次数量经手人来源用途单号日期
{{ m.part_number if m else r.material_id }} {{ r.batch_no or '-' }} {{ '%.2f'|format(r.qty) }} {{ r.operator or '-' }}{{ r.source or '-' }}{{ r.purpose or '-' }}{{ r.order_ref or '-' }}{{ r.occur_date }}
暂无记录
{% endblock %}