Index.html
3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="...">
<div class="panel-body" style="padding-bottom: 0">
<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>