<template>
    <div id="prescription-print" class="print_page_main_content">
        <div class="title">广东省社会医疗保障基金结算清单</div>
        <div style="text-align:right;">清单流水号 <div style="width:120px;" class="under_line">{{ info.mdtrt_id }}</div></div>
        <div class="row">
            <div>定点医疗机构名称<div style="width:120px;" class="under_line">{{info.fixmedins_name}}</div></div>
            <div>定点医疗机构代码<div style="width:120px;" class="under_line">{{info.fixmedins_code}}</div></div>
            <div>医保结算等级
                <div style="width:120px;" class="under_line">
                    <span v-if="info.hosp_lv == '01'">三级特等</span>
                    <span v-if="info.hosp_lv == '02'">三级甲等</span>
                    <span v-if="info.hosp_lv == '03'">三级乙等</span>
                    <span v-if="info.hosp_lv == '04'">三级丙等</span>
                    <span v-if="info.hosp_lv == '05'">二级甲等</span>
                    <span v-if="info.hosp_lv == '06'">二级乙等</span>
                    <span v-if="info.hosp_lv == '07'">二级丙等</span>
                    <span v-if="info.hosp_lv == '08'">一级甲等</span>
                    <span v-if="info.hosp_lv == '09'">一级乙等</span>
                    <span v-if="info.hosp_lv == '10'">一级丙等</span>
                    <span v-if="info.hosp_lv == '11'">无等级</span>
                    <span v-else></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div>医保编号<div style="width:120px;" class="under_line">{{ info.psn_no }}</div></div>
            <div>病案号<div style="width:120px;" class="under_line">{{ info.psn_no ? info.psn_no : '' }}</div></div>
            <div>申报时间
                <div style="width:40px;" class="under_line">{{ info.setl_time ? info.setl_time.split(' ')[0].slice(0,4) : '' }}</div>年
                <div style="width:40px;" class="under_line">{{ info.setl_time ? info.setl_time.split(' ')[0].slice(5,7) : '' }}</div>月
                <div style="width:40px;" class="under_line">{{ info.setl_time ? info.setl_time.split(' ')[0].slice(8,11) : '' }}</div>日
            </div>
        </div>
        <div>
            <table class="proj_table">
                <tbody>
                    <tr>
                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
                            一、基本信息
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="row">
                                <div class="inline_block">姓名
                                    <div style="width:80px;" class="under_line">{{info.psn_name}}</div>
                                </div>
                                <div class="inline_block">性别
                                    <label-box :isChecked="info.gend == '1'" showValue="男"></label-box>
                                    <label-box :isChecked="info.gend == '2'" showValue="女"></label-box>
                                </div>
                                <div class="inline_block">出生日期
                                    <div style="width:40px;" class="under_line">{{info.brdy.slice(0,4)}}</div>年
                                    <div style="width:40px;" class="under_line">{{ info.brdy.slice(5,7) }}</div>月
                                    <div style="width:40px;" class="under_line">{{ info.brdy.slice(8,11) }}</div>日
                                </div>
                                <div class="inline_block">年龄
                                    <div style="width:80px;" class="under_line">{{ getNewAge(info.certno) }}</div>岁
                                </div>
                                <div class="inline_block">国籍
                                    <div style="width:80px;" class="under_line">中国</div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="inline_block">(年龄不足1周岁)年龄
                                    <div style="width:80px;" class="under_line">{{info.age}}</div>天
                                </div>
                                <div class="inline_block">民族
                                    <div style="width:80px;" class="under_line">{{getNaty(info.naty)}}</div>
                                </div>
                                <div class="inline_block">患者证件类别
                                    <div style="width:80px;" class="under_line">身份证</div>
                                </div>
                                <div class="inline_block">患者证件号码
                                    <div style="width:140px;" class="under_line">{{info.certno}}</div>
                                </div>
                            </div>
                            <div>
                                <div class="inline_block">职业
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div class="inline_block" style="width:80px;"></div>
                                <div class="inline_block">现住址
                                    <div style="width:80px;" class="under_line"></div>省（区、市）
                                    <div style="width:80px;" class="under_line"></div>市
                                    <div style="width:80px;" class="under_line"></div>县
                                    <div style="width:140px;" class="under_line"></div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="inline_block">工作单位名称
                                    <div style="width:80px;" class="under_line">{{info.emp_name}}</div>
                                </div>
                                <div class="inline_block">工作单位地址
                                    <div style="width:160px;" class="under_line"></div>
                                </div>
                                <div class="inline_block">单位电话
                                    <div style="width:120px;" class="under_line"></div>
                                </div>
                                <div class="inline_block">邮编
                                    <div style="width:120px;" class="under_line"></div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="inline_block">联系人姓名
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div class="inline_block">关系
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div class="inline_block">地址
                                    <div style="width:80px;" class="under_line"></div>省（区、市）
                                    <div style="width:80px;" class="under_line"></div>市
                                    <div style="width:80px;" class="under_line"></div>县
                                    <div style="width:140px;" class="under_line"></div>
                                </div>
                                <div class="inline_block">电话
                                    <div style="width:80px;" class="under_line">{{info.patinet.phone}}</div>
                                </div>
                            </div>
                            <div class="row">
                              <div v-if="info.insutype == '310'" style="width:33%;">医保类型<div style="width:120px;" class="under_line">职工基本医疗保险</div></div>
                              <div v-if="info.insutype == '390'"  style="width:33%;">医保类型<div style="width:120px;" class="under_line">城乡居民基本医疗保险</div></div>
                              <div  style="width:33%;">特殊人员类型<div style="width:120px;" class="under_line"></div></div>
                              <div style="width:33%;">参保地<div style="width:120px;" class="under_line"></div></div>
                            </div>
                            <div class="row">
                                <div style="width:33%;">新生儿入院类型<div style="width:120px;" class="under_line"></div></div>
                                <div style="width:33%;">新生儿出生体重<div style="width:120px;" class="under_line"></div>克</div>
                                <div style="width:33%;">新生儿入院体重<div style="width:120px;" class="under_line"></div>克</div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
                            二、门诊慢特病诊疗信息
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="row">
                                <div class="inline_block">诊断科别
                                    <div style="width:100px;" class="under_line">血透中心</div>
                                </div>
                                <div class="inline_block">就诊日期
                                    <div style="width:100px;" class="under_line">{{ info.setl_time ? info.setl_time.split(' ')[0] : '' }}</div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:0;line-height:30px;height:30px;">
                            <table class="inside_table">
                                <tbody>
                                    <tr>
                                        <td style="width:25%;">诊断名称</td>
                                        <td style="width:25%;">诊断代码</td>
                                        <td style="width:25%;">手术及操作名称</td>
                                        <td style="width:25%;">手术及操作代码</td>
                                    </tr>
                                    <tr>
                                        <td>&nbsp;{{ info.dise_name }}</td>
                                        <td>&nbsp;{{ info.dise_code }}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr v-for="item in 5">
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
                            三、住院诊疗信息
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block">住院医疗类型
                                <label-box :isChecked="false" showValue="1.住院"></label-box>
                                <label-box :isChecked="false" showValue="2.日间手术"></label-box>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <div class="inline_block">入院途径
                                    <label-box :isChecked="false" showValue="1.急诊"></label-box>
                                    <label-box :isChecked="false" showValue="2.门诊"></label-box>
                                    <label-box :isChecked="false" showValue="3.其他医疗机构转入"></label-box>
                                    <label-box :isChecked="false" showValue="9.其他"></label-box>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <div class="inline_block">治疗类别
                                    <label-box :isChecked="false" showValue="1.西医"></label-box>
                                    <label-box :isChecked="false" showValue="2.中医"></label-box>
                                    （
                                    <label-box :isChecked="false" showValue="2.1 中医"></label-box>
                                    <label-box :isChecked="false" showValue="2.2 民族医"></label-box>
                                    ）
                                    <label-box :isChecked="false" showValue="3.中西医"></label-box>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="row">
                                <div style="width:40%" class="inline_block">入院时间
                                    <div style="width:40px;" class="under_line"></div>年
                                    <div style="width:40px;" class="under_line"></div>月
                                    <div style="width:40px;" class="under_line"></div>日
                                    <div style="width:40px;" class="under_line"></div>时
                                </div>
                                <div style="width:30%" class="inline_block">入院科别
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div style="width:30%" class="inline_block">转科科别
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="row">
                                <div style="width:40%" class="inline_block">出院时间
                                    <div style="width:40px;" class="under_line"></div>年
                                    <div style="width:40px;" class="under_line"></div>月
                                    <div style="width:40px;" class="under_line"></div>日
                                    <div style="width:40px;" class="under_line"></div>时
                                </div>
                                <div style="width:30%" class="inline_block">出院科别
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div style="width:30%" class="inline_block">实际住院
                                    <div style="width:80px;" class="under_line"></div>天
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="row">
                                <div style="width:40%" class="inline_block">门（急）诊诊断（西医诊断）
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div style="width:30%" class="inline_block">疾病代码
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div style="width:30%" class="inline_block">
                                </div>
                            </div>
                            <div class="row">
                                <div style="width:40%" class="inline_block">门（急）诊诊断（中医诊断）
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div style="width:30%" class="inline_block">疾病代码
                                    <div style="width:80px;" class="under_line"></div>
                                </div>
                                <div style="width:30%" class="inline_block">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:0;line-height:30px;height:30px;">
                            <table class="inside_table">
                                <tbody>
                                    <tr>
                                        <td style="width:20%;">出院西医诊断</td>
                                        <td style="width:15%;">疾病代码</td>
                                        <td style="width:15%;">入院病情</td>
                                        <td style="width:20%;">出院中医诊断</td>
                                        <td style="width:15%;">疾病代码</td>
                                        <td style="width:15%;">入院病情</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left;">&nbsp;主要诊断：</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td style="text-align:left;">&nbsp;主病：</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left;">&nbsp;其他诊断：</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td style="text-align:left;">&nbsp;主证：</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr v-for="item in 7">
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block">诊断代码计数
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:0;line-height:30px;height:30px;">
                            <table class="inside_table">
                                <tbody>
                                    <tr>
                                        <td style="width:20%;">手术及操作名称</td>
                                        <td style="width:20%;">手术及操作代码</td>
                                        <td style="width:10%;">手术及操作日期</td>
                                        <td style="width:10%;">麻醉方式*</td>
                                        <td style="width:10%;">术者医师姓名</td>
                                        <td style="width:10%;">术者医师代码</td>
                                        <td style="width:10%;">麻醉医师姓名</td>
                                        <td style="width:10%;">麻醉医师代码</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left;">&nbsp;主要：</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:left;">&nbsp;其他：</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr v-for="item in 8">
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block">手术及操作代码计数
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block">呼吸机使用时间
                                <div style="width:40px;" class="under_line"></div>天
                                <div style="width:40px;" class="under_line"></div>小时
                                <div style="width:40px;" class="under_line"></div>分钟
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <div class="inline_block">颅脑损伤患者昏迷时间：
                                    入院前<div style="width:40px;" class="under_line"></div>

                                    天<div style="width:40px;" class="under_line"></div>

                                    小时<div style="width:40px;" class="under_line"></div>分钟
                                </div>
                            </div>
                            <div>
                                <div class="inline_block"><span style="visibility: hidden;">颅脑损伤患者昏迷时间：</span>
                                    入院前<div style="width:40px;" class="under_line"></div>

                                    天<div style="width:40px;" class="under_line"></div>

                                    小时<div style="width:40px;" class="under_line"></div>分钟
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:0;line-height:30px;height:30px;">
                            <table class="inside_table">
                                <tbody>
                                    <tr>
                                        <td style="width:30%;">重症监护病房类型（CCU、NICU、EICU、SICU、PICU、RICU、其他）</td>
                                        <td style="width:25%;">进重症监护室时间（_年_月_日_时_分）</td>
                                        <td style="width:25%;">出重症监护室时间（_年_月_日_时_分）</td>
                                        <td style="width:20%;">合计（小时）</td>
                                    </tr>
                                    <tr v-for="item in 3">
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block">输血品种
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div style="width:80px;" class="inline_block"></div>
                            <div class="inline_block">输血量
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div style="width:80px;" class="inline_block"></div>
                            <div class="inline_block">输血计量单位
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block">特级护理天数*
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div style="width:80px;" class="inline_block"></div>
                            <div class="inline_block">一级护理天数*
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div style="width:80px;" class="inline_block"></div>
                            <div class="inline_block">二级护理天数*
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div style="width:80px;" class="inline_block"></div>
                            <div class="inline_block">三级护理天数*
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>离院方式
                                <label-box :isChecked="false" showValue="1.医嘱离院"></label-box>
                                <label-box :isChecked="false" showValue="2.医嘱转院，拟接受机构名称"></label-box>
                                <div style="width:80px;" class="under_line"></div>
                                拟接收机构代码
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div>
                                <label-box :isChecked="false" showValue="3.转社区，转卫生院机构，拟接收机构名称"></label-box>
                                <div style="width:80px;" class="under_line"></div>
                                拟接收机构代码
                                <div style="width:80px;" class="under_line"></div>
                                <label-box :isChecked="false" showValue="4.非医嘱离院"></label-box>
                                <label-box :isChecked="false" showValue="5.死亡"></label-box>
                                <label-box :isChecked="false" showValue="9.其他"></label-box>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                是否有出院31天内再住院计划
                                <label-box :isChecked="false" showValue="1.无"></label-box>
                                <label-box :isChecked="false" showValue="2.有"></label-box>
                                目的<div style="width:80px;" class="under_line"></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="inline_block" style="width:50%">
                                主诊医师姓名*
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                            <div class="inline_block">
                                主诊医师代码*
                                <div style="width:80px;" class="under_line"></div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
                            四、医疗收费信息
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table class="inside_table">
                                <tbody>
                                    <tr>
                                        <td style="width:20%;text-align:left;">
                                            <div>
                                                业务流水号：
                                                <div style="width:80px;" class="under_line">{{ info.setl_id }}</div>
                                            </div>
                                            <div>
                                                票据代码：
                                                <div style="width:80px;" class="under_line"></div>
                                            </div>
                                            <div>
                                                票据号码：
                                                <div style="width:80px;" class="under_line"></div>
                                            </div>
                                        </td>
                                        <td style="width:80%;">
                                            <div>
                                                结算期间：
                                                <div class="inline_block">
                                                    <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(0,4) : '' }}</div>年
                                                    <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(5,7) : '' }}</div>月
                                                    <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(8,11) : '' }}</div>日
                                                </div>——
                                                <div class="inline_block">
                                                    <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(0,4) : '' }}</div>年
                                                    <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(5,7) : '' }}</div>月
                                                    <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(8,11) : '' }}</div>日
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:0;line-height:30px;height:30px;">
                            <table class="inside_table">
                                <tbody>
                                    <tr>
                                        <td style="width:20%;">项目名称</td>
                                        <td style="width:16%;">金额</td>
                                        <td style="width:16%;">甲类</td>
                                        <td style="width:16%;">乙类</td>
                                        <td style="width:16%;">自费</td>
                                        <td style="width:16%;">其他</td>
                                    </tr>
                                    <tr>
                                        <td>床位费</td>
                                        <td>&nbsp;{{info.bed_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.bed_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>诊察费</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>检查费</td>
                                        <td>&nbsp;{{info.check_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.check_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>化验费</td>
                                        <td>&nbsp;{{info.laboratory_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.laboratory_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>治疗费</td>
                                        <td>&nbsp;{{info.treat_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.treat_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>手术费</td>
                                        <td>&nbsp;{{info.operation_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.operation_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>护理费</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>卫生材料费</td>
                                        <td>&nbsp;{{info.material_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.material_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>西药费</td>
                                        <td>&nbsp;{{info.western_medicine_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.western_medicine_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>中药饮片费</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>中成药费</td>
                                        <td>&nbsp;{{info.chinese_traditional_medicine_cost_total}}</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;{{info.chinese_traditional_medicine_cost_self_total}}</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>一般诊疗费</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>挂号费</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>其他费</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>金额合计</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding:0;line-height:30px;height:30px;">
                            <div style="display:flex;">
                                <div style="width:52%">
                                    <table class="inside_table">
                                        <tbody>
                                            <tr>
                                                <td rowspan="10" style="width:4%;">基金支付</td>
                                                <td style="width:34%">基金支付类型</td>
                                                <td style="width:62%;">金额</td>
                                            </tr>
                                            <tr>
                                                <td>医保统筹基金支付</td>
                                                <td>&nbsp;{{info.hifp_pay}}</td>
                                            </tr>
                                            <tr>
                                                <td>其他支付：</td>
                                                <td>&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td>大病保险</td>
                                                <td>&nbsp;{{info.hifes_pay}}</td>
                                            </tr>
                                            <tr>
                                                <td>医疗救助</td>
                                                <td>&nbsp;{{info.maf_pay}}</td>
                                            </tr>
                                            <tr>
                                                <td>公务员医疗补助</td>
                                                <td>&nbsp;{{info.cvlserv_pay}}</td>
                                            </tr>
                                            <tr>
                                                <td>大额补充</td>
                                                <td>&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td>企业补充</td>
                                                <td>&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td>......</td>
                                                <td>&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td>......</td>
                                                <td>&nbsp;</td>
                                            </tr>

                                        </tbody>
                                    </table>
                                </div>
                                <div style="width:48%">
                                    <table class="inside_table" style="height:100% !important;border-left:1px solid #000;">
                                        <tbody>
                                            <tr>
                                                <td rowspan="4" style="width:4%;">个人支付</td>
                                                <td style="width:36%">个人自付</td>
                                                <td>{{info.psn_pay}}</td>
                                            </tr>
                                            <tr>
                                                <td style="width:36%">个人自费</td>
                                                <td>&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width:36%">个人账户支付</td>
                                                <td>&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td style="width:36%">个人现金支付</td>
                                                <td>&nbsp;</td>
                                            </tr>

                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                医保支付方式
                                <label-box :isChecked="true" showValue="1.按项目"></label-box>
                                <label-box :isChecked="false" showValue="2.单病种"></label-box>
                                <label-box :isChecked="false" showValue="3.按病种分值"></label-box>
                                <label-box :isChecked="false" showValue="4.疾病诊断相关分组（DRG）"></label-box>
                                <label-box :isChecked="false" showValue="5.按床日"></label-box>
                                <label-box :isChecked="false" showValue="6.按人头......"></label-box>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="row">
                <div style="width:50%">
                    医疗机构填报部门
                    <div style="width:80px;" class="under_line">{{ info.fixmedins_name }}</div>
                </div>
                <div style="width:50%">
                    医疗机构接收部门
                    <div style="width:80px;" class="under_line"></div>
                </div>
            </div>
            <div class="row">
                <div style="width:50%">
                    医疗机构填报人
                    <div style="width:80px;" class="under_line">{{ info.opter_name }}</div>
                </div>
                <div style="width:50%">
                    医疗机构接收人
                    <div style="width:80px;" class="under_line"></div>
                </div>
            </div>
            <div style="font-weight:bold;">(注：“*” 代表选填数据项)</div>
        </div>
    </div>
</template>

<script>
import LabelBox from '../../dialysis/printItem/LabelBox'
export default {
    components:{
        LabelBox
    },
    props: {
      info: {
        type: Object,
        default: function() {
          return {}
        }
      }, p_admin: {
        type: Object,
        default: function() {
          return {}
        }
      }, charge_admin: {
        type: Object,
        default: function() {
          return {}
        }
      }
    },
    data(){
        return{

        }
    },
    methods:{
      getNaty(naty){
        switch (naty){
          case "1":
            return "汉族"
            break
          case "2":
            return "蒙古族"

            break
          case "3":
            return "回族"


            break
          case "4":
            return "藏族"


            break
          case "5":
            return "维吾尔族"

            break
          case "6":
            return "苗族"

            break
          case "7":
            return "彝族"

            break
          case "8":
            return "壮族"

            break
          case "9":
            return "布依族"

            break
          case "10":
            return "朝鲜族"

            break
          case "11":
            return "满族"

            break
          case "12":
            return "侗族"

            break
          case "13":
            return "瑶族"

            break
          case "14":
            return "白族"

            break
          case "15":
            return "土家族"

            break
          case "16":
            return "哈尼族"
            break
          case "17":
            return "哈萨克族"
            break
          case "18":
            return "傣族"
            break
          case "19":
            return "黎族"
            break
          case "20":
            return "傈僳族"

            break
          case "21":
            return "佤族"

            break
          case "22":
            return "畲族"
            break
          case "23":
            return "高山族"

            break
          case "24":
            return "拉祜族"

            break
          case "25":
            return "水族"
            break
          case "26":
            return "东乡族"
            break
          case "27":
            return "纳西族"
            break
          case "28":
            return "景颇族"
            break
          case "29":
            return "柯尔克孜族"
            break
          case "30":
            return "土族"
            break
          case "31":
            return "达斡尔族"
            break
          case "32":
            return "仫佬族"
            break
          case "33":
            return "羌族"
            break
          case "34":
            return "布朗族"
            break
          case "35":
            return "撒拉族"
            break
          case "36":
            return "毛南族"
            break
          case "37":
            return "仡佬族"
            break
          case "38":
            return "锡伯族"
            break
          case "39":
            return "阿昌族"
            break
          case "40":
            return "普米族"
            break
          case "41":
            return "塔吉克族"
            break
          case "42":
            return "怒族"
            break
          case "43":
            return "乌孜别克族"
            break
          case "44":
            return "俄罗斯族"
            break
          case "45":
            return "鄂温克族"

            break
          case "46":
            return "德昂族"
            break
          case "47":
            return "保安族"
            break
          case "48":
            return "裕固族"
            break
          case "49":
            return "京族"

            break
          case "50":
            return "塔塔尔族"

            break
          case "51":
            return "独龙族"

            break
          case "52":
            return "鄂伦春族"

            break
          case "53":
            return "赫哲族"

            break
          case "54":
            return "门巴族"

            break
          case "55":
            return "珞巴族"

            break
          case "56":
            return "基诺族"
            break






        }

      },
      getNewAge(UUserCard) {
        if (UUserCard != null && UUserCard != '') {
            // 获取年龄
            var myDate = new Date()
            var month = myDate.getMonth() + 1
            var day = myDate.getDate()
            var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
            if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
            age++
            }
            return age
        }
      },
      getNowTime: function () {
        let dateTime
        let yy = new Date().getFullYear()
        let mm = new Date().getMonth() + 1
        let dd = new Date().getDate()
        let hh = new Date().getHours()
        let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
          :
          new Date().getMinutes()
        let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
          :
          new Date().getSeconds()
        dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
        return dateTime
      },

    }
}
</script>



<style lang="scss" scoped>
.title{
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}
.row{
    display: flex;
    justify-content: space-between;
}
.under_line{
    border-bottom: 1px solid #999;
    width: 95%;
    text-align: center;
    margin-left: 2px;
    display: inline-block;
}
.inline_block{
    display: inline-block;
}
// #prescription-print{
//     width: 960px;
// }
.print_page_main_content .proj_table {
  width: 100%;
  border: 1px solid;
  border-collapse: collapse;
  padding: 2px;
}

.print_page_main_content .proj_table tbody tr td {
  border: 1px solid;
  /* text-align: center; */
  font-size: 16px;
  padding: 5px 8px;
  line-height: 30px;
}

.print_page_main_content .proj_table .inside_table {
  width: 100%;
  border: hidden; /* 解决边框冲突 */
  border-collapse: collapse;
}

.print_page_main_content .proj_table .inside_table tr td {
  border: 1px solid;
  text-align: center;
  font-size: 14px;
  padding: 6px 5px;
  line-height: 16px;
}
</style>
