<template>
  <div class="word" id="contents" style="margin-top: 10px">
    <p
      style="
        font-size: 14pt;
        font-weight: 900;
        margin-botttom: 30px;
        color: black;
      "
    >
      《伙食管理登记簿》
    </p>
    <div
      style="
        width: 100%;
        height: 50px;
        margin-top: 5px;
        margin-bottom: -15px;
        font-size: 16px;
        font-weight: 400;
        color: black;
      "
    >
      <span style="margin-left: 50px; letter-spacing: 25px">月日</span>
      <span style="margin-left: 7%">星期</span>
      <span style="margin-left: 480px">单位：千克、元</span>
    </div>
    <table
      border="1"
      class="table"
      style="
        border-collapse: collapse;
        border: none;
        mso-border-left-alt: 0.5pt solid windowtext;
        mso-border-top-alt: 0.5pt solid windowtext;
        mso-border-right-alt: 0.5pt solid windowtext;
        mso-border-bottom-alt: 0.5pt solid windowtext;
        mso-border-insideh: 0.5pt solid windowtext;
        mso-border-insidev: 0.5pt solid windowtext;
        mso-padding-alt: 0pt 0pt 0pt 0pt;
        margin-left: -20px;
      "
      width="960"
      align="center"
      bordercolor="black"
    >
      <tbody>
        <tr style="text-align: center">
          <td colspan="2">区 分</td>
          <td colspan="3">
            <p align="center">主食</p>
          </td>
          <td colspan="11">
            <p align="center">菜谱</p>
          </td>
        </tr>

        <tr>
          <td colspan="2"><p align="center">早</p></td>
          <td colspan="3" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].stapleFood }}</p>
          </td>
          <td colspan="11" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].menu }}</p>
          </td>
        </tr>

        <tr>
          <td colspan="2"><p align="center">中</p></td>
          <td colspan="3" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].stapleFood }}</p>
          </td>
          <td colspan="11" style="color: v">
            <p align="center">{{ message.bdglFoodMeal[1].menu }}</p>
          </td>
        </tr>
        <tr>
          <td colspan="2"><p align="center">晚</p></td>
          <td colspan="3" style="color: v">
            <p align="center">{{ message.bdglFoodMeal[2].stapleFood }}</p>
          </td>
          <td colspan="11" style="color: v">
            <p align="center">{{ message.bdglFoodMeal[2].menu }}</p>
          </td>
        </tr>

        <tr style="text-align: center">
          <td rowspan="2" colspan="2">
            <p align="center" style="">区<br />分</p>
          </td>
          <td width="" colspan="3"><p align="center">就餐人数</p></td>
          <td width="" colspan="11"><p align="center">当日消耗</p></td>
        </tr>

        <tr>
          <td width=""><p align="center">总数</p></td>
          <td width=""><p align="center">连队</p></td>
          <td width=""><p align="center">外来</p></td>
          <td width="60px">
            <p align="center">面<br />粉</p>
          </td>
          <td width="60px">
            <p align="center">大<br />米</p>
          </td>
          <td width="60px">
            <p align="center">肉<br />类</p>
          </td>
          <td width="60px" colspan="">
            <p align="center">鱼禽<br />类</p>
          </td>
          <td width="60px">
            <p align="center">食<br />油</p>
          </td>
          <td width="60px" colspan="">
            <p align="center">黄<br />豆</p>
          </td>
          <td width="60px" colspan="">
            <p align="center">蔬<br />菜</p>
          </td>
          <td width="60px">
            <p align="center">水果<br />（奶）</p>
          </td>
          <td width="60px" colspan=""><p align="center">糖</p></td>
          <td width="60px">
            <p align="center">调<br />料</p>
          </td>
          <td width="60px" colspan="">
            <p align="center">燃<br />料</p>
          </td>
        </tr>

        <tr>
          <td width="" colspan="2"><p align="center">早</p></td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].jiucanCount }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].lianduiCount }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[0].wailaiCount }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].mianfen }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].dami }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].rolei }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[0].yulei }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].youlei }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[0].huangdo }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[0].suchai }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].shuiguo }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[0].tang }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[0].tiaoliao }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[0].ranliao }}</p>
          </td>
        </tr>

        <tr>
          <td colspan="2" width=""><p align="center">中</p></td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].jiucanCount }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].lianduiCount }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[1].wailaiCount }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].mianfen }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].dami }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].rolei }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[1].yulei }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[1].youlei }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].huangdo }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[1].suchai }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[1].shuiguo }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].tang }}</p>
          </td>

          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[1].tiaoliao }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[1].ranliao }}</p>
          </td>
        </tr>

        <tr>
          <td colspan="2" width=""><p align="center">晚</p></td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].jiucanCount }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].lianduiCount }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[2].wailaiCount }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].mianfen }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].dami }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].rolei }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[2].yulei }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].youlei }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[2].huangdo }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[2].suchai }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].shuiguo }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[2].tang }}</p>
          </td>
          <td width="" style="color: black">
            <p align="center">{{ message.bdglFoodMeal[2].tiaoliao }}</p>
          </td>
          <td width="" style="color: black" colspan="">
            <p align="center">{{ message.bdglFoodMeal[2].ranliao }}</p>
          </td>
        </tr>

        <tr>
          <td width="" colspan="16"><p align="center">实物检查验收</p></td>
        </tr>

        <tr>
          <td width=""><p align="center">区分</p></td>
          <td width="" colspan="3"><p align="center">品名</p></td>
          <td width="" colspan="2"><p align="center">重量</p></td>
          <td width="" colspan="2"><p align="center">单价</p></td>
          <td width="" colspan="2"><p align="center">金额</p></td>
          <td width="" colspan="3"><p align="center">购买或自产</p></td>
          <td width="" colspan="3"><p align="center">备注</p></td>
        </tr>

        <tr>
          <td width="" rowspan=""><p align="center">主食</p></td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
        </tr>

        <tr>
          <td rowspan=""><p align="center">副食</p></td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
        </tr>

        <tr>
          <td width="" rowspan=""><p align="center">其他</p></td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="2">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
          <td width="" style="color: black" colspan="3">
            <p align="center"></p>
          </td>
        </tr>

        <!-- </table> -->
        <!-- <br clear="all"> -->
        <!-- <table border="1" cellspacing="0" cellpadding="0" width="568"> -->
        <tr style="text-align: center">
          <td width="" colspan="2" rowspan="2">
            <p align="center" style="">姓名</p>
          </td>
          <td width="" colspan="6"><p align="center">交伙食费</p></td>
          <td width="" colspan="2" rowspan="2">
            <p align="center" style="">姓名</p>
          </td>
          <td width="" colspan="6"><p align="center">退伙食费</p></td>
        </tr>

        <tr>
          <td width="" colspan="2">
            <p align="center">天数</p>
          </td>
          <td width="" colspan="2">
            <p align="center" style="">标准</p>
          </td>
          <td width="" colspan="2">
            <p align="center" style="">金额</p>
          </td>
          <td width="" colspan="2">
            <p align="center">天数</p>
          </td>
          <td width="" colspan="2">
            <p align="center" style="">标准</p>
          </td>
          <td width="" colspan="2">
            <p align="center" style="">金额</p>
          </td>
        </tr>

        <tr>
          <td width="" colspan="16"><p align="center">在食堂购物</p></td>
        </tr>

        <tr>
          <td width="" rowspan="2" colspan="2">
            <p align="center">姓名</p>
          </td>
          <td width="" colspan="4"><p align="center">主食</p></td>
          <td width="" colspan="4"><p align="center">副食</p></td>
          <td width="" colspan="4"><p align="center">其他</p></td>
          <td width="" rowspan="2" colspan="2">
            <p align="center">合计</p>
          </td>
        </tr>

        <tr>
          <td width="" colspan="2"><p align="center">品名</p></td>
          <td width="" colspan="1"><p align="center">重量</p></td>
          <td width="" colspan="1"><p align="center">金额</p></td>
          <td width="" colspan="2"><p align="center">品名</p></td>
          <td width="" colspan="1"><p align="center">重量</p></td>
          <td width="" colspan="1"><p align="center">金额</p></td>
          <td width="" colspan="2"><p align="center">品名</p></td>
          <td width="" colspan="1"><p align="center">重量</p></td>
          <td width="" colspan="1"><p align="center">金额</p></td>
        </tr>

        <tr v-for="(item, i) in message.bdglFoodShoppings" :key="i">
          <td width="" colspan="2">
            <p align="center">
              {{ item.peopleName }}
            </p>
          </td>
          <td width="" colspan="2">
            <p align="center">{{ item.zName }}</p>
          </td>
          <td width="" colspan="1">
            <p align="center">
              {{ item.zWeight }}
            </p>
          </td>
          <td width="" colspan="1">
            <p align="center">{{ item.zMoney }}</p>
          </td>
          <td width="" colspan="2">
            <p align="center">{{ item.fName }}</p>
          </td>
          <td width="" colspan="1">
            <p align="center">{{ item.fWeight }}</p>
          </td>
          <td width="" colspan="1">
            <p align="center">{{ item.fMoney }}</p>
          </td>
          <td width="" colspan="2">
            <p align="center">{{ item.qName }}</p>
          </td>
          <td width="" colspan="1">
            <p align="center">{{ item.qWeight }}</p>
          </td>
          <td width="" colspan="1">
            <p align="center">{{ item.qMoney }}</p>
          </td>
          <td width="" colspan="2">
            <p align="center">{{ item.total }}</p>
          </td>
        </tr>

        <tr>
          <td width="" colspan="2">
            <p align="center">
              炊<br />
              事<br />
              人<br />
              员<br />
              及<br />
              食<br />
              堂<br />
              卫<br />
              生
            </p>
          </td>
          <td width="" colspan="6" style=""><p>245</p></td>
          <td width="" style="padding: 48px 5px">
            <p align="center">
              帮<br />
              厨<br />
              人<br />
              员
            </p>
          </td>
          <td width="" colspan="7" style="">
            <p align="center">胡万怡</p>
          </td>
        </tr>

        <tr>
          <td width="" colspan="2">
            <p align="center">
              就<br />
              餐<br />
              人<br />
              员<br />
              意<br />
              见
            </p>
          </td>
          <td width="" colspan="14" style="text-align: center">
            <p align="center">4545<a name="_GoBack"></a></p>
          </td>
        </tr>
      </tbody>
    </table>
    <div
      style="
        width: 100%;
        height: 50px;
        margin-top: 15px;
        font-size: 16px;
        font-weight: 400;
        color: black;
      "
    >
      <span style="margin-left: 10px">单位首长：</span>
      <span style="margin-left: 30%">经委会主任：</span>
      <span style="margin-left: 360px">值班员：</span>
    </div>
  </div>
</template>
<script>
export default {
  name: "bdgleven",
  props: ["message"],
  created() {
    console.log(this.message);
  },
};
</script>
<style scoped>
tbody {
  border: black;
  color: black;
  text-align: center;
}
tr:last-child {
  border-bottom: 1px solid;
}
</style>