{{ box.name }} - {{ box_types.get(box.box_type, box_types['small_28']).label }}

{% if error %}

{{ error }}

{% endif %} {% if notice %}

{{ notice }}

{% endif %} {% if box.box_type == 'bag' %}

袋装记录

编号范围: {{ slot_range }} | 每行一个袋位

{% for row in bag_rows %} {% set c = row.component %} {% else %} {% endfor %}
袋位编号 料号 名称 数量 状态 规格 位置备注 操作
{{ row.slot_code }} {{ c.part_no }} {{ c.name }} {{ c.quantity }} {% if c.is_enabled %}启用{% else %}停用{% endif %} {{ c.specification or '-' }} {{ c.location or '-' }} 编辑
当前没有袋装记录,请先新增。

新增单条

批量新增

每行一条, 格式: 料号, 名称, 数量, 规格, 位置备注, 备注。可用英文逗号或 Tab 分隔。

{% else %}

容量: {{ box.slot_capacity }} 位 | 编号范围: {{ slot_range }}

{% for item in slots %} {{ item.slot_code }} {% if item.component %} {{ item.component.part_no }} {{ item.component.name }} 库存: {{ item.component.quantity }} | {% if item.component.is_enabled %}启用{% else %}停用{% endif %} {% else %} 空位 {% endif %} {% endfor %}
{% endif %}