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

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-heading">
            <a href="/base/goods/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加基础商品</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <input type="text" id="productSkn" value="" class="form-control" placeholder="SKN"
                           style="height: 39px;" maxlength="9" />
                </div>
                <div class="panel-col">
                    <input type="text" id="productName" class="form-control" placeholder="商品名称" style="height: 39px;"/>
                </div>
                <div class="panel-col">
                    <input type="text" id="founderName" class="form-control" placeholder="创建人" style="height: 39px;"/>
                </div>
                <div class="panel-col">
                    <select id="shopId" class="form-control">
                        <option value="-1">请选择店铺</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select id="brandId" class="form-control">
                        <option value="-1">请选择品牌</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select id="isOutLets" class="form-control">
                        <option value="-1">是否奥莱</option>
                        <option value="Y"></option>
                        <option value="N"></option>

                    </select>
                </div>
                <div class="panel-col">
                    <select id="isAdvance" class="form-control">
                        <option value="-1">是否预售</option>
                        <option value="Y"></option>
                        <option value="N"></option>

                    </select>
                </div>
                <div class="panel-col">
                    <select id="gender" class="form-control">
                        <option value="-1">请选择性别</option>
                        <option value="1"></option>
                        <option value="2"></option>
                        <option value="3">通用</option>

                    </select>
                </div>
                <div class="panel-col">
                    <select id="isJit" class="form-control">
                        <option value="-1">是否JIT商品</option>
                        <option value="Y">是JIT</option>
                        <option value="N">非JIT</option>
                    </select>
                </div>
                <div class="panel-col">
                    <input type="text" id="factoryCode" class="form-control" placeholder="厂家编号" style="height: 39px;"/>
                </div>
                <div class="panel-col2">
                    <div id="sort"></div>
                </div>
                
                <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 class="panel-col">
                    <a id="pass-btn" href="javascript:;" class="btn btn-info">通过</a>
                    <a id="reject-btn" href="javascript:;" class="btn btn-info">驳回</a>
                    
                </div>
                <div class="panel-col">
                <a id="import-btn" href="/goods/base/batch" class="btn btn-info">基础商品导入</a>
                </div>
                <div class="panel-col" style="display: none;" id="daochu">
                <a href="javascript:;" class="btn btn-info" id="basedaochu">基础商品导出</a>
                </div>
                <div class="panel-col">
                <a id="import-btn" href="/goods/piliang/batch" class="btn btn-info">批量功能</a>
                </div>
            </div>
        </div>
    </div>
    <div class="panel panel-primary-head">
        <div class="dataTab_wrapper" id="basicTab"></div>
        <div class="dataTab_wrapper" id="basicTable"></div>
    </div>
</div>


<script type="text/template" id="template">
    <div class="rows" style="height: 100px;">
        <div class="form-group">
            <span class="col-sm-2 control-label">驳回原因:</span>

            <div class="col-sm-8">
                <textarea id="bohui" class="form-control" rows="3"></textarea>
            </div>
        </div>
    </div>
    </div>
</script>
<!-- <script type="text/template" id="template">
    <p style="color: red;">SKN:{productSkn} 品牌:{brandName}</p>
    <p style="color: red;">商品名称:{productName}</p>
    <div id="shelve-table" class="dataTables_wrapper no-footer"></div>
    
</script>  -->

<script type="text/template" id="template2">
[[each goodsSizeList as item index]]
    <div class="subhhead">
    <span>[[item.productSku]]</span>
    <span>[[item.sizeName]]</span>
    <span>[[item.storageNum]]</span>
    <span>[[ ["下架","上架"][item.status] ]]</span>
    <span>
        [[if item.status]]
        <a class="btn btn-danger btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">下架</a>
        [[else]]
        <a class="btn btn-success btnsku" data-subindex='[[index]]' data-index=[[__index]]  href="javascript:;">上架</a>
        [[/if]]
    </span>
    </div>
[[/each]]
</script>
<%include '../../common/__ui/footer'%>