+ {% if loop_records %}
+
+
+
+ | Plan |
+ SKU |
+ 狀態 |
+ 建立 / 執行 |
+ Verdict |
+ 指標 |
+ 變化 |
+
+
+
+ {% for r in loop_records %}
+
+ #{{ r.plan_id }} {{ r.plan_type or '-' }} |
+ {{ r.sku }} |
+ {{ r.status or '-' }} |
+ {{ r.created_at.strftime('%m-%d') if r.created_at else '-' }} / {{ r.executed_at.strftime('%m-%d') if r.executed_at else '-' }} |
+ {{ r.verdict or '-' }} |
+ {{ r.metric_type or '-' }} {{ r.before or '-' }} → {{ r.after or '-' }} |
+ {{ '%.1f'|format(r.change_pct or 0) }}% |
+
+ {% endfor %}
+
+
+ {% else %}
+
尚未形成 action_plan → outcome 閉環紀錄。
+ {% endif %}
+
+