{% extends 'ewoooc_base.html' %} {% block title %}EwoooC 廠商缺貨{% endblock %} {% block page_attrs %}data-page-group="monitor" data-page-id="vendor-index"{% endblock %} {% block extra_css %} {% endblock %} {% block ewooo_content %}
供貨風險

廠商缺貨

處理缺貨風險,避免主推商品斷貨。

缺貨總筆數
{{ stats.total_stockouts | number_format }}
涵蓋 {{ stats.distinct_vendor_count | number_format }} 個來源廠商
待發送
{{ stats.pending_stockouts | number_format }}
失敗 {{ stats.failed_stockouts | number_format }} 筆
已發送
{{ stats.sent_stockouts | number_format }}
重複 {{ stats.duplicate_stockouts | number_format }} 筆
啟用廠商
{{ stats.active_vendors | number_format }}
啟用郵件 {{ stats.active_emails | number_format }}
資料狀態摘要 整合缺貨、窗口與通知紀錄
最新匯入
{% if stats.latest_import_time %}
{{ stats.latest_import_vendor or '未標記廠商' }}
{{ stats.latest_import_time.strftime('%Y-%m-%d %H:%M') }}
{{ stats.latest_import_product or '未標記商品' }}
{% else %}
尚無匯入紀錄
先匯入缺貨批次,確認主推商品供貨風險
{% endif %}
郵件成功率
{{ stats.email_success_rate }}%
成功 {{ stats.email_success | number_format }} / 總計 {{ stats.email_total | number_format }}
失敗 {{ stats.email_failed | number_format }},待發送 {{ stats.email_pending | number_format }}
最新郵件
{% if stats.latest_email_time %}
{{ stats.latest_email_status or '未標記狀態' }}
{{ stats.latest_email_time.strftime('%Y-%m-%d %H:%M') }}
廠商編號 {{ stats.latest_email_vendor_id }}
{% else %}
尚無郵件紀錄
目前尚無通知紀錄
{% endif %}
{% if stats.total_stockouts == 0 %}
尚無缺貨批次;先匯入 Excel,確認主推商品供貨風險。
{% endif %}
{% endblock %}