{% extends 'admin/base.html' %} {% block title %}报价单预览 - {{ quotation.quotation_no }}{% endblock %} {% block content %}
{{ company.address }}
电话: {{ company.phone }}
邮箱: {{ company.email }}
{% if company.website %}网站: {{ company.website }}
{% endif %} {% endif %}单号: {{ quotation.quotation_no }}
日期: {{ quotation.created_at|date:"Y年m月d日" }}
状态: {{ quotation.get_status_display }}
{{ quotation.customer.name }}
联系人: {{ quotation.customer.contact_person }}
电话: {{ quotation.customer.phone }}
{% if quotation.customer.email %}邮箱: {{ quotation.customer.email }}
{% endif %} {% if quotation.customer.address %}地址: {{ quotation.customer.address }}
{% endif %}标题: {{ quotation.title }}
有效期: {{ quotation.valid_days }} 天
创建人: {{ quotation.created_by.username }}
| 序号 | 产品名称 | 规格型号 | 单位 | 数量 | 单价(元) | 折扣率(%) | 小计(元) |
|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ item.product.name }} | {{ item.product.brand }} {{ item.product.model }} | {{ item.product.unit }} | {{ item.quantity }} | ¥{{ item.unit_price }} | {{ item.discount_rate }}% | ¥{{ item.subtotal }} |
| 合计金额: | ¥{{ quotation.total_amount }} | ||||||
| 整体折扣({{ quotation.discount_rate }}%): | -¥{{ quotation.total_amount|floatformat:2 }} | ||||||
| 税费({{ quotation.tax_rate }}%): | +¥{{ quotation.total_amount|floatformat:2 }} | ||||||
| 最终金额: | ¥{{ quotation.total_amount|floatformat:2 }} | ||||||
客户确认:
签字: ___________________
日期: ___________________
公司盖章:
签字: ___________________
日期: ___________________