{% extends "base.html" %} {% block title %}库存总览 - 总部{% endblock %} {% block content %}
| 水果品类 | 总入库 | 已领用出库 | 当前剩余 | 状态 |
|---|---|---|---|---|
| {{ item.fruit_name }} | {{ item.total_inbound }} | {{ item.total_outbound }} | {{ item.current_stock }} | {% if item.current_stock == 0 %} 缺货 {% elif item.current_stock <= 10 %} 低库存 {% elif item.current_stock <= 30 %} 正常 {% else %} 充足 {% endif %} |
| 水果品类 | 已领用 | 已销售 | 当前库存 | 状态 |
|---|---|---|---|---|
| {{ item.fruit_name }} | {{ item.total_received }} | {{ item.total_sold }} | {{ item.current_stock }} | {% if item.current_stock == 0 %} 售罄 {% elif item.current_stock <= 5 %} 紧张 {% else %} 正常 {% endif %} |