Index.html
3.33 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/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom: 10px;">
<div class="panel-body" style="padding-bottom: 0px; padding-left: 10px;">
<div class="col-md-12">
<a href="/product/batch/import" class="btn btn-primary"><span class="glyphicon glyphicon-circle-arrow-up"></span> 导入</a>
<a href="javascript:void(0);" id="exportsearch" class="btn btn-success"><span class="glyphicon glyphicon-circle-arrow-down"></span> 导出</a>
</div>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col" style="width: 154px;">
<input name="productSkn" id="productSkn" type="text" value="" class="form-control" placeholder="SKN" />
</div>
<div class="panel-col" style="width: 154px;">
<input name="productName" id="productName" type="text" value="" class="form-control" placeholder="商品名称" />
</div>
<div class="panel-col2">
<select name="time-sort" id="brand-name" tabindex="-1" title="" class="form-control">
<option value="-1">选择品牌</option>
</select>
</div>
<div class="panel-col" style="width: 154px;">
<input name="minCount" id="minCount" type="text" value="" class="form-control" placeholder="起购件数"
onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}"
/>
</div>
<div class="panel-col2" style="position: relative">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div id="table-box" class="dataTables_wrapper no-footer">
</div>
</div>
</div>
</div>
<script id="history_template" type="text/html" charset="utf-8">
<table class="table table-bordered">
<thead>
<tr>
<th>SKN</th>
<th>商品名称</th>
<th>品牌</th>
<th>类目</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{item.productSkn}}</td>
<td>{{item.productName}}</td>
<td>{{item.brand}}</td>
<td>{{item.sort}}</td>
</tr>
</tbody>
</table>
<table class="table table-bordered">
<thead>
<tr>
<th>起购件数</th>
<th>折扣</th>
<th>操作信息</th>
</tr>
</thead>
<tbody>
{{each data as r }}
<tr>
<td>{{r.minCount}}</td>
<td>{{r.discount}}</td>
<td>{{r.operator}} {{r.createTime | dateFormat: 'yyyy-MM-dd hh:mm:ss'}}</td>
</tr>
{{/each}}
</tbody>
</table>
</script>