Index.html 2.79 KB
<%include '../../common/views/__ui/header'%>
<%include '../../common/views/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <%if iscreate%>
        <div class="panel-body" style="padding-bottom: 0">
            <a href="/supplier/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加供应商</a>
        </div>
        <%/if%>

        <div class="panel-body">
            <div class="row">
                <%if searchStatus%>
                <div class="panel-col">
                    <select name="status" id="status"  tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                        <option value="-1" selected="">选择状态</option>
                        <%each searchStatus as item%>
                        <option value="<%item.value%>"><%item.name%></option>
                        <%/each%>
                    </select>
                </div>
                <%/if%>

                <div class="panel-col">
                    <select name="supplier-name" id="supplier-name" tabindex="-1" title="" class="select2-offscreen brandBtn-group" placeholder="供应商名称" >
                        <option value="-1" selected="selected">供应商名称</option>
                    </select>
                </div>

                <%if searchSort%>
                <div class="panel-col">
                    <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>
                </div>
                <%/if%>

                <%if searchIsfreez%>
                <div class="panel-col">
                    <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>
                </div>
                <%/if%>

                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                    <a id="all-btn" href="" class="btn btn-info">全部</a>
                </div>
            </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%>">

<%include '../../common/views/__ui/footer'%>