index.html 2.88 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a href="">供应商管理</a></li>
                <li>{{pageTitle}}</li>
            </ul>

            <div>
                <div style="width: 30%;float: left;">
                    <h4>{{pageTitle}}</h4>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        {{# iscreate}}
        <div class="panel-heading">
            <a href="/supplier/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加供应商</a>
        </div>
        {{/ iscreate}}
        <div class="panel-body">
            <div class="row">
                {{# if searchStatus}}
                <select name="status" id="status"  tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                    <option value="-1" selected="">选择状态</option>
                    {{# each searchStatus}}
                    <option value="{{value}}">{{name}}</option>
                    {{/ each}}                  
                </select>     
                {{/ if}}
                <select name="supplier-name" id="supplier-name" tabindex="-1" title="" class="select2-offscreen brandBtn-group" placeholder="供应商名称" >
                     <option value="-1" selected="selected">供应商名称</option>
                </select>
                {{# searchSort}}
                <select name="time-sort" id="time-sort" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                    <option value="-1" selected="">按时间排序</option>
                    <option value="asc">正序</option>
                    <option value="desc">倒序</option>
                </select>
                {{/searchSort}}
                {{# searchIsfreez}}
                <select name="isFreeze" id="isFreeze" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                    <option value="-1" selected="">生效状态</option>
                    <option value="N">生效中</option>
                    <option value="Y">已冻结</option>
                </select>
                {{/ searchIsfreez}}
                <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                <a id="all-btn" href="javascript:;" class="btn btn-info">全部</a>
            </div>
        </div>
    </div>
    <div class="panel panel-primary-head">
        
        <div class="dataTables_wrapper" id="basicTable">
        </div>
    </div>
</div>

<input type="hidden" id="btnAuthority" value="{{bottons}}">
<input type="hidden" id="gridurl" value="{{gridurl}}">