{% extends "base.html" %} {% block title %}Stückliste · {{ item.ident or item.id }}{% endblock %} {% block breadcrumb %}
Artikel / {{ item.ident or item.id }} / Stückliste
{% endblock %} {% block heading %}Stückliste · {{ item.ident or item.id }}{% endblock %} {% block content %}{% if active_bom %}Version: {{ active_bom.version }}{% if active_bom.note %} · {{ active_bom.note }}{% endif %}{% else %}Noch keine Stückliste angelegt{% endif %}
| # | Typ | Bezeichnung | Menge / Zeit | Plan-Kosten ({{ qty }} Stk) | |
|---|---|---|---|---|---|
| {{ loop.index }} | {% if ln.line_type == 'material' %}Material {% elif ln.line_type == 'operation' %}Operation {% elif ln.line_type == 'sub_assembly' %}Sub-Baugruppe {% elif ln.line_type == 'purchased_part' %}Zukaufteil {% else %}Werkzeug{% endif %} |
{% if ln.line_type == 'material' %}
{{ ln.material_name or '—' }}
{% if ln.material_code %}{{ ln.material_code }} · {{ '%.2f'|format(ln.price_per_kg or 0) }} €/kg {% endif %}
{% elif ln.line_type == 'operation' %}
{{ ln.step_name or '—' }}
{% if ln.machine_name %}auf {{ ln.machine_name }} · {% endif %}{{ '%.2f'|format(ln.computed_rate or 0) }} €/h
{% elif ln.line_type == 'sub_assembly' %}
{{ ln.sub_desc or 'Sub-Baugruppe' }}
{% if ln.sub_unit_cost %} · {{ '%.2f'|format(ln.sub_unit_cost) }} €/Stk Selbstkosten{% endif %}
{% elif ln.line_type == 'purchased_part' %}
{{ ln.sub_ident or '—' }} ↗
{% if ln.sub_norm_reference %}
{{ ln.sub_norm_reference }}
{% endif %}
{{ ln.sub_desc or 'Zukaufteil' }}
{% if ln.sub_manufacturer %} · {{ ln.sub_manufacturer }}{% endif %}
{% set need_total = (ln.qty * qty)|int %}
{% if ln.sub_quantity_total is not none and need_total > ln.sub_quantity_total %}
· ⚠ nur {{ ln.sub_quantity_total }} im Lager ({{ need_total }} benötigt)
{% elif ln.sub_quantity_total is not none %}
· Bestand: {{ ln.sub_quantity_total }}
{% endif %}
{% else %}
{{ ln.tool_ident or '—' }}
{{ ln.tool_desc or '' }}
{% endif %}
|
{% if ln.line_type == 'material' %}{{ '%.3f'|format(ln.qty or 0) }} kg/Stk {% elif ln.line_type == 'operation' %}{{ '%.1f'|format(ln.setup_min or 0) }} min Rüst · {{ '%.2f'|format(ln.cycle_min or 0) }} min/Stk {% elif ln.line_type == 'sub_assembly' %}{{ '%.0f'|format(ln.qty or 0) }} Stk/Stk {% elif ln.line_type == 'purchased_part' %}{{ '%.0f'|format(ln.qty or 0) }} Stk/Stk {% else %}{{ '%.0f'|format(ln.qty or 0) }} Stk {% endif %} | {{ '%.2f'|format(ln.computed_cost or 0) }} € | |
| Noch keine Zeilen — füge unten welche hinzu. | |||||
| Material: | {{ '%.2f'|format(costing.material_cost) }} € | ||||
| Rüstkosten (einmalig): | {{ '%.2f'|format(costing.setup_cost) }} € | ||||
| Stückzeit-Kosten: | {{ '%.2f'|format(costing.cycle_cost) }} € | ||||
| Werkzeugkosten: | {{ '%.2f'|format(costing.tool_cost) }} € | ||||
| Sub-Baugruppen: | {{ '%.2f'|format(costing.sub_cost) }} € | ||||
| Zukaufteile / Normalien: {% if not costing.feature_pp_cost_enabled %} (Feature deaktiviert — aktivieren) {% endif %} | {{ '%.2f'|format(costing.purchased_cost) }} € | ||||
| Gemeinkosten: | {{ '%.2f'|format(costing.overhead) }} € | ||||
| Summe ({{ qty }} Stk): | {{ '%.2f'|format(costing.total) }} € | ||||
| davon pro Stück: | {{ '%.2f'|format(costing.total / qty) }} € | ||||
Neue Zeile hinzufügen
Material
Operation
Werkzeug-Verbrauch
Werkzeug aus Stammdaten + Stk pro Werkstück
Sub-Baugruppe
Andere Baugruppe als Komponente einbinden (mehrstufige Stückliste)
Zukaufteil
DIN-/ISO-Norm-Teil aus dem Lager. Wird beim Fertigen automatisch abgezogen.