<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>活动报备单</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        font-family: STSong-Light;
      }
      .a4-container {
        width: 21cm;
        height: 29.7cm;
        margin: 0 auto;
      }
      table {
        color: #333;
        border-color: #ddd;
        margin: 0 auto;
        width: 100%;
        -pdf-keep-in-frame-mode: shrink;
      }
      table td {
        padding: 5px 3px;
      }
      table input {
        border: 0;
      }
      .topright {
        text-align: right;
      }
      img {
        max-width: 4cm;
      }
      .table-img {
        text-align: center;
      }
    </style>
  </head>
  <body>
  {% if info.category_name == '陈列报备' %}
    <div class="a4-container">
      <div
        style="
          font-size: 24px;
          text-align: center;
          line-height: 50px;
          margin-bottom: 20px;
        "
      >
        陈列报备单
      </div>
{#      <div class="topright">#}
{#        费用归属单位：<span>{{ info.budget_agent_name }}</span>#}
{#      </div>#}
      <table cellpadding="0" cellspacing="0" class="auto-style1" border="1">
        <tr>
          <td rowspan="4" style="width: 4rem">活动信息</td>
          <td>是否通过审核</td>
          <td>
			{% if info.status == 1 %}
				是
			{% endif%}
		  </td>
          <td>活动主题</td>
          <td>{{ info.category_name }}</td>
          <td>执行案编号</td>
          <td>{{ info.forms.code.value }}</td>
        </tr>
        <tr>
          <td>终端名称</td>
          <td>{{ info.forms.terminal.value }}</td>
          <td>终端地址</td>
          <td colspan="3">{{ info.forms.terminalAddress.value }}</td>
        </tr>
        <tr>
          <td>店主姓名</td>
          <td >{{ info.forms.terminalPerson.value }}</td>
          <td>店主联系方式</td>
          <td colspan="3">{{ info.forms.terminalPhone.value }}</td>
        </tr>
        <tr>
          <td>区域</td>
          <td >{{ info.address }}</td>
          <td>备注</td>
          <td colspan="3">{{ info.remark|default:" " }}</td>
        </tr>
      <tr>
          <td rowspan="2">申请信息</td>
          <td>申请人</td>
          <td>{{ info.username }}</td>
          <td>申请人部门</td>
          <td>{{ info.department|default:"" }}</td>
          <td>申请时间</td>
          <td>{{ info.tm }}</td>
        </tr>
        <tr>
          <td>审核人</td>
          <td>{{ info.permiter|default:"" }}</td>
          <td>审核时间</td>
          <td colspan="3">{{ info.permit_tm|default:"" }}</td>
        </tr>
        <tr>
          <td rowspan="3">陈列信息</td>
          <td>陈列时间</td>
          <td colspan="7">{{ info.forms.displayStartTm.value }} 到 {{ info.forms.displayEndTm.value }}</td>
        </tr>
        <tr>
          <td >陈列产品</td>
          <td colspan="6">
            <table cellpadding="0" cellspacing="0" border="1">
              <tr>
                <td>产品名称</td>
                <td>数量</td>
              </tr>
            {% for product in products %}
              <tr>
                <td>{{ product.name }}</td>
                <td>{{ product.display_num }}</td>
              </tr>
            {% endfor %}
            </table>
            </td>
        </tr>
        <tr>
          <td >兑付产品</td>
          <td colspan="6">
            <table cellpadding="0" cellspacing="0" border="1">
              <tr>
                <td>产品名称</td>
                <td>数量</td>
              </tr>
            {% for product1 in giveProducts %}
              <tr>
                <td>{{ product1.name }}</td>
                <td>{{ product1.redeem_num }}</td>
              </tr>
            {% endfor %}
            </table>
            </td>
        </tr>

        <tr>
          <td rowspan="1" style="width: 4rem">业务信息</td>

          <td>受益对象</td>
          <td>{{ info.forms.benefitObject.value }}</td>
          <td>跟进业务员姓名</td>
          <td>{{ info.forms.salemanName.value }}</td>
          <td>业务员联系方式</td>
          <td>{{ info.forms.salemanPhone.value }}</td>
        </tr>


        <tr>
          <td rowspan="1">照片信息</td>
          <td colspan="6">
            <div
              style="display: grid;grid-template-columns: repeat(3, 33.33%);              "
            >
            {% for photo in photos %}
              <img src="{{photo.url}}"/>
            {% endfor %}
            </div>
          </td>
        </tr>

        <tr>
          <td colspan="7">
            备注：<br />
            <div style="text-align: right; line-height: 30px">
              签名：<input style="width: 80px" type="text" /><br />
              <input style="width: 60px" type="text" />年<input
                style="width: 60px"
                type="text"
              />月<input style="width: 60px" type="text" />日
            </div>
          </td>
        </tr>
      </table>
    </div>
  {% endif%}

  {% if info.category_name == '品鉴会信息报备' %}
    <div class="a4-container">
      <div
        style="
          font-size: 24px;
          text-align: center;
          line-height: 50px;
          margin-bottom: 20px;
        "
      >
        品鉴会信息报备
      </div>
      <table cellpadding="0" cellspacing="0" class="auto-style1" border="1">
        <tr>
          <td rowspan="8" style="width: 4rem">活动信息</td>
          <td>是否通过审核</td>
          <td>
			{% if info.status == 1 %}
				是
			{% endif%}
		  </td>
          <td>活动主题</td>
          <td>{{ info.forms.活动名称.value }}</td>
          <td>执行案编号</td>
          <td>{{ info.forms.执行案编号.value }}</td>
        </tr>
        <tr>
          <td>活动时间</td>
          <td colspan="3">{{ info.forms.开始时间.value }} 到 {{ info.forms.结束时间.value }}</td>
          <td>报备时间</td>
          <td >{{ info.forms.报备时间.value }}</td>
        </tr>
        <tr>
          <td>经销商</td>
          <td colspan="3">{{ info.forms.经销商.value }}</td>
          <td>受益对象</td>
          <td >{{ info.forms.受益对象.value }}</td>
        </tr>
        <tr>
          <td>订餐人</td>
          <td colspan="3">{{ info.forms.订餐人.value }}</td>
        <td>订餐人联系电话</td>
          <td >{{ info.forms.订餐人联系电话.value }}</td>
        </tr>
        <tr>
          <td>酒店名称</td>
          <td>{{ info.forms.酒店名称.value }}</td>
          <td>酒店地址</td>
          <td>{{ info.forms.酒店地址.value }}</td>
          <td>酒店电话</td>
          <td>{{ info.forms.酒店电话.value }}</td>
        </tr>
        <tr>
          <td>包间号</td>
          <td colspan="3">{{ info.forms.包间号.value }}</td>
          <td>消费者人数</td>
          <td>{{ info.forms.消费者人数.value }}</td>
        </tr>
        <tr>
          <td>现金申请金额</td>
          <td colspan="3">{{ info.forms.现金申请金额.value }}</td>
          <td>产品申请金额</td>
          <td>{{ info.forms.产品申请金额.value }}</td>
        </tr>
        <tr>
          <td>跟进业务人员姓名</td>
          <td colspan="3">{{ info.forms.跟进业务人员姓名.value }}</td>
          <td>跟进业务人员电话</td>
          <td>{{ info.forms.跟进业务人员电话.value }}</td>
        </tr>
      <tr>
          <td rowspan="2">申请信息</td>
          <td>申请人</td>
          <td>{{ info.username }}</td>
          <td>申请人部门</td>
          <td>{{ info.department|default:"" }}</td>
          <td>申请时间</td>
          <td>{{ info.tm }}</td>
        </tr>
        <tr>
          <td>审核人</td>
          <td>{{ info.permiter|default:"" }}</td>
          <td>审核时间</td>
          <td colspan="3">{{ info.permit_tm|default:"" }}</td>
        </tr>

        <tr>
          <td rowspan="1">用酒信息</td>
          <td colspan="6">
            <table cellpadding="0" cellspacing="0" border="1">
              <tr>
                <td >产品名称</td>
                <td>数量</td>
              </tr>
            {% for product in products %}
              <tr>
                <td >{{ product.name }}</td>
                <td>{{ product.num }}</td>
              </tr>
            {% endfor %}
            </table>
            </td>
        </tr>
        <tr>
          <td rowspan="1">照片信息</td>
          <td colspan="6">
            <div
              style="display: grid;grid-template-columns: repeat(3, 33.33%);              "
            >
            {% for photo in photos %}
              <img src="{{photo.url}}"/>
            {% endfor %}
            </div>
          </td>
        </tr>

        <tr>
          <td colspan="7">
            备注：<br />
            <div style="text-align: right; line-height: 30px">
              签名：<input style="width: 80px" type="text" /><br />
              <input style="width: 60px" type="text" />年<input
                style="width: 60px"
                type="text"
              />月<input style="width: 60px" type="text" />日
            </div>
          </td>
        </tr>
      </table>
    </div>
  {% endif%}

   {% if info.category_name == '宴席活动信息报备' %}
    <div class="a4-container">
      <div
        style="
          font-size: 24px;
          text-align: center;
          line-height: 50px;
          margin-bottom: 20px;
        "
      >
        宴席活动信息报备
      </div>
{#      <div class="topright">#}
{#        费用归属单位：<span>{{ info.budget_agent_name }}</span>#}
{#      </div>#}
      <table cellpadding="0" cellspacing="0" class="auto-style1" border="1">
        <tr>
          <td rowspan="6" style="width: 4rem">活动信息</td>
          <td>是否通过审核</td>
          <td>
			{% if info.status == 1 %}
				是
			{% endif%}
		  </td>
          <td>活动主题</td>
          <td>{{ info.category_name }}</td>
          <td>执行案编号</td>
          <td>{{ info.forms.执行案编号.value }}</td>
        </tr>
        <tr>
          <td>报备人员姓名</td>
          <td>{{ info.forms.报备人员姓名.value }}</td>
          <td>报备人员电话</td>
          <td >{{ info.forms.报备人员电话.value }}</td>
            <td>报备时间</td>
          <td >{{ info.forms.报备时间.value }}</td>
        </tr>
        <tr>
          <td>活动时间</td>
          <td >{{ info.forms.开始时间.value }} 到 {{ info.forms.结束时间.value }}</td>
          <td>宴席主家</td>
          <td >{{ info.forms.宴席主家.value }}</td>
          <td>宴席类型</td>
          <td >{{ info.forms.宴席类型.value }}</td>
        </tr>
        <tr>
          <td>活动场地</td>
          <td >{{ info.forms.活动场地.value }}</td>
          <td>活动地址</td>
          <td >{{ info.forms.活动地址.value }}</td>
            <td>宴席桌数</td>
          <td >{{ info.forms.宴席桌数.value }}</td>
        </tr>
        <tr>
          <td>经销商</td>
          <td >{{ info.forms.经销商.value }}</td>
          <td>受益对象</td>
          <td colspan="3">{{ info.forms.受益对象.value }}</td>
        </tr>
        <tr>
          <td>执行人</td>
          <td >{{ info.forms.执行人.value }}</td>
          <td>执行人电话</td>
          <td colspan="3">{{ info.forms.执行人电话.value }}</td>
        </tr>
        <tr>
          <td rowspan="2">申请信息</td>
          <td>申请人</td>
          <td>{{ info.username }}</td>
          <td>申请人部门</td>
          <td>{{ info.department|default:"" }}</td>
          <td>申请时间</td>
          <td>{{ info.tm }}</td>
        </tr>
        <tr>
          <td>审核人</td>
          <td>{{ info.permiter|default:"" }}</td>
          <td>审核时间</td>
          <td colspan="3">{{ info.permit_tm|default:"" }}</td>
        </tr>

        <tr>
          <td rowspan="3">产品信息信息</td>
        </tr>
        <tr>
          <td >购买产品</td>
          <td colspan="6">
            <table cellpadding="0" cellspacing="0" border="1">
              <tr>
                <td>产品名称</td>
                <td>数量</td>
              </tr>
            {% for product in products %}
              <tr>
                <td>{{ product.name }}</td>
                <td>{{ product.num }}</td>
              </tr>
            {% endfor %}
            </table>
            </td>
        </tr>
        <tr>
          <td >赠送产品</td>
          <td colspan="6">
            <table cellpadding="0" cellspacing="0" border="1">
              <tr>
                <td>产品名称</td>
                <td>数量</td>
              </tr>
            {% for product1 in giveProducts %}
              <tr>
                <td>{{ product1.name }}</td>
                <td>{{ product1.num }}</td>
              </tr>
            {% endfor %}
            </table>
            </td>
        </tr>

        <tr>
          <td rowspan="1">照片信息</td>
          <td colspan="6">
            <div
              style="display: grid;grid-template-columns: repeat(3, 33.33%);              "
            >
            {% for photo in photos %}
              <img src="{{photo.url}}"/>
            {% endfor %}
            </div>
          </td>
        </tr>

        <tr>
          <td colspan="7">
            备注：<br />
            <div style="text-align: right; line-height: 30px">
              签名：<input style="width: 80px" type="text" /><br />
              <input style="width: 60px" type="text" />年<input
                style="width: 60px"
                type="text"
              />月<input style="width: 60px" type="text" />日
            </div>
          </td>
        </tr>
      </table>
    </div>
  {% endif%}

   {% if info.category_name == 'VIP礼赠活动信息报备' %}
    <div class="a4-container">
      <div
        style="
          font-size: 24px;
          text-align: center;
          line-height: 50px;
          margin-bottom: 20px;
        "
      >
        VIP礼赠活动信息报备
      </div>
{#      <div class="topright">#}
{#        费用归属单位：<span>{{ info.budget_agent_name }}</span>#}
{#      </div>#}
      <table cellpadding="0" cellspacing="0" class="auto-style1" border="1">
        <tr>
          <td rowspan="6" style="width: 4rem">活动信息</td>
          <td>是否通过审核</td>
          <td>
			{% if info.status == 1 %}
				是
			{% endif%}
		  </td>
          <td>活动主题</td>
          <td>{{ info.category_name }}</td>
          <td>执行案编号</td>
          <td>{{ info.forms.执行案编号.value }}</td>
        </tr>
        <tr>
          <td>报备人员姓名</td>
          <td>{{ info.forms.报备人员姓名.value }}</td>
          <td>报备人员电话</td>
          <td >{{ info.forms.报备人员电话.value }}</td>
            <td>报备时间</td>
          <td >{{ info.forms.报备时间.value }}</td>
        </tr>
        <tr>
          <td>活动时间</td>
          <td >{{ info.forms.开始时间.value }} </td>
          <td>礼赠人员名单</td>
          <td >{{ info.forms.礼赠人员名单.value }}</td>
          <td>方案申请金额</td>
          <td >{{ info.forms.方案申请金额.value }}</td>
        </tr>

        <tr>
          <td>经销商</td>
          <td >{{ info.forms.经销商.value }}</td>
          <td>受益对象</td>
          <td colspan="3">{{ info.forms.受益对象.value }}</td>
        </tr>
        <tr>
          <td>执行人</td>
          <td >{{ info.forms.执行人.value }}</td>
          <td>执行人电话</td>
          <td colspan="3">{{ info.forms.执行人电话.value }}</td>
        </tr>

        <tr>
          <td rowspan="2">产品信息</td>
        </tr>
        <tr>
          <td >礼赠产品</td>
          <td colspan="6">
            <table cellpadding="0" cellspacing="0" border="1">
              <tr>
                <td>产品名称</td>
                <td>数量</td>
              </tr>
            {% for product in giveProducts %}
              <tr>
                <td>{{ product.name }}</td>
                <td>{{ product.num }}</td>
              </tr>
            {% endfor %}
            </table>
            </td>
        </tr>
        <tr>
          <td rowspan="1">照片信息</td>
          <td colspan="6">
            <div
              style="display: grid;grid-template-columns: repeat(3, 33.33%);              "
            >
            {% for photo in photos %}
              <img src="{{photo.url}}"/>
            {% endfor %}
            </div>
          </td>
        </tr>

        <tr>
          <td colspan="7">
            备注：<br />
            <div style="text-align: right; line-height: 30px">
              签名：<input style="width: 80px" type="text" /><br />
              <input style="width: 60px" type="text" />年<input
                style="width: 60px"
                type="text"
              />月<input style="width: 60px" type="text" />日
            </div>
          </td>
        </tr>
      </table>
    </div>
  {% endif%}
  </body>
</html>
