{% include 'components/_navbar.html' %}

{{ info.title }}

{{ info.desc }}
補貨係數 x
匯出此類別報表
{% if cols.pid %}{% endif %} {% if cols.brand %}{% endif %} {% if cols.vendor %}{% endif %} {% if cols.cat %}{% endif %} {% if cols.cost or cols.profit %}{% endif %} {% if cols.qty %}{% endif %} {% if cols.qty %}{% endif %} {% if cols.qty %}{% endif %} {% for item in items %} {% if cols.pid %} {% endif %} {% if cols.brand %} {% endif %} {% if cols.vendor %} {% endif %} {% if cols.cat %} {% endif %} {% if cols.cost or cols.profit %} {% endif %} {% if cols.qty %} {% endif %} {% if cols.qty %} {% endif %} {% if cols.qty %} {% endif %} {% endfor %}
排名商品ID商品名稱品牌廠商名稱分類毛利率平均單價銷售數量建議補貨 (x{{ current_factor }})銷售金額 累積營收佔比
{{ loop.index }}{{ item[cols.pid] }}
{{ item[cols.name] | e }}
{{ item[cols.brand] }}{{ item[cols.vendor] }}{{ item[cols.cat] }} {% set margin = item['calculated_margin_rate'] %} {{ "{:.1f}%".format(margin) }} ${{ "{:,.0f}".format(item['avg_unit_price']) }}{{ "{:,.0f}".format(item[cols.qty]) }} {% if item['suggested_restock'] > 0 %} {{ "{:,.0f}".format(item['suggested_restock']) }} {% else %} 建議清倉 {% endif %} ${{ "{:,.0f}".format(item[cols.amount]) }} {{ "{:.2f}%".format(item['cumulative_pct']) }}