tryInfo.html 3.65 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="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>
                </div>

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

<script type="text/template" id="template">
    <div>
        <span>SKN:[[productSkn]]</span>
        <span>产品名称:[[productName]]</span>
        <br>
    </div>
    <table class="table table-bordered">
        <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>
                [[if item.tryInfo.feel_id]]
                <select name="status"  data-name="feel_id" data-index="[[index]]" title="" class="form-controller col-sm-8 tryInfo1">
                    <option value="[[item.tryInfo.feel_id]]">[[item.tryInfo.fell_name]]</option>
                </select>
                [[else]]
                <select name="status" data-name="feel_id" data-index="[[index]]" title="" class="form-controller col-sm-8 tryInfo1">
                    <option value="-1">[['请选择试穿描述']]</option>
                    <option value="1">[['合适']]</option>
                    <option value="2">[['偏大']]</option>
                    <option value="3">[['偏小']]</option>
                </select>
                [[/if]]
            </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 "
                       placeholder="添加备注,不超过12字">
            </th>
        </tr>
        [[/each]]
        </tbody>
    </table>
</script>