<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/charge/paid_from_zz.js"></script>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel" style="background: #EBEBE4;">
            <div class="panel-body">
                <form id="formSearch" class="form-horizontal" autocomplete="off">
                    <div class="btn-group col-md-3 col-sm-3 col-xs-12" id="pay_mark_group">
                        <!--<div class="clearRegistrationDiv">-->
                        <!--<a id="editPrint"><i class="fa fa-cog">&nbsp;打印设置</i></a>-->
                        <!--<a id="editWindows"><i class="fa fa-gears">&nbsp;窗口号设置</i></a>-->
                        <!--</div>-->
                        <button class="btn btn-sm btn-primary" type="button" onclick="payMarkButtonChange(this)">&nbsp;&nbsp;已缴费&nbsp;&nbsp;
                        </button>
                        <button class="btn btn-sm btn-default" type="button" onclick="payMarkButtonChange(this)">&nbsp;&nbsp;已退费&nbsp;&nbsp;
                        </button>
                    </div>
                    <div class="form-group col-md-9 col-sm-9 col-xs-12">
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="cardNo">卡号
                        </label>
                        <div class="col-md-3 col-sm-3 col-xs-12">
                            <input id="cardNo" class="form-control col-md-7 col-xs-12" type="text"
                                   placeholder="患者ID/卡号">
                        </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" style="float: left;">
                            <input type="text" class="form-control" id="name" placeholder="患者姓名">
                            <input type="hidden" id="patientId"/>
                        </div>
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="orderType">类型
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
                                    id="orderType" onchange="initFeeTable()">
                            </select>
                        </div>
                    </div>
                    <div class="btn-group col-md-3 col-sm-3 col-xs-12"></div>
                    <div class="form-group col-md-9 col-sm-9 col-xs-12">

                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="reportrange" style="width: 75px;">
                            缴费时间
                        </label>
                        <div class="col-md-4 col-sm-4 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-2 col-sm-2 col-xs-12"></div>
                        <div class="col-md-1 col-sm-1 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-1 col-sm-1 col-xs-12" style="text-align:left;">
                            <button type="button" style="margin-left:3px" id="btn_query" class="btn btn-primary"
                                    title="查询"><i class="fa fa-search"></i>
                            </button>
                        </div>
                    </div>
                    <div class="btn-group col-md-3 col-sm-3 col-xs-12"></div>
                </form>
            </div>
            <table id="tb_table"></table>
        </div>
    </div>
</div>

<!--退费弹窗开始-->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true" id="refundFeeModal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="width: 480px;margin-top: 200px;margin-left: 100px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" onclick="clearMode()"><span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">退费提示</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-label-left" novalidate id="formPlus">
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="patientIdRead">患者编号
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="patientIdRead" class="form-control col-md-7 col-xs-12" readonly required="required" type="text">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="nameRead">患者姓名
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="nameRead" class="form-control col-md-7 col-xs-12" readonly required="required" type="text">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="bodyRead">缴费项目
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="bodyRead" class="form-control col-md-7 col-xs-12" readonly required="required" type="text">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="amountRead">金额（元）
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="amountRead" class="form-control col-md-7 col-xs-12" readonly required="required" type="text">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="tradeNoRead">交易订单号
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="tradeNoRead" class="form-control col-md-7 col-xs-12" readonly required="required" type="text">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <input id="refundId" type="hidden"/>
                <input id="refundOrderType" type="hidden"/>
                <button type="button" class="btn btn-primary" onclick="saveRefundFee()">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" onclick="clearMode()">取消</button>
            </div>
        </div>
    </div>
</div>
<!--退费弹窗结尾-->




