Index.html
12 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a id="add-btn" href="/market/couponList/add" class="btn btn-success "><i class="fa fa-plus"></i> 添加优惠券</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col" id="couponsIds"></div>
<div class="panel-col">
<input id="filter-couponName" class="form-control panel-input" type="text" placeholder="名称">
</div>
<div class="panel-col">
<select id="filter-dep" name="filter-dep" tabindex="-1" title=""
class="select2-offscreen brandBtn-group">
<option value="-1">申请部门</option>
<option value="20"> 资源发展部</option>
<option value="21"> 广告部</option>
<option value="22"> 招商部</option>
<option value="23"> 男生媒体部</option>
<option value="24"> 女生媒体部</option>
<option value="25"> 流程运营部</option>
<option value="26"> 发行设计部</option>
<option value="27"> 设计部</option>
<option value="28"> 商品一部(羊头+轻奢)</option>
<option value="29"> 商品二部(男装)</option>
<option value="30"> 商品三部(女装)</option>
<option value="31"> 商品四部(户外运动)</option>
<option value="32"> 商品五部(自主)</option>
<option value="33"> 商品六部(明星/KOL)</option>
<option value="34"> 商品七部(童装)</option>
<option value="35"> 商品八部(创意生活+玩具)</option>
<option value="36"> 商品九部(彩妆)</option>
<option value="37"> 商品十部(全球购)</option>
<option value="38"> 运营支持部</option>
<option value="39"> 类目及活动运营部</option>
<option value="40"> 内容运营部</option>
<option value="41"> 营销策划部</option>
<option value="42"> 设计部</option>
<option value="43"> 售后服务部</option>
<option value="44"> 客户关系部</option>
<option value="45"> 运营部</option>
<option value="46"> 泛渠道部</option>
<option value="47"> 运营统筹部</option>
<option value="48"> 南京艾尚店</option>
<option value="49"> 仓储部</option>
<option value="50"> 物流部</option>
<option value="51"> 运营部</option>
<option value="52"> 公关部</option>
<option value="53"> 运营部</option>
<option value="54"> 生产部</option>
<option value="55"> 商品部</option>
<option value="56"> 销售部</option>
<option value="57"> 市场部</option>
<option value="58"> 运营部</option>
<option value="59"> 人事部</option>
<option value="60"> 财务部</option>
<option value="61"> 陈列部</option>
<option value="62"> 会员数据部</option>
<option value="63"> 会员营销部</option>
<option value="64"> 会员运营部</option>
<option value="65"> 品牌营销部</option>
<option value="66"> 效果营销部</option>
<option value="67"> PR营销部</option>
<option value="68"> 设计部</option>
<option value="69"> 零售产品部</option>
<option value="70"> 媒体产品部</option>
<option value="71"> 设计部</option>
<option value="72"> 前端系统部</option>
<option value="73"> 核心系统部</option>
<option value="74"> 后台系统部</option>
<option value="75"> 测试部</option>
<option value="76"> 研究发展部</option>
<option value="77"> 大数据部</option>
<option value="78"> 运维部</option>
<option value="79"> 财务部</option>
<option value="80"> 内审部</option>
<option value="81"> 行政部</option>
<option value="82"> 数据部</option>
<option value="83"> 公共关系部</option>
<option value="84"> 人力资源部</option>
<option value="85"> 总裁办</option>
<option value="86"> 火星项目部</option>
<option value="1">渠道二部</option>
<option value="2">渠道一部</option>
<option value="3">零售部</option>
<option value="4">品牌资源部</option>
<option value="5">店铺运营部</option>
<option value="6">类目运营部</option>
<option value="7">营销部</option>
<option value="8">市场部</option>
<option value="9">会员部</option>
<option value="10">客服部</option>
<option value="11">内容营销部</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="/market/couponList/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div class="dataTab_wrapper" id="basicTab" style="margin-bottom: 10px"></div>
<div class="basicTable_wrapper" id="basicTable"></div>
</div>
</div>
<script type="text/template" id="template">
<p>[[name]]</p>
<label class="col-sm-3 control-label"><i class="red">*请填写原因</i></label>
<input id="reason" type="text" class="form-control" name="agreement-code" style="width:280px;">
</script>
<script type="text/template" id="search-coupon">
<select id="choose-coupon" title="" class=" select2-offscreen form-control">
<option value="">选择优惠券ID</option>
[[each data as item index]]
<option value="[[item.id]]">[[item.id]]</option>
[[/each]]
</select>
</script>
<script type="text/template" id="templateInfo">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">优惠券ID:[[id]]</h4>
<h4 class="panel-title">申请时间:[[createTime]]</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">类型</label>
<div class="col-sm-8">
<p> [[couponType]]</p>
</div>
</div>
</div>
</div>
<div class="panel-heading">
<h4 class="panel-title">基本信息</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">名称 </label>
<div class="col-sm-8">
<p>[[couponName]]</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">数量</label>
<div class="col-sm-8">
<p>[[couponNum]]</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">申请部门</label>
<div class="col-sm-8">
<p>[[department]]</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">使用期限</label>
<div class="col-sm-3">
<p>[[startTime]]</p>
</div>
<div class="col-sm-1">
<p>到</p>
</div>
<div class="col-sm-3">
<p>[[endTime]]</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">优惠券说明</label>
<div class="col-sm-8">
<p>[[explains]]</p>
</div>
</div>
</div>
</div>
<div class="panel-heading">
<h4 class="panel-title">使用条件</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">优惠类型</label>
<div class="col-sm-8">
<p>[[useLimitType]]</p>
</div>
</div>
[[if useLimitType!='无限制']]
<div class="form-group">
<label class="col-sm-2 control-label">优惠条件</label>
[[if useLimitType=='货物件数限制']]
<div class="col-sm-4">
<p>件数满 [[useLimit]]件</p>
</div>
[[/if]]
[[if useLimitType=='订单金额限制']]
<div class="col-sm-4">
<p>金额满 [[useLimit]]元</p>
</div>
[[/if]]
</div>
[[/if]]
<div class="form-group">
<label class="col-sm-2 control-label">优惠结果</label>
<div class="col-sm-4">
<p>面额 [[couponAmount]]元</p>
</div>
</div>
[[if brandsList]]
<div class="form-group">
<label class="col-sm-2 control-label">品牌限制</label>
<div class="col-sm-10">
<p>[[brandsList]]</p>
</div>
</div>
[[/if]]
[[if sortsList]]
<div class="form-group">
<label class="col-sm-2 control-label">分类限制</label>
<div class="col-sm-10">
<p>[[sortsList]]</p>
</div>
</div>
[[/if]]
</div>
</div>
<div class="panel-heading">
<h4 class="panel-title">领券条件</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">会员身份</label>
<div class="col-sm-8">
<p>[[customType]]</p>
</div>
</div>
</div>
</div>
</div>
</script>
<%include '../../common/__ui/footer'%>