<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/zy/zy_daily.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" style="height: calc(100% - 00px);">
    <div class="col-md-12 col-sm-12 col-xs-12" style="height: 100%">
        <div class="x_panel" style="height: 100%">
            <div class="panel-body">
                <form id="formSearch" class="form-horizontal" autocomplete="off">
                    <div class="btn-group col-md-8 col-sm-8 col-xs-12" id="pay_mark_group">
                        <button class="btn btn-sm btn-primary" type="button" onclick="reportButtonChange(this)">&nbsp;&nbsp;日结报表&nbsp;&nbsp;
                        </button>
                        <button class="btn btn-sm btn-default" type="button" onclick="reportButtonChange(this)">&nbsp;&nbsp;发生预交金明细&nbsp;&nbsp;
                        </button>
                        <button class="btn btn-sm btn-default" type="button" onclick="reportButtonChange(this)">&nbsp;&nbsp;结算病人明细&nbsp;&nbsp;
                        </button>
                        <button class="btn btn-sm btn-default" type="button" onclick="reportButtonChange(this)">&nbsp;&nbsp;结算费用登记报表&nbsp;&nbsp;
                        </button>
                        <button class="btn btn-sm btn-default" type="button" onclick="reportButtonChange(this)">&nbsp;&nbsp;结算预交金明细&nbsp;&nbsp;
                        </button>
                    </div>
                    <div class="form-group col-md-4 col-sm-4 col-xs-12">
                        <div class="col-md-1 col-sm-1 col-xs-12"></div>
                        <!--<label class="control-label col-md-2 col-sm-2 col-xs-12" for="printNum">打印份数-->
                        <!--</label>-->
                        <div class="col-md-5 col-sm-5 col-xs-12">
                            <input id="printNum" class="form-control col-md-12 col-xs-12" type="Number"
                                   placeholder="打印份数">
                        </div>
                        <div class="col-md-2 col-sm-2 col-xs-12" style="text-align:left;">
                            <button type="button" style="margin-left:20px" id="btn_clean" class="btn btn-primary"
                                    title="重置"><i class="fa fa-rotate-left"></i>
                            </button>
                        </div>
                        <div class="col-md-2 col-sm-2 col-xs-12" style="text-align:left;margin-left: 5px;">
                            <button type="button" style="margin-left:3px" id="btn_daily" class="btn btn-primary"
                                    title="结账处理">结账处理
                            </button>
                        </div>
                    </div>
                </form>
            </div>
            <div id="report_table" class="in"
                 style="width:920px;height: calc(100% - 160px);margin:0 auto;border: 1px solid #337ab7;font-size: 16px;padding: 40px 20px 40px 20px;overflow-y: auto; overflow-x:hidden;">
                <div id="report_table_1">
                    <h2 style="text-align:center;font-weight: 700;">湖南泰和医院住院结账统计日报表</h2>
                    <div style="margin-top: 20px;">
                        <span>收费员：</span><span id="username"></span><span
                            style="margin-left: 120px;">工号：</span><span id="userIdCode"></span><span
                            style="margin-left: 120px;">结账时间：</span><span id="lastDailyDate"></span>至<span id="currentDate"></span></div>
                    <table class="table table-striped table-bordered">
                        <tbody>
                        <tr>
                            <td rowspan="23" class="text-center" style="vertical-align: middle !important;">预<br>交<br>金
                            </td>
                            <td rowspan="8" class="text-center" style="vertical-align: middle !important;">收</td>
                            <td>类型</td>
                            <td>张数</td>
                            <td colspan="2">金额</td>
                            <td rowspan="23" class="text-center" style="vertical-align: middle !important;">结<br>算</td>
                            <td rowspan="8" class="text-center" style="vertical-align: middle !important;">补<br>款</td>
                            <td>类型</td>
                            <td colspan="3">金额</td>
                        </tr>
                        <tr>
                            <td>现金</td>
                            <td id="depositCashNum">0.00</td>
                            <td colspan="2" id="depositCashAmount">0.00</td>
                            <td>现金</td>
                            <td colspan="3" id="jsbkCashAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>微信</td>
                            <td id="depositWxNum">0.00</td>
                            <td colspan="2" id="depositWxAmount">0.00</td>
                            <td>微信</td>
                            <td colspan="3" id="jsbkWxAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>支付宝</td>
                            <td id="depositZfbNum">0.00</td>
                            <td colspan="2" id="depositZfbAmount">0.00</td>
                            <td>支付宝</td>
                            <td colspan="3" id="jsbkZfbAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>医保卡</td>
                            <td id="depositYbNum">0.00</td>
                            <td colspan="2" id="depositYbAmount">0.00</td>
                            <td>医保卡</td>
                            <td colspan="3" id="jsbkYbAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>银联卡</td>
                            <td id="depositYlkNum">0.00</td>
                            <td colspan="2" id="depositYlkAmount">0.00</td>
                            <td>银联卡</td>
                            <td colspan="3" id="jsbkYlkAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>其他</td>
                            <td id="depositQtNum">0.00</td>
                            <td colspan="2" id="depositQtAmount">0.00</td>
                            <td>其他</td>
                            <td colspan="3" id="jsbkQtAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>合计</td>
                            <td id="depositTotalNum">0.00</td>
                            <td colspan="2" id="depositTotalAmount">0.00</td>
                            <td>合计</td>
                            <td colspan="3" id="jsbkTotalAmount">0.00</td>
                        </tr>
                        <tr>
                            <td rowspan="7" class="text-center" style="vertical-align: middle !important;">退</td>
                            <td>现金</td>
                            <td id="returnCashNum">0.00</td>
                            <td colspan="2" id="returnCashAmount">0.00</td>
                            <td rowspan="7" class="text-center" style="vertical-align: middle !important;">退<br>款</td>
                            <td>现金</td>
                            <td colspan="3" id="jstkCashAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>微信</td>
                            <td id="returnWxNum">0.00</td>
                            <td colspan="2" id="returnWxAmount">0.00</td>
                            <td>微信</td>
                            <td colspan="3" id="jstkWxAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>支付宝</td>
                            <td id="returnZfbNum">0.00</td>
                            <td colspan="2" id="returnZfbAmount">0.00</td>
                            <td>支付宝</td>
                            <td colspan="3" id="jstkZfbAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>医保卡</td>
                            <td id="returnYbNum">0.00</td>
                            <td colspan="2" id="returnYbAmount">0.00</td>
                            <td>医保卡</td>
                            <td colspan="3" id="jstkYbAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>银联卡</td>
                            <td id="returnYlkNum">0.00</td>
                            <td colspan="2" id="returnYlkAmount">0.00</td>
                            <td>银联卡</td>
                            <td colspan="3" id="jstkYlkAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>其他</td>
                            <td id="returnQtNum">0.00</td>
                            <td colspan="2" id="returnQtAmount">0.00</td>
                            <td>其他</td>
                            <td colspan="3" id="jstkQtAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>合计</td>
                            <td id="returnTotalNum">0.00</td>
                            <td colspan="2" id="returnTotalAmount">0.00</td>
                            <td>合计</td>
                            <td colspan="3" id="jstkTotalAmount">0.00</td>
                        </tr>


                        <tr>
                            <td rowspan="8" class="text-center" style="vertical-align: middle !important;">
                                收<br>退<br>合<br>计
                            </td>
                            <td>现金</td>
                            <td colspan="3" id="yjjsjhjCashAmount">0.00</td>
                            <td rowspan="8" class="text-center" style="vertical-align: middle !important;">
                                补<br>退<br>合<br>计
                            </td>
                            <td>现金</td>
                            <td colspan="3" id="jsbtCashAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>微信</td>
                            <td colspan="3" id="yjjsjhjWxAmount">0.00</td>
                            <td>微信</td>
                            <td colspan="3" id="jsbtWxAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>支付宝</td>
                            <td colspan="3" id="yjjsjhjZfbAmount">0.00</td>
                            <td>支付宝</td>
                            <td colspan="3" id="jsbtZfbAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>医保卡</td>
                            <td colspan="3" id="yjjsjhjYbkAmount">0.00</td>
                            <td>医保卡</td>
                            <td colspan="3" id="jsbtYbkAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>银联卡</td>
                            <td colspan="3" id="yjjsjhjYlkAmount">0.00</td>
                            <td>银联卡</td>
                            <td colspan="3" id="jsbtYlkAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>其他</td>
                            <td colspan="3" id="yjjsjhjQtAmount">0.00</td>
                            <td>其他</td>
                            <td colspan="3" id="jsbtQtAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>合计</td>
                            <td colspan="3" id="yjjsjhjHjAmount">0.00</td>
                            <td>合计</td>
                            <td colspan="3" id="jsbtHjAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>大写</td>
                            <td colspan="3" id="yjjsjhjHjAmountStr">0.00</td>
                            <td>大写</td>
                            <td colspan="3" id="jsbtHjAmountStr">0.00</td>
                        </tr>
                        <tr>
                            <td rowspan="3" colspan="2" class="text-center" style="vertical-align: middle !important;">
                                上缴合计
                            </td>
                            <td>现金</td>
                            <td colspan="2" id="sjhjCashAmount">0.00</td>
                            <td>微信</td>
                            <td colspan="3" id="sjhjWxAmount">0.00</td>
                            <td>支付宝</td>
                            <td colspan="2" id="sjhjZfbAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>医保卡</td>
                            <td colspan="2" id="sjhjYbkAmount">0.00</td>
                            <td>银联卡</td>
                            <td colspan="3" id="sjhjYlkAmount">0.00</td>
                            <td>转账</td>
                            <td colspan="2" id="zzAmount">0.00</td>
                        </tr>
                        <tr>
                            <td>社保记账</td>
                            <td colspan="2" id="jzAmount">0.00</td>
                            <td>包干返回</td>
                            <td colspan="3" id="totalByybdf">0.00</td>
                            <td>发票现金</td>
                            <td colspan="2" id="fpxjAmount">0.00</td>
                        </tr>
                        <tr>
                            <td colspan="2">结算总金额</td>
                            <td colspan="3" id="totalCharge">0.00</td>
                            <td>记账金额</td>
                            <td colspan="2" id="depositByjzAmount">0.00</td>
                            <td>发票张数</td>
                            <td id="fpCount">0</td>
                            <td>发票金额</td>
                            <td colspan="2" id="receiptAmount">0.00</td>
                        </tr>
                        </tbody>
                    </table>

                </div>
                <div id="zbr_div">
                    <div class="form-group col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 50px;">
                        <table style="width: 96%;padding-left: 20px;display: none;"
                               id="sfzffpmx_table">
                            <thead>
                            <tr>
                                <td colspan="9">预交金作废/退费：</td>
                            </tr>
                            <tr>
                            <tr style="border-top:1px solid">
                                <td width="180px">住院号</td>
                                <td width="120px">金额</td>
                                <td width="100px">发票号</td>
                                <td width="180px">结算时间</td>
                                <td width="120px">收款方式</td>
                                <td width="100px">类型</td>
                            </tr>
                            </tr>
                            </thead>
                            <tbody id="sfzffpmx">
                            </tbody>
                        </table>
                    </div>
                    <div>
                        <table style="width: 96%;padding-left: 20px;">
                            <tbody>
                                <tr>
                                    <th><span>回收预交金：<span id="hsJe"></span></span></th>
                                </tr>
                                <tr>
                                    <th><span>预交金收据号：</span><span id="receiptNoBegin"></span>至<span id="receiptNoEnd"></span></th>
                                </tr>
                                <tr>
                                    <th><span>结算收据号：</span><span id="jsReceiptNoBegin"></span>至<span
                                            id="jsReceiptNoEnd"></span></th>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div style="margin-top: 10px;"><span>结账人签字：</span><span style="text-decoration: underline" id="username_zbr"></span><span
                            style="margin-left: 120px;">收款人签字：</span><span style="text-decoration: underline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span
                            style="margin-left: 120px;">审核人签字：</span><span style="text-decoration: underline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    </div>
                </div>
            </div>
            <table id="tb_table"></table>
            <div id="previewImage">
            </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>

