<link rel="stylesheet" href="/thmz/css/bootstrap/css/bootstrap-select.css"/>
<link rel="stylesheet" href="/thmz/css/bootstrap/css/daterangepicker.css"/>
<link rel="stylesheet" href="/thmz/css/custom.min.css">
<link rel="stylesheet" href="/thmz/css/toll_administration.css">
<script src="/thmz/js/dependent/bootstrap-select.js"></script>
<script src="/thmz/js/dependent/daterangepicker.js"></script>
<script src="/thmz/js/mz/charge_list.js"></script>
<script src="/thmz/js/dependent/LodopFuncs.js"></script>
<title>病人费用清单</title>
<!-- 打印的样式-->
<style media="print">
    @page {
        size: auto;
        margin: 0mm;
    }
</style>
<style>
    .receipt {
        padding-left: 40px;
    }
</style>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
            <div class="panel-body">
                <form id="formSearch" class="form-horizontal" autocomplete="off">
                    <div class="form-group col-md-12 col-sm-12 col-xs-12">
                        <div class="col-md-3 col-sm-3 col-xs-12"></div>
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="name">姓名
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <input id="name" class="form-control col-md-7 col-xs-12" type="text"
                                   placeholder="姓名">
                        </div>
                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="patientId_or_cardNo">病人ID/就诊卡号
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <input id="patientId_or_cardNo" class="form-control col-md-7 col-xs-12" type="text"
                                   onchange="setPatientId()"
                                   placeholder="病人ID/就诊卡号">
                            <input id="patientId" type="hidden">
                        </div>
                        <div class="col-md-2 col-sm-2 col-xs-12" style="padding-left: 50px;">
                            <label>
                                历史数据 <input id="hisData" type="checkbox"/>
                            </label>
                        </div>
                    </div>
                    <div class="form-group col-md-12 col-sm-12 col-xs-12">
                        <div class="col-md-3 col-sm-3 col-xs-12"></div>
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="serialNo">机制号
                        </label>
                        <div class="col-md-1 col-sm-1 col-xs-12">
                            <input id="serialNo" class="form-control col-md-7 col-xs-12" type="text"
                                   placeholder="机制号">
                        </div>
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="reportrange"> 缴费日期
                        </label>
                        <div class="col-md-3 col-sm-3 col-xs-12">
                            <div id="reportrange" class="pull-right"
                                 style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
                                <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
                                <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
                            </div>
                        </div>
                        <!--<div class="col-md-1 col-sm-1 col-xs-12" style="text-align:left;">-->
                        <!---->
                        <!--</div>-->
                        <div class="col-md-3 col-sm-3 col-xs-12" style="text-align:left;    padding-left: 50px;">
                            <button type="button" style="margin-left:20px" id="btn_clean" class="btn btn-primary"
                                    title="重置"><i class="fa fa-rotate-left"></i>
                            </button>
                            <button type="button" style="margin-left:3px" id="btn_query" class="btn btn-primary"
                                    title="查询"><i class="fa fa-search"></i>
                            </button>
                            <button type="button" style="margin-left:3px" id="btn_daily" class="btn btn-primary"
                                    title="打印"><i class="fa fa-print"></i>
                            </button>
                        </div>
                    </div>
                </form>
            </div>

            <div class="row">
                <div class="col-md-5 col-sm-5 col-xs-12" style="margin-top: -20px;">
                    <table id="tb_table"></table>
                </div>
                <div class="col-md-7 col-sm-7 col-xs-12" style="height:700px;margin:0 auto;border: 1px solid #337ab7;font-size: 16px;padding: 40px 20px 40px 20px;overflow-y: auto; overflow-x:hidden;">
                    <div id="right_title">
                        <table width="100%" style="font-size: 13px;">
                            <tbody>
                                <tr>
                                    <td id="serialNo_t">机制号：</td>
                                    <td colspan="2" style="text-align:center;font-weight: 700;font-size: 15px;">泰和医院门诊病人费用清单</td>
                                    <td  id="doctor" style="float: right;">医生：</td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td id="cashId" style="float: right;">收费员：</td>
                                </tr>
                                <tr>
                                    <td id="patientId_t">门诊号：</td>
                                    <td id="name_t">姓名：</td>
                                    <td id="date_t">日期：</td>
                                    <td id="dept_t" style="float: right;">科室：</td>
                                </tr>
                            </tbody>
                        </table>
                        <table border="1" cellspacing="0" style="font-size: 13px;width: 100%;border-width: 1px;border-style: solid;border-collapse: collapse;">
                            <thead>
                            <tr>
                                <th width="17%" style="padding: 8px;">医疗服务项目编码</th>
                                <th width="45%" style="padding: 8px;">医疗服务价格项目、药品(通用名)或一次性医用耗材名称</th>
                                <th width="10%" style="padding: 8px;">规格</th>
                                <th width="10%" style="padding: 8px;">单位</th>
                                <th width="6%" style="padding: 8px;">单价</th>
                                <th width="6%" style="padding: 8px;">数量</th>
                                <th width="6%" style="padding: 8px;">金额</th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div id="fymx_table">
                        <table width="100%" style="font-size: 13px;">
                            <tbody id="fymx_table_body">
                            </tbody>
                        </table>
                    </div>
                   <!-- <div id="total_div">
                        <div style="border:0;border-top:1px solid #000;border-bottom:1px solid #000;overflow:hidden;">
                            <div style="float: right;font-weight: 700;padding-top: 4px;padding-bottom: 4px;"><span>金额合计:</span><span id="total_count" style="margin-left: 50px;"></span></div>
                        </div>
                    </div>-->
                    <div id="foot">
                        <div style="overflow:hidden;padding-top: 4px;padding-bottom: 4px;border-top:1px solid #000;font-size: 13px;">
                            <div style="float: left;font-weight: 700;margin-left: 8px;"><span>打印日期:</span><span id="print_date" style="margin-left: 50px;"></span></div>
                            <div style="float: right;font-weight: 700;"><span>操作人:</span><span id="opId_print" style="margin-left: 50px;"></span></div>
                        </div>
                        <div id="receiptBillList">
                            <div style="font-weight: 700;margin-left: 8px;padding-top: 4px;padding-bottom: 4px;"><span style="margin-left: 32px;font-size: 13px;">发票:</span><span id="receipt_no" style="margin-left: 50px;"></span></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>


<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
    <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
</object>

