Index.html
2.56 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
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<select id="SortId" class="form-control">
<option value="">请选择品类ID</option>
</select>
</div>
<div class="panel-col2">
<div id="sort"></div>
</div>
<div class="panel-col">
<select id="SortLevel" class="form-control">
<option value="">请选择所属分类</option>
</select>
</div>
<div class="panel-col">
<input type="text" class="btn btn-info col-sm-5" id="filter-btn" value="筛选">
<input type="text" class="btn btn-info col-sm-5 col-sm-offset-1" id="export-btn" value="导出">
</div>
</div>
</div>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div class="sale-category-table dataTables_wrapper no-footer" id="basicTable"></div>
</div>
</div>
</div>
<script type="text/template" id="tableHdTemp">
<div class="level-hd clearfix">
<span class="folder"></span>
<span style="width: 5%">品类ID</span>
<span style="width: 20%">品类名称</span>
<span>所属分类</span>
<span class="status">是否特殊品类</span>
<span class="operate">操作</span>
</div>
</script>
<script type="text/template" id="tableTemp2">
<span class="folder" data-name="[[isRefundExchange]]"></span>
<span style="width: 5%">[[id]]</span>
<span style="width: 20%">[[sortName]]</span>
<span>[[sortLevel]]级分类</span>
<span class="status">
[[if isRefundExchange=="1"]]
<b style="color: #449d44">否</b>
[[/if]]
[[if isRefundExchange=="0"]]
<b style="color: #d9534f">是</b>
[[/if]]
</span>
<span class="operate" data-id="[[id]]" data-name="[[sortName]]">
[[if isRefundExchange=="1"]]
<a class="btn btn-danger btn-sm close-category " style="width:50px" href="javascript:;">是</a>
[[/if]]
[[if isRefundExchange=="0"]]
<a class="btn btn-warning btn-sm open-category " style="width:50px" href="javascript:;">否</a>
[[/if]]
</span>
</script>
<%include '../../../common/views/__ui/footer'%>