<template>
  <div class="si-content">
    <table>
      <tr>
        <td style="width: 70px">姓名</td>
        <td style="width: 80px">{{ setlinfo.psnName }}</td>
        <td style="width: 70px">性别</td>
        <td style="width: 70px">{{ setlinfo.gendName }}</td>
        <td style="width: 70px">年龄</td>
        <td style="width: 100px">{{ setlinfo.age }}</td>
        <td style="width: 70px">公务员标志</td>
        <td>{{ setlinfo.cvlservFlagName }}</td>
        <td style="width: 80px">人员类别</td>
        <td style="width: 120px">{{ setlinfo.psnTypeName }}</td>
      </tr>
      <tr>
        <td>单位名称</td>
        <td colspan="5">{{ setlinfo.empName }}</td>
        <td>证件号码</td>
        <td colspan="3">{{ setlinfo.certno }}</td>
      </tr>
      <tr>
        <td>医疗类别</td>
        <td colspan="3">{{ setlinfo.medTypeName }}</td>
        <td>补助类别</td>
        <td>{{ setlinfo.psnIdetTypeName }}</td>
        <td>病种名称</td>
        <td colspan="3">{{ setlinfo.diseName }}</td>
      </tr>
    </table>
    <div style="height: 8px"></div>
    <table>
      <tr>
        <td rowspan="2">本年既往费用</td>
        <td>住院次数</td>
        <td>医疗费合计</td>
        <td>统筹基金支付</td>
        <td>大额基金支付</td>
        <td>公务员补助支付</td>
        <td>大病保险支付</td>
        <td>个人账户支付</td>
        <td>医疗救助支付</td>
      </tr>
      <tr>
        <td>{{ setlinfo.cuminfo.yearAdmtimesMz }}</td>
        <td>{{ setlinfo.cuminfo.yearMedfeeSumMz }}</td>
        <td>{{ setlinfo.cuminfo.yearBaseFundPayAmtMz }}</td>
        <td>{{ setlinfo.cuminfo.yearBigAmtpaysMz }}</td>
        <td></td>
        <td>{{ setlinfo.cuminfo.yearBigdssFundPayAmtMz }}</td>
        <td>{{ setlinfo.cuminfo.yearAcctPayMz }}</td>
        <td>{{ setlinfo.cuminfo.yearMafPayAmtMz }}</td>
      </tr>
    </table>
    <div style="height: 8px"></div>
    <table>
      <tr>
        <td>费用类别</td>
        <td>总费用</td>
        <td>丙类费用</td>
        <td>乙类费用</td>
        <td>费用类别</td>
        <td>总费用</td>
        <td>丙类费用</td>
        <td>乙类费用</td>
      </tr>
      <tr>
        <td>西药费</td>
        <td>{{ setlinfo.westMedFeeSum }}</td>
        <td>{{ setlinfo.westMedFeeThrd }}</td>
        <td>{{ setlinfo.westMedFeeScnd }}</td>
        <td>中成药费</td>
        <td>{{ setlinfo.chnsPtntSum }}</td>
        <td>{{ setlinfo.chnsPtntThrd }}</td>
        <td>{{ setlinfo.chnsPtntScnd }}</td>
      </tr>
      <tr>
        <td>医疗服务费</td>
        <td>{{ setlinfo.medsrvcSum }}</td>
        <td>{{ setlinfo.medsrvcThrd }}</td>
        <td>{{ setlinfo.medsrvcScnd }}</td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td>合计</td>
        <td>{{ setlinfo.allfeeSum }}</td>
        <td>{{ setlinfo.allfeeThrd }}</td>
        <td>{{ setlinfo.allfeeScnd }}</td>
        <td colspan="4"></td>
      </tr>
    </table>
    <div style="height: 8px"></div>
    <table>
      <tr>
        <td style="width: 25%">本次医疗费总额</td>
        <td style="width: 25%">{{ setlinfo.medfeeSumamt }}</td>
        <td style="width: 25%">其中：起付线</td>
        <td style="width: 25%">{{ setlinfo.begnline }}</td>
      </tr>
      <tr>
        <td>统筹基金支付</td>
        <td>{{ setlinfo.hifpPay }}</td>
        <td>个人账户支付金额</td>
        <td>{{ setlinfo.acctPay }}</td>
      </tr>
      <tr>
        <td>公务员补助支付</td>
        <td>{{ setlinfo.cvlservPay }}</td>
        <td>现金支付金额</td>
        <td>{{ setlinfo.psnCashPay }}</td>
      </tr>
      <tr>
        <td>大额基金支付</td>
        <td>{{ setlinfo.hifmiPay }}</td>
        <td>医疗救助支付</td>
        <td>{{ setlinfo.mafPay }}</td>
      </tr>
      <tr>
        <td>大病保险支付</td>
        <td>{{ setlinfo.hifobPay }}</td>
        <td>其他基金支付</td>
        <td>{{ setlinfo.othPay }}</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  props: {
    setlinfo: {
      type: Object,
      default: {}
    }
  },
  setup() {}
}
</script>

<style scoped>
table {
  width: 100%;
  border-collapse: collapse;
}

td {
  border: 1px solid black;
  height: 20px;
}
</style>