{% extends "erp_base.html" %} {% block head_extra %} {% endblock %} {% block content %}
◀◀ 조사 목록

재고조사 #{{ stocktake.id }}

날짜
{{ stocktake.stocktake_date }}
창고
{{ stocktake.warehouse_code }}
상태
{% if stocktake.status=='finalized' %}확정 {% elif stocktake.status=='cancelled' %}취소 {% else %}작성중{% endif %}
{% if stocktake.finalized_at %}
확정시각
{{ stocktake.finalized_at }}
{% endif %}
{% if missing_bom %}

⚠ BOM 없는 콤보: {{ missing_bom|join(', ') }}

{% endif %} {% if is_draft %}
{% endif %}

낱개 상품

{% for it in individual_items %} {% endfor %}
CodeNameQty
{{ it.item_code }} {{ it.item_name }}

콤보 상품

{% for it in set_items %} {% endfor %}
Set CodeSet NameQty
{{ it.item_code }} {{ it.item_name }}
{% if is_draft %} {% if is_admin %}
{% else %} 전산 재고 반영(확정)은 관리자만 가능합니다. {% endif %}
{% endif %} {% if is_super %}
{% endif %}

최종 계산 (낱개 기준)

total_qty = direct_qty(낱개 직접) + from_set_qty(콤보 분해)
{% for r in result_rows %} {% endfor %} {% if not result_rows %} {% endif %}
Item CodeProduct NameDirectFrom SetTotal
{{ r.item_code }} {{ r.item_name }} {{ r.direct_qty }} {{ r.from_set_qty }} {{ r.total_qty }}
입력된 수량이 없습니다.
{% endblock %}