<template>
  <div>
    <el-button class="box1" @click="daochu">导出</el-button>

    <div class="word" id="contents">
      <p
        style="
          font-size: 16pt;
          font-weight: 900;
          margin: 0px 0px 20px -30px;
          color: black;
          text-align: center;
          font-family: 'kaiti'
        "
      >
        军械装备登记表（总表）
      </p>
      <p
        style="
          font-size: 16px;
          font-weight: 600;
          margin: 0px 0px 3px 0px;
          color: black;
          font-family: 'kaiti'
        "
      >
        装备名称：<span style="text-decoration: underline;font-family: 'fangsong'"
          >{{ message.name }}
        </span>
      </p>
      <table
        border="1"
        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: -10px;
        "
        width="940"
        bordercolor="black"
      >
        <tbody style="font-size: 16px;font-weight: 600;">
          <tr class="JR_tr" style="font-size: 16px;font-weight: 600;font-family: 'kaiti'">
            <td
              width="37"
              valign="center"
              align="center"
              nowrap=""
              rowspan="2"
              class="JR_left"
            >
              序<br />号
            </td>
            <td
              class="JR_left"
              width="113"
              valign="center"
              nowrap=""
              colspan="3"
            >
              <p align="center">登记日期</p>
            </td>
            <td width="47" valign="center" rowspan="2" class="JR_left">
              <p align="center">单位</p>
            </td>
            <td width="47" valign="center" rowspan="2" class="JR_left">
              <p align="center">编制数</p>
            </td>
            <td
              width="94"
              valign="center"
              nowrap=""
              rowspan="2"
              class="JR_left"
            >
              <p align="center">
                交接依据<br />
                来 &nbsp;&nbsp;&nbsp;源
              </p>
            </td>
            <td
              width="198"
              valign="center"
              nowrap=""
              colspan="4"
              class="JR_left"
            >
              <p align="center">现有数</p>
            </td>
            <td
              width="217"
              valign="center"
              nowrap=""
              colspan="3"
              class="JR_left"
            >
              <p align="center">附品、工具、装护具配套情况</p>
            </td>
            <td
              width="75"
              valign="center"
              nowrap=""
              rowspan="2"
              class="JR_left"
            >
              <p align="center">登记人</p>
            </td>
            <td
              width="75"
              valign="center"
              nowrap=""
              rowspan="2"
              class="JR_left"
            >
              <p align="center">核对人</p>
            </td>
          </tr>
          <tr class="JR_tr" style="font-size: 16px;font-weight: 600;font-family: 'kaiti'">
            <td width="37" valign="center" nowrap="" class="JR_left">
              <p align="center">年</p>
            </td>
            <td width="37" valign="center" nowrap="" class="JR_left">
              <p align="center">月</p>
            </td>
            <td width="37" valign="center" nowrap="" class="JR_left">
              <p align="center">日</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_left">
              <p align="center">合计</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_left">
              <p align="center">完好数</p>
            </td>
            <td width="56" valign="center" nowrap="" class="JR_left">
              <p align="center">待修数</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_left">
              <p align="center">送修数</p>
            </td>
            <td width="66" valign="center" nowrap="" class="JR_left">
              <p align="center">标准（套）</p>
            </td>
            <td width="56" valign="center" nowrap="" class="JR_left">
              <p align="center">现有（套）</p>
            </td>
            <td width="94" valign="center" nowrap="" class="JR_left">
              <p align="center">缺陷种类及数量</p>
            </td>
          </tr>
          <tr class="JR_tr" style="font-size: 16px;font-weight: 600;font-family: 'fangsong'">
            <td width="37" valign="center" nowrap="" class="JR_right">
              <p align="center">01</p>
            </td>
            <td width="37" valign="center" nowrap="" class="JR_right">
              <p align="center">22</p>
            </td>
            <td width="37" valign="center" nowrap="" class="JR_right">
              <p align="center">03</p>
            </td>
            <td width="37" valign="center" nowrap="" class="JR_right">
              <p align="center">08</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.metering }}</p>
            </td>
            <td width="94" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.gist }}</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.prepareNumber }}</p>
            </td>

            <td width="47" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.sum }}</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.intactNumber }}</p>
            </td>
            <td width="56" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.repairNumber }}</p>
            </td>
            <td width="47" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.sendNumber }}</p>
            </td>
            <td width="66" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.standard }}</p>
            </td>
            <td width="56" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.existing }}</p>
            </td>
            <td width="94" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.flaw }}</p>
            </td>
            <td width="75" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.peopleName }}</p>
            </td>
            <td width="75" valign="center" nowrap="" class="JR_right">
              <p align="center">{{ message.people1Name }}</p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="94" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="56" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="66" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="56" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="94" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="75" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="75" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="94" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="56" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="66" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="56" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="94" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="75" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="75" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="37" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="94" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="56" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="47" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="66" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="56" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="94" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="75" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
            <td width="75" height="45px" valign="center" nowrap="">
              <p align="center"></p>
            </td>
          </tr>
          <tr class="JR_tr">
            <td width="37" valign="center" nowrap="" class="JR_left" style="font-family: 'kaiti'">
              <p align="center">备注</p>
            </td>
            <td width="869" valign="top" colspan="15" class="JR_right">
              <p></p>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</template>
<script>
import { lookWord } from "@/utils/look_word.js";

import "@/utils/lodJs.js";
export default {
  name: "bdgleven",
  props: ["message"],
  data() {
    return {
      title: "军械装备登记表（总表）",
      style:
        ".JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
    };
  },
  methods: {
    daochu() {
      lookWord(this.title, "#contents", this.style, true);
    },
  },
};
</script>
<style scoped>
tbody {
  border: black;
  color: black;
  text-align: center;
}
tr:last-child {
  border-bottom: 1px solid;
}
.box1 {
  position: absolute;
  right: 30px;
  top: 80px;
  border: 1px solid rgb(129, 130, 131);
  border-radius: 5px;
}
</style>