Index.html 3.39 KB
<%include '../../common/__ui/header'%>

<%include '../../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default" style="...">
        <div class="panel-heading">
            <a class="btn btn-success " id="add-content" href="/meterManage/tryInfo/batch"><i class="fa fa-plus"></i>
                上传excel文件</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <input type="text" value="" name="productSku" id="content-filter1" placeholder="SKU"
                           class="form-control">
                </div>
                <div class="panel-col">
                    <input type="text" value="" name="productSkn" id="content-filter2" placeholder="SKN"
                           class="form-control">
                </div>
                <div class="panel-col">
                    <input type="text" value="" name="productName" id="content-filter3" placeholder="产品名称"
                           class="form-control">
                </div>
                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
                    <a id="filter-all" href="/meterManage/tryInfo/index" class="btn btn-info">全部</a>
                </div>

            </div>
        </div>
    </div>
    <div id="content-list"></div>
</div>

<script type="text/template" id="template">
    <div id="baseform" >
        <div>
            <span class="col-sm-2">SKN:&nbsp;[[productSkn]]</span>
            <span class="col-sm-6 pull-left">产品名称:&nbsp;[[productName]]</span>
            <br>
        </div>
        <table class="table table-bordered" id="baseInfo">
            <thead>
            <tr>
                <th>模特名</th>
                <th>试穿尺码</th>
                <th>试穿描述</th>
                <th>试穿备注</th>
            </tr>
            </thead>
            <tbody>
            [[each modelLists as item index]]
            <tr>
                <th>
                    <span>[[item.modelName]]</span>
                </th>
                <th>
                    <select name="fit_size" data-name="fit_size" data-index="[[index]]" title="" class="select2-offscreen brandBtn-group fit_size tryInfo1">
                        <option value='[[item.tryInfo.fit_size]]'>[[item.tryInfo.fit_size||'请选择试穿尺码']]</option>
                    </select>
                </th>
                <th>
                    <select name="feel_id" value="[[item.tryInfo.feel_id]]" data-name="feel_id" data-index="[[index]]" title="" class="select2-offscreen brandBtn-group feel_id tryInfo1">
                        <option value="-1">[['请选择试穿描述']]</option>
                        <option value="1">[['合适']]</option>
                        <option value="2">[['偏大']]</option>
                        <option value="3">[['偏小']]</option>
                    </select>
                </th>
                <th>
                    <input type="text" data-name="fit_remark" data-index="[[index]]" value="[[item.tryInfo.fit_remark]]" name="fit_remark" id="fit_remark" class="tryInfo1 " maxlength="12"
                           placeholder="添加备注,不超过12字">
                </th>
            </tr>
            [[/each]]
            </tbody>
        </table>
    </div>
</script>