yohoCoin.html
11.2 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
{{#pagetitle}}
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">{{level1title}}</a></li>
<li>{{level2title}}</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>{{level3title}}</h4>
</div>
</div>
</div>
{{/pagetitle}}
</div>
</div>
<div class="contentpanel">
<div id="yohoCoinSearch" class="panel panel-default" style="margin-bottom:10px;">
{{# filter}}
<div class="panel-body">
<div class="row">
{{# skn}}
<div class="panel-col">
<input id="skn" class="form-control panel-input height40" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
{{/ skn}}
{{# store}}
<div class="panel-col">
<select name="shop" id="shop" tabindex="-1" title="" class="form-control">
<option value="-1">请选择店铺</option>
</select>
</div>
{{/ store}}
{{# brand}}
<div class="panel-col">
<select name="brand" id="brand" tabindex="-1" title="" class="form-control">
<option value="-1">请选择品牌</option>
</select>
</div>
{{/ brand}}
{{# supplier}}
<div class="panel-col">
<select name="supplier" id="supplier" tabindex="-1" title="" class="form-control">
<option value="-1">请选择供应商</option>
</select>
</div>
{{/ supplier}}
{{# gender}}
<div class="panel-col">
<select name="gender" id="gender" tabindex="-1" title="" class="form-control">
<option value="-1">选择性别</option>
<option value="1">男</option>
<option value="2">女</option>
<option value="3">通用</option>
</select>
</div>
{{/ gender}}
{{# gender}}
<div class="panel-col">
<select name="auditStatus" id="auditStatus" tabindex="-1" title="" class="form-control">
<option value="-1">选择审核状态</option>
<option value="0">未设置</option>
<option value="1">待审核</option>
<option value="2">通过</option>
<option value="3">驳回</option>
</select>
</div>
{{/ gender}}
{{# cate_1}}
<div class="panel-col2">
<div id="sortTree"></div>
</div>
{{/ cate_1}}
{{# returnCoinTime}}
<div class="panel-col form-inline" style="width: auto">
<div class="form-group" style="margin-right: 0">
<label>反币时间:</label>
<input type="text" class="form-control" jsaction="date:end:endDate" id="startDate" placeholder="开始时间">
</div>
<label>~</label>
<div class="form-group">
<input type="text" class="form-control" jsaction="date:start:startDate" id="endDate" placeholder="结束时间">
</div>
</div>
{{/ returnCoinTime}}
<div class="panel-col" style="width: auto">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="javascript:;" class="btn btn-info">全部</a>
{{# bulkImport}}
<a id="import-btn" href="javascript:;" class="btn btn-info">批量导入</a>
{{/ bulkImport}}
</div>
</div>
</div>
{{/ filter}}
</div>
<div class="panel">
<div class="dataTables_wrapper no-footer" id="yohoCoin_table"></div>
<div class="panel bulk-import">
<a id="return-btn" href="javascript:;" class="btn btn-info">返回列表</a>
<table class="table table-bordered" style="border:1px solid #ddd; margin-top: 10px">
<tr>
<td width="120px" style="line-height: 37px"><b>上传EXCEL:</b></td>
<td style="position: relative;">
<input id="yohoCoinUpload" name="file" type="file" style="cursor: pointer; height: 37px; top: 8px;">
<div class="file-name btn btn-primary">请选择文件</div>
</td>
</tr>
<tr>
<td width="120px"><b>说明:</b></td>
<td>
1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br>
2、Excel表头为:<span style="color: #67D267;">SKN、品牌、吊牌价、返币金额(大于零,最多俩位小数)</span><br>
3、第一行为表头内容,第二行开始为正式内容<br>
4、每个文件控制在2500行以内<br>
5、<a href="#" style="margin: 0; text-decoration: underline">下载样例</a>
</td>
</tr>
</table>
</div>
</div>
</div>
<input type="hidden" id="gridurl" value="{{gridurl}}">
<script id="coinListHead" type="text/template">
<div class="coinListHead dataForShow">
<table><tbody>
<tr>
<td style="width: 10%">SKN</td>
<td style="width: 25%">商品信息</td>
<td style="width: 20%">供应商 / 店铺</td>
<td style="width: 5%">性别</td>
<td style="width: 5%">吊牌价</td>
<td style="width: 5%">销售价</td>
<td style="width: 5%">返币数</td>
<td style="width: 8%">状态</td>
<td style="width: 12%">操作信息</td>
<td style="width: 5%">操作</td>
</tr>
</tbody></table>
</div>
</script>
<script id="coinList" type="text/template">
<div class="dataForShow _[[productSkn]]">
<table><tbody>
<tr>
<td rowspan="2" span="2" class="center" style="width: 10%">[[productSkn]]</td>
<td class="" style="width: 25%">
<p>名称:[[productName]]</p>
<p>品牌:[[brandName]]</p>
<div>
类目:[[if maxSortName]][[maxSortName]][[/if]]
[[if middleSortName]] > [[middleSortName]][[/if]]
[[if smallSortName]] > [[smallSortName]][[/if]]
</div>
</td>
<td style="width: 20%">
[[if supplierName]][[supplierName]][[/if]]
[[if shopName]] / [[shopName]][[/if]]
</td>
<td class="center" style="width: 5%">[[genderName]]</td>
<td class="center retailPrice" style="width: 5%">[[retailPrice]]</td>
<td class="center salesPrice" style="width: 5%">[[salesPrice]]</td>
<td class="center returnYohoCoin" style="width: 5%">[[productPrice.returnCoin]]</td>
<td class="center" style="width: 8%">[[statusName]]</td>
<td style="width: 12%">
[[if productPrice.founder]][[productPrice.founder]][[/if]]
[[if productPrice.updateTime]]<br>[[productPrice.updateTime]][[/if]]
</td>
<td class="center" style="width: 5%"><button type="button" class="btn btn-info btn-sm btn-modify">修改</button></td>
</tr>
<tr class="dataForEditor">
<td colspan="9" style="padding: 0">
<table>
<tr class="center">
<!--td width="50%"><b>反币时间</b></td-->
<td width="40%"><b>返回YOHO币</b></td>
<td width="40%"><b>审核人</b></td>
<td width="20%"><b>操作</b></td>
</tr>
<tr>
<!--td>
<div class="radio" style="margin-top: 0">
<label><input type="radio" name="returnCoinTime" value="option1" checked>永久</label>
</div>
<div class="radio" style="margin-bottom: 0">
<label>
<input type="radio" name="returnCoinTime" value="option1" checked>
<form class="form-inline">
<div class="form-group" style="margin-right: 0"><input type="text" class="form-control"></div> ~
<div class="form-group" style="margin-right: 0"><input type="text" class="form-control"></div>
</form>
</label>
</div>
</td-->
<td class="center">
<input type="text" class="form-control center editor-yohoCoin" placeholder="YOHO币数量" value="[[productPrice.returnCoin]]" style="width: 100px">
</td>
<td class="center">
<select class="form-control center editor-auditor" tabindex="-1" style="width: 150px">
<option value="">-- 请选择审核人 --</option>
<option value="2965">Tracy</option>
<option value="10235">David Wong</option>
</select>
</td>
<td class="center">
<button type="submit" class="btn btn-primary btn-sm btn-save" data-productskn="[[productSkn]]">保存</button>
</td>
</tr>
<tr>
<td class="editorTip" colspan="3">* 提示:若返币YOHO币金额 <b>大于等于</b> 销售价的20%,审核人必须填写,审核通过后才能进入该状态。</td>
</tr>
</table>
</td>
</tr>
</tbody></table>
</div>
</script>
</body>
</html>