meterSize.html 4.27 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 " href="/meterManage/meterSize/add" id="add-sizeInfo"><i class="fa fa-plus"></i> 添加测量数据</a>
        </div>
        <div class="panel-body">
            <div class="row" id="filter">
                <div class="panel-col">
                    <input type="text" value="" name="productSkn" id="skn-filter" placeholder="SKN" class="form-control">
                </div>
                <div class="panel-col">
                    <input type="text" value="" name="productSku" id="sku-filter" placeholder="SKU" class="form-control">
                </div>
                <div class="panel-col">
                    <select name="brandId" id="brand-filter" tabindex="-1" title="" class="form-control">
                        <option value="">选择品牌</option>
                    </select>
                </div>
                <div class="panel-col">
                    <div id="category-filter"></div>
                </div>
                <div class="panel-col">
                    <select name="isMeasure" id="hasMeasure-filter" tabindex="-1" title="" class="form-control">
                        <option value="">是否测量</option>
                        <option value="N">未测量</option>
                        <option value="Y">已测量</option>
                    </select>
                </div>
                <div class="panel-col">
                    <input type="text" id="startTime" jsaction="time:end:endTime" class="form-control panel-input hasDatepicker " name="start_time" placeholder="开始时间"/>
                </div>
                <div class="panel-col">
                    <input type="text" id="endTime" jsaction="time:start:startTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间"/>
                </div>
                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                    <a id="filter-all" href="/meterManage/meterSize/index" class="btn btn-info">全部</a>
                </div>

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

<script type="text/template" id="sizeinfo-template">
    [[if sizeRelationsList && sizeRelationsList.length > 0]]
    <table class="table table-striped table-hover table-bordered responsive dataTable no-footer">
        <thead>
        <tr>
            <td>尺码</td>
            <td>参考尺码([[genderName]])</td>
            [[each sizeRelationsList[0].prdSizeAttributeBoList as item index]]
            <td>[[item.sizeAttributeName]]</td>
            [[/each]]
        </tr>
        </thead>

        <tbody>
        [[each sizeRelationsList as item index]]
        <tr>
            <td>[[item.sizeName]]</td>
            <td>[[item.referenceName?item.referenceName:""]]</td>
            [[each item.prdSizeAttributeBoList as item1 index1]]
            <td>[[item1.sizeValue]]</td>
            [[/each]]
        </tr>
        [[/each]]
        </tbody>
    </table>
    [[/if]]
</script>

<script type="text/template" id="modifySize-template" style="width: 900px">
    <div id="base-form">
        <table style="width: 100%">
            <tr>
                <th>SKN[[productSkn]]</th>
                <th> 名称:[[productName]]</th>
                <th> 品牌:[[brandName]]</th>
                <th>分类:[[productType]]</th>
                <th> 性别:[[genderName]]</th>
                <input type="hidden" id="productSkn" value="[[productSkn]]" />
            </tr>
        </table>
    </div>
</script>