diff --git a/backend/templates/emails/quote_deadline_expired_body.html b/backend/templates/emails/quote_deadline_expired_body.html new file mode 100644 index 0000000..2f49a5a --- /dev/null +++ b/backend/templates/emails/quote_deadline_expired_body.html @@ -0,0 +1,42 @@ + + + + +

尊敬的 {{ purchaser_name }}:

+

您好!

+

您负责的询价单(编号:{{ inquiry_no }})有 {{ supplier_count }} 家供应商报价已到期但尚未提交报价,具体信息如下:

+ + + + + + + + + + + + {% for supplier in expired_suppliers %} + + + + + + + {% endfor %} + +
供应商名称联系人报价截止时间当前状态
{{ supplier.supplier_name }}{{ supplier.contact_person|default:"—" }}{{ supplier.quote_deadline }}{% if supplier.status == 1 %}待报价{% else %}报价中{% endif %}
+ + {% if comparison_page_url %} +

+ 点击此处进入比价页面 +

+

若链接无法打开,请复制以下地址到浏览器:

+

{{ comparison_page_url }}

+ {% else %} +

系统未配置采购端门户地址,请登录系统进入「比价/议价」页面处理。

+ {% endif %} + +

此邮件由系统自动发送,请勿直接回复。

+ + diff --git a/backend/templates/emails/quote_deadline_expired_subject.txt b/backend/templates/emails/quote_deadline_expired_subject.txt new file mode 100644 index 0000000..dfd17f7 --- /dev/null +++ b/backend/templates/emails/quote_deadline_expired_subject.txt @@ -0,0 +1 @@ +{% autoescape off %}【报价截止提醒】询价单 {{ inquiry_no }} 有 {{ supplier_count }} 家供应商已到期未报价,请及时处理{% endautoescape %}