<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/jquery.webui-popover.min.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/dependent/jquery.webui-popover.min.js"></script>
<script src="/thmz/js/common/pharmacy-com.js"></script>
<script src="/thmz/js/yf/yf_divide.js"></script>
<title>药品分装、组合</title>
<div class="row" style="height: calc(100% - 60px);overflow-y: auto;">
    <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">
                    <label class="control-label col-md-1 col-sm-1 col-xs-12" for="searchText">药品
                    </label>
                    <div class="col-md-2 col-sm-2 col-xs-12">
                        <input id="searchText" class="form-control optional" type="text">
                    </div>
                    <div class="form-group">
                        <button type="button" id="btn_save" class="btn btn-primary"
                                title="确认分装组合"><i class="fa fa-check-square-o"></i>
                        </button>
                    </div>
                </form>
            </div>
            <div id="tb_table_div">
                <div class="col-md-7 col-sm-7 col-xs-12">
                        <div id="toolbar">选择分装药品</div>
                        <table id="tb_table"></table>
                </div>
                <div class="col-md-5 col-sm-5 col-xs-12">
                        <div id="toolbar_divide">分装</div>
                        <table id="tb_table_divide"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<!--选择展示药房弹窗开始-->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true" id="pharmacyModal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="width: 420px;margin-left: 250px;margin-top: 300px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">请选择药房</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-label-left" novalidate  autocomplete="off">
                    <div class="item form-group thmz_alert">
                        <label class="control-label col-md-4 col-sm-4 col-xs-12" for="pharmacyGroupNo">药房 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <select class="form-control selectpicker show-tick" required="required" title="请选择"
                                    id="pharmacyGroupNo">
                                <option value="71" selected>门诊西药房</option>
                                <option value="73">住院药房</option>
                            </select>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary"  onclick="init()" id="btn_init">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>
<!--选择展示药房弹窗结尾-->