<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/common/date-util.js"></script>
<script src="/thmz/js/mz/group_name.js"></script>
<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="item form-group ">
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="groupNoSearch">药房编号
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <input id="groupNoSearch" class="form-control optional" type="text">
                        </div>
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="groupNameSearch">药房名称
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <input id="groupNameSearch" class="form-control optional" type="text">
                        </div>
                        <button type="button" id="btn_search" class="btn btn-primary"
                                title="查询药房" onclick="getAllGroupName()"><i class="glyphicon glyphicon-search"></i>
                        </button>
                        <button type="button" id="btn_reset" class="btn btn-primary"
                                title="重置" onclick="resetSearch()"><i class="fa fa-rotate-left"></i>
                        </button>
                    </div>
                    <div class="item form-group ">
                        <button type="button" id="btn_add" class="btn btn-primary"
                                title="添加药房"><i class="fa fa-plus"></i>
                        </button>
                    </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="editModal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="width: 520px;margin-left: 250px;margin-top: 120px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">药房库管理【<span id="classTitle">新增</span>】</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-label-left" novalidate id="editGroupForm" autocomplete="off">
                    <div class="item form-group ">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="groupNo">药房编号 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-5 col-sm-5 col-xs-12">
                            <input id="groupNo" class="form-control optional" type="text" required="required" data-validate-length-range="1,7">
                        </div>
                    </div>
                    <div class="item form-group ">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="groupName">药房名称 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-5 col-sm-5 col-xs-12">
                            <input id="groupName" class="form-control optional" type="text" required="required" data-validate-length-range="1,40">
                        </div>
                    </div>
                    <div class="item form-group ">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="deptCode">部门 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-5 col-sm-5 col-xs-12">
                            <select class="form-control selectpicker" required="required" title="请选择" data-toggle="dropdown" style="min-width: 100%;"
                                    id="deptCode" data-live-search="true">
                            </select>
                        </div>
                    </div>
                    <div class="item form-group ">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="mzFlag">是否门诊 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-5 col-sm-5 col-xs-12">
                            <select class="form-control show-tick" required="required" title="请选择"
                                    id="mzFlag">
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                    <div class="item form-group ">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="mzFlag">是否药房 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-5 col-sm-5 col-xs-12">
                            <select class="form-control show-tick" required="required" title="请选择"
                                    id="yfFlag">
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <input id="requestId" type="hidden"/>
                <button type="button" class="btn btn-primary" id="btn_save">保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>
<!--新增或者编辑菜单信息弹窗结尾-->



