productPool.html 3.82 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>商品池管理</li>
            </ul>

            <div>
                <div style="width: 30%;float: left;">
                    <h4>商品池管理</h4>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="panel panel-default" style="margin-bottom:10px;">
    <div class="panel-heading">
        <a class="btn btn-success " id="add-pool"><i class="fa fa-plus"></i> 添加商品池</a>
    </div>
    <div class="panel-body">
        <div class="row">
            <div class="panel-col">
                <input type="text" class="form-control" id="search-id" placeholder="编号" />
            </div>
            <div class="panel-col">
                <input type="text" class="form-control" id="search-name" placeholder="名称" />
            </div>
            <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
            <a id="filter-all" href="/market/productPool/index" class="btn btn-info">全部</a>
        </div>
    </div>
</div>

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom: 10px">
        <div id="product-pool"></div>
    </div>
</div>

<script type="text/template" id="template">
    <div class="rows" id="baseform">
        <div class="form-group">
            <label class="col-sm-2 control-label" for="poolName">商品池名称<font color="#f00">*</font></label>
            <input type="hidden" value="{id}" id="id" />
            <div class="col-sm-8">
                <input type="text" class="form-control" id="poolName" name="{poolName}" required="required" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="comment">说明</label>
            <div class="col-sm-8">
                <input type="text" value="{comment}" class="form-control" id="comment" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="producttype">商品<font color="#f00">*</font></label>
            <div class="col-sm-8">
                <select id="producttype" style="width:120px;" value="{producttype}">
                    <option value="-1">请选择</option>
                    <option value="1">SKN</option>
                    <option value="2">SKU</option>
                    <option value="3">SKC</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">上传</label>
            <div class="col-sm-6">
                <input id="path" class="form-control" type="text" disabled="disabled" style="cursor:default">
            </div>
            <div class="col-sm-4">
            <input id="productSkn" name="productSkn" class="btn btn-default excel-upload" type="file">
            <div class="file-name btn btn-default">请选择文件</div>
                <input type="hidden" id="sknVal" />
            </div>
        </div>
    </div>
</script>

<script type="text/template" id="template1">
    <div class="rows" id="base-form">
        <div class="form-group">
            <label class="col-sm-2 control-label" for="productskn">SKN</label>
            <div class="col-sm-8">
            <input type="hidden" id="poolId" value="{poolId}" />
            <input type="hidden" id="producttype" value="{producttype}" />
            <input type="text" class="form-control" id="productskn" value="{productskn}" required="required" />
            </div>
        </div>
    </div>
</script>