<template>
  <div class="si-content">
    <table>
      <tr>
        <td>姓名</td>
        <td>{{ setlinfo.psnName }}</td>
        <td>性别</td>
        <td>{{ setlinfo.gendName }}</td>
        <td>年龄</td>
        <td>{{ setlinfo.age }}</td>
        <td>个人编号</td>
        <td colspan="2">{{ setlinfo.psnNo }}</td>
        <td style="width: 70px">补助类别</td>
        <td colspan="2">{{ setlinfo.psnIdetTypeName }}</td>
      </tr>
      <tr>
        <td>单位名称</td>
        <td colspan="3">{{ setlinfo.empName }}</td>
        <td>人员类别</td>
        <td>{{ setlinfo.psnTypeName }}</td>
        <td>联系电话</td>
        <td colspan="2">{{ setlinfo.tel }}</td>
        <td>公务员标志</td>
        <td colspan="2">{{ setlinfo.cvlservFlagName }}</td>
      </tr>
      <tr>
        <td style="width: 60px">科室</td>
        <td colspan="3">{{ setlinfo.admDeptName }}</td>
        <td style="width: 60px">床位号</td>
        <td>{{ setlinfo.admBed }}</td>
        <td style="width: 60px">就诊日期</td>
        <td colspan="5">{{ setlinfo.begntime }}</td>
      </tr>
      <tr>
        <td>证件号码</td>
        <td colspan="3">{{ setlinfo.certno }}</td>
        <td>证件类型</td>
        <td>{{ setlinfo.psnCertTypeName }}</td>
        <td colspan="2">就诊诊断</td>
        <td colspan="4">{{ setlinfo.diseName }}</td>
      </tr>
      <tr>
        <td>医疗类别</td>
        <td colspan="3">{{ setlinfo.medTypeName }}</td>
        <td>结算时间</td>
        <td>{{ setlinfo.setlTime }}</td>
        <td>主管医师</td>
        <td colspan="2">{{ setlinfo.chfpdrName }}</td>
        <td colspan="2">个人账户余额</td>
        <td colspan="2">{{ setlinfo.balc }}</td>
      </tr>
    </table>
    <div style="height: 8px"></div>
    <table>
      <tr>
        <td rowspan="3">既往费用</td>
        <td rowspan="2" style="width: 40px">本年门诊就诊次数</td>
        <td rowspan="2" style="width: 80px">本年度门诊入段费用累计</td>
        <td colspan="5">本年度已发生的门诊医疗费用支出</td>
      </tr>
      <tr>
        <td>医疗费合计</td>
        <td>已付起付线</td>
        <td>统筹支付</td>
        <td>政策自费</td>
        <td>政策自付</td>
      </tr>
      <tr>
        <td>{{ setlinfo.cuminfo.yearAdmtimesMz }}</td>
        <td>{{ setlinfo.cuminfo.yearPeriodFeeSumMz }}</td>
        <td>{{ setlinfo.cuminfo.yearMedfeeSumMz }}</td>
        <td>{{ setlinfo.cuminfo.yearPayedBegnlineMz }}</td>
        <td>{{ setlinfo.cuminfo.yearBaseFundPayAmtMz }}</td>
        <td>{{ setlinfo.cuminfo.yearPolicySelfPayMz }}</td>
        <td>{{ setlinfo.cuminfo.yearPreSelfPayMz }}</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>
        <td>乙类费用</td>
        <td>丙类费用</td>
      </tr>
      <tr>
        <td>西药费</td>
        <td>{{ setlinfo.chrgItemLvInfo.westMedFeeSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.westMedFeeFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.westMedFeeScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.westMedFeeThrd }}</td>
        <td>中药饮片费</td>
        <td>{{ setlinfo.chrgItemLvInfo.herbalSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.herbalFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.herbalScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.herbalThrd }}</td>
      </tr>
      <tr>
        <td>中成药费</td>
        <td>{{ setlinfo.chrgItemLvInfo.chnsPtntSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.chnsPtntFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.chnsPtntScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.chnsPtntThrd }}</td>
        <td>诊察费</td>
        <td>{{ setlinfo.chrgItemLvInfo.clinicSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.clinicFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.clinicScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.clinicThrd }}</td>
      </tr>
      <tr>
        <td>治疗费</td>
        <td>{{ setlinfo.chrgItemLvInfo.treatSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.treatFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.treatScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.treatThrd }}</td>
        <td>手术费</td>
        <td>{{ setlinfo.chrgItemLvInfo.surgerySum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.surgeryFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.surgeryScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.surgeryThrd }}</td>
      </tr>
      <tr>
        <td>护理费</td>
        <td>{{ setlinfo.chrgItemLvInfo.nursingSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.nursingFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.nursingScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.nursingThrd }}</td>
        <td>卫生材料费</td>
        <td>{{ setlinfo.chrgItemLvInfo.sntryMtrlsSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.sntryMtrlsFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.sntryMtrlsScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.sntryMtrlsThrd }}</td>
      </tr>
      <tr>
        <td>化验费</td>
        <td>{{ setlinfo.chrgItemLvInfo.examSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.examFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.examScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.examThrd }}</td>
        <td>一般诊疗费</td>
        <td>{{ setlinfo.chrgItemLvInfo.nrmlTrtmtSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.nrmlTrtmtFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.nrmlTrtmtScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.nrmlTrtmtThrd }}</td>
      </tr>
      <tr>
        <td>检查费</td>
        <td>{{ setlinfo.chrgItemLvInfo.inspectSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.inspectFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.inspectScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.inspectThrd }}</td>
        <td>挂号费</td>
        <td>{{ setlinfo.chrgItemLvInfo.registerSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.registerFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.registerScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.registerThrd }}</td>
      </tr>
      <tr>
        <td>床位费</td>
        <td>{{ setlinfo.chrgItemLvInfo.bedfeeSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.bedfeeFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.bedfeeScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.bedfeeThrd }}</td>
        <td>其他费</td>
        <td>{{ setlinfo.chrgItemLvInfo.othfeeSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.othfeeFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.othfeeScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.othfeeThrd }}</td>
      </tr>
      <tr>
        <td>合计</td>
        <td>{{ setlinfo.chrgItemLvInfo.allfeeSum }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.allfeeFrst }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.allfeeScnd }}</td>
        <td>{{ setlinfo.chrgItemLvInfo.allfeeThrd }}</td>
        <td colspan="5"></td>
      </tr>
      <tr>
        <td rowspan="2">政策项</td>
        <td colspan="2">个人负担</td>
        <td colspan="2">基金支付</td>
        <td rowspan="2" colspan="5">小计</td>
      </tr>
      <tr>
        <td>金额</td>
        <td>个人负担比例</td>
        <td>金额</td>
        <td>基金支付比例</td>
      </tr>
      <tr>
        <td>全自费</td>
        <td>{{ setlinfo.polItemInfo.selfPayPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.selfPayPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.selfPayFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.selfPayFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.selfPaySum }}</td>
      </tr>
      <tr>
        <td>乙类先自付</td>
        <td>{{ setlinfo.polItemInfo.scndPrePayPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.scndPrePayPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.scndPrePayFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.scndPrePayFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.scndPrePaySum }}</td>
      </tr>
      <tr>
        <td>超限额自付</td>
        <td>{{ setlinfo.polItemInfo.ovrlmtSelfPayPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.ovrlmtSelfPayPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.ovrlmtSelfPayFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.ovrlmtSelfPayFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.ovrlmtSelfPaySum }}</td>
      </tr>
      <tr>
        <td>本次应付起付标准</td>
        <td>{{ setlinfo.polItemInfo.begnlinePsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.begnlinePsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.begnlineFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.begnlineFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.begnlineSum }}</td>
      </tr>
      <tr>
        <td>门诊(无分段)</td>
        <td>{{ setlinfo.polItemInfo.outpatientWfdPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.outpatientWfdPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.outpatientWfdFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.outpatientWfdFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.outpatientWfdSum }}</td>
      </tr>
      <tr>
        <td>统筹一段</td>
        <td>{{ setlinfo.polItemInfo.fundFrstLvPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.fundFrstLvPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.fundFrstLvFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.fundFrstLvFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.fundFrstLvSum }}</td>
      </tr>
      <tr>
        <td>统筹二段</td>
        <td>{{ setlinfo.polItemInfo.fundScndLvPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.fundScndLvPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.fundScndLvFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.fundScndLvFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.fundScndLvSum }}</td>
      </tr>
      <tr>
        <td>统筹三段</td>
        <td>{{ setlinfo.polItemInfo.fundThrdLvPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.fundThrdLvPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.fundThrdLvFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.fundThrdLvFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.fundThrdLvSum }}</td>
      </tr>
      <tr>
        <td>大额一段</td>
        <td>{{ setlinfo.polItemInfo.bigAmtFrstLvPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.bigAmtFrstLvPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.bigAmtFrstLvFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.bigAmtFrstLvFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.bigAmtFrstLvSum }}</td>
      </tr>
      <tr>
        <td>双通道统筹支付</td>
        <td>{{ setlinfo.polItemInfo.dualChannelFundPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.dualChannelFundPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.dualChannelFundFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.dualChannelFundFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.dualChannelFundSum }}</td>
      </tr>
      <tr>
        <td>双通道大额支付</td>
        <td>{{ setlinfo.polItemInfo.dualChannelBigAmtPsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.dualChannelBigAmtPsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.dualChannelBigAmtFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.dualChannelBigAmtFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.dualChannelBigAmtSum }}</td>
      </tr>
      <tr>
        <td>转外自理</td>
        <td>{{ setlinfo.polItemInfo.externalSelfHandlePsnAmt }}</td>
        <td>{{ setlinfo.polItemInfo.externalSelfHandlePsnProp }}</td>
        <td>{{ setlinfo.polItemInfo.externalSelfHandleFundAmt }}</td>
        <td>{{ setlinfo.polItemInfo.externalSelfHandleFundProp }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.externalSelfHandleSum }}</td>
      </tr>
      <tr>
        <td>合计</td>
        <td colspan="2">{{ setlinfo.polItemInfo.allPsnAmt }}</td>
        <td colspan="2">{{ setlinfo.polItemInfo.allFundAmt }}</td>
        <td colspan="5">{{ setlinfo.polItemInfo.allSum }}</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.acctPay }}</td>
      </tr>
      <tr>
        <td>统筹基金支付</td>
        <td>{{ setlinfo.hifpPay }}</td>
        <td>现金支付金额</td>
        <td>{{ setlinfo.psnCashPay }}</td>
      </tr>
      <tr>
        <td>公务员补助支付</td>
        <td>{{ setlinfo.cvlservPay }}</td>
        <td>职工大额基金支付</td>
        <td>{{ setlinfo.hifobPay }}</td>
      </tr>
      <tr>
        <td>居民大病基金支付</td>
        <td>{{ setlinfo.hifmiPay }}</td>
        <td>其他基金支付</td>
        <td>{{ setlinfo.othPay }}</td>
      </tr>
      <tr>
        <td>医疗救助支付</td>
        <td>{{ setlinfo.mafPay }}</td>
        <td>补充医疗保险基金支付</td>
        <td>{{ setlinfo.hifesPay }}</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>