Index.html
14.9 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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<%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">
<input id="productSkn" class="form-control panel-input" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
<div class="panel-col">
<input id="productSkc" class="form-control panel-input" type="text" placeholder="请输入SKC" onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
<div class="panel-col">
<input id="productSku" class="form-control panel-input" type="text" placeholder="请输入SKU" onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
<div class="panel-col2">
<input id="productName" class="form-control panel-input" type="text" placeholder="商品名称">
</div>
<div class="panel-col2">
<select name="shopId" id="shopId" class="form-control">
<option value="-1">请选择店铺</option>
</select>
</div>
<div class="panel-col">
<select name="brandId" id="brandId" class="form-control">
<option value="-1">请选择品牌</option>
</select>
</div>
<div class="panel-col">
<select name="stock" id="stock" class="form-control height40">
<option value="-1">库存情况</option>
<option value="1">有库存</option>
<option value="0">无库存</option>
</select>
</div>
<!-- <div class="panel-col">
<select name="isScreen" id="isScreen" class="form-control height40">
<option value="">拍摄状态</option>
<option value="Y">已拍摄</option>
<option value="N">未拍摄</option>
</select>
</div>
<div class="panel-col">
<select name="isMeasure" id="isMeasure" class="form-control height40">
<option value="">测量状态</option>
<option value="Y">已测量</option>
<option value="N">未测量</option>
</select>
</div> -->
<div class="panel-col">
<select name="gender" id="gender" class="form-control height40">
<option value="-1">选择性别</option>
<option value="1">男</option>
<option value="2">女</option>
<option value="3">通用</option>
</select>
</div>
<div class="panel-col">
<select name="gender" id="skcOnsaleStatus" class="form-control height40">
<option value="-1">SKC是否上架</option>
<option value="1">有</option>
<option value="0">无</option>
</select>
</div>
<div class="panel-col">
<select name="gender" id="isAdvance" class="form-control height40">
<option value="-1">是否预售</option>
<option value="Y">普通预售</option>
<option value="E">定金预售</option>
<option value="N">否</option>
</select>
</div>
<div class="panel-col2">
<div id="sortTree" class="form-control height40" style="border: 0px; padding: 0px;"></div>
</div>
<div class="panel-col">
<select name="isOutLets" id="isOutLets" tabindex="-1" title="" class="form-control height40">
<option value="-1">是否奥莱</option>
<option value="Y">奥莱</option>
<option value="N">非奥莱</option>
<option value="B">品牌设置</option>
</select>
</div>
<div class="panel-col">
<select name="productStatus" id="productStatus" tabindex="-1" title="" class="form-control height40">
<option value="">上架状态</option>
<option value="8">新品待上架</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="1">已上架</option>
<option value="0">已下架</option>
</select>
</div>
<div class="panel-col">
<select name="isJit" id="isJit" tabindex="-1" title="" class="form-control height40">
<option value="-1">是否JIT商品</option>
<option value="Y">是</option>
<option value="N">否</option>
</select>
</div>
<div class="panel-col">
<select id="appType" class="form-control height40">
<option value="-1">是否BLK商品</option>
<option value="1">是BLK</option>
<option value="0">非BLK</option>
</select>
</div>
<div class="panel-col">
<input type="text" id="factoryCode" class="form-control" placeholder="厂家编号" style="height: 39px;"/>
</div>
<div class="panel-col">
<input type="text" id="skuFactoryCode" class="form-control" placeholder="条码" style="height: 39px;"/>
<input type="hidden" name="tab" value="5" id="tab">
</div>
<div class="panel-col">
<select id="isScreen" class="form-control height40">
<option value="-1">是否已摄影传图</option>
<option value="Y">是</option>
<option value="N">否</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
<div class="panel-col">
<a id="onshelve" href="javascript:;" class="btn btn-success" >上架</a>
<a id="offshelve" href="javascript:;" class="btn btn-danger">下架</a>
</div>
<div class="panel-col2" style="width:40%;">
<a id="export-btn" href="javascript:;" class="btn btn-primary large">导出</a>
<a id="import-btn" href="/goods/netsale/batch" class="btn btn-primary large">批量( 排序、款型系列、上下架 )</a>
</div>
</div>
</div>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div class="dataTab_wrapper" id="basicTab" style="margin-bottom: 10px"></div>
<div class="dataTables_wrapper no-footer" id="basicTable"></div>
<div class="panel-col">
<a id="onshelveEx" href="javascript:;" class="btn btn-success" style="padding : 6px 15px; margin-left: 10px; margin-top: 9px;">上架</a>
<a id="offshelveEx" href="javascript:;" class="btn btn-danger" style="padding : 6px 15px; margin-left: 10px; margin-top: 9px;">下架</a>
</div>
</div>
</div>
</div>
<!--
<script type="text/template" id="onshelve-template">
<form class="shelve-form form-horizontal form-bordered">
<div class="panel panel-default">
<div class="panel-body nopadding">
<div class="form-group">
<div class="col-sm-3 height40">预上架时间:</div>
<div class="col-sm-6"><input id="shelveTime" class="form-control" jsaction="time" type="text" placeholder="预上架时间" readonly>
<span class="red">预上架请填写上架时间</span>
</div>
</div>
<div class="form-group">
<a class="btn btn-info" data-type="2" href="javascript:;">上架上新</a>
<a class="btn btn-info" data-type="1" href="javascript:;">上架不上新</a>
</div>
<div class="form-group">
<div class="col-sm-3 height40">预售时间:</div>
<div class="col-sm-4"><input id="advanceBeginTime" class="form-control" jsaction="time:end:advanceEndTime" type="text" placeholder="预售上架时间" readonly></div>
<div class="col-sm-4"><input id="advanceEndTime" class="form-control" jsaction="time:start:advanceBeginTime" type="text" placeholder="预售下架时间" readonly></div>
<div class="col-sm-3 height40">预售购买时间: </div>
<div class="col-sm-4" style="margin-top: 6px;"><input id="buyTime" class="form-control" jsaction="time:buyTime" type="text" placeholder="预售购买时间" readonly></div>
<div class="col-sm-2" style="margin-top: 6px;"><a class="btn btn-info" data-type="5" href="javascript:;">确定</a></div>
</div>
</div>
</div>
</form>
</script>
-->
<!--
htmlContent = "<span class=\"label label-success\">共选中"+batchOperateShelve.length+"个SKN</span>"
$.each(batchOperateShelve, function (key, value) {
if(key != 0 && key%6 == 0){
skns = skns +"<br>";
}
skns = skns + value+",";
});
htmlContent += "<div class=\"alert alert-danger\" style=\"margin-top:5px;width:100% \">"+skns.substr(0,skns.length-1)+"</div>"*/
-->
<script type="text/template" id="common-onshelve-template">
<form class="shelve-form form-horizontal form-bordered">
<div class="panel panel-default">
<div class="panel-body nopadding">
<div class="form-group">
<span class="label label-success">共选中{num}个skn</span>
</div>
<div class="form-group">
<div class="col-sm-3 height40">预上架时间:</div>
<div class="col-sm-6"><input id="shelveTime" class="form-control" jsaction="time" type="text" placeholder="预上架时间" readonly>
<span class="red">预上架请填写上架时间</span>
</div>
</div>
<div class="form-group">
<a class="btn btn-info" data-type="2" href="javascript:;">上架上新</a>
<a class="btn btn-info" data-type="1" href="javascript:;">上架不上新</a>
</div>
</div>
</div>
</form>
</script>
<script type="text/template" id="presell-onshelve-template">
<form class="shelve-form form-horizontal form-bordered">
<div class="panel panel-default">
<div class="panel-body nopadding">
<div class="form-group">
<span class="label label-success">共选中{num}个skn</span>
</div>
<div class="form-group">
<div class="col-sm-3 height40">预售时间:</div>
<div class="col-sm-4"><input id="advanceBeginTime" class="form-control" jsaction="time:end:advanceEndTime" type="text" placeholder="预售上架时间" readonly></div>
<div class="col-sm-4"><input id="advanceEndTime" class="form-control" jsaction="time:start:advanceBeginTime" type="text" placeholder="预售下架时间" readonly></div>
<div class="col-sm-3 height40">预售购买时间: </div>
<div class="col-sm-4" style="margin-top: 6px;"><input id="buyTime" class="form-control" jsaction="time:buyTime" type="text" placeholder="预售购买时间" readonly></div>
<div class="panel-col" style="margin-top: 6px;"><a class="btn btn-info" data-type="5" href="javascript:;">确定</a>
<button id="cancelShelve" type="button" data-id="cancel" class="modal-cancel btn btn-default">取消</button>
</div>
</div>
</div>
</div>
</form>
</script>
<script type="text/template" id="offshelve-template">
<form class="shelve-form form-horizontal form-bordered">
<div class="panel panel-default">
<div class="panel-body nopadding">
<div class="form-group">
<a class="btn btn-info" data-type="7" href="javascript:;">立即下架</a>
</div>
<div class="form-group">
<div class="col-sm-3 height40">预下架时间:</div>
<div class="col-sm-4">售罄<input id="outSaleTime" class="form-control" type="text" style="display:inline-block;width:60px;" value="0">天下架</div>
<div class="col-sm-1"><a class="btn btn-info" data-type="6" href="javascript:;">确定</a></div>
</div>
</div>
</div>
</form>
</script>
<script type="text/template" id="template">
<p style="color: red;">SKN:{productSkn} 品牌:{brandName}</p>
<p style="color: red;">商品名称:{productName}</p>
<div id="shelve-table" class="dataTables_wrapper no-footer"></div>
</script>
<script type="text/template" id="template2">
[[each goodsSizeList as item index]]
<div class="subhhead" style="width: 524px;">
<span>[[item.productSku]]</span>
<span>[[item.sizeName]]</span>
<span>[[item.storageNum]]</span>
<span>[[ ["下架","上架"][item.status] ]]</span>
<span>
[[if item.status]]
<a class="btn btn-danger btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">下架</a>
[[else]]
<a class="btn btn-success btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">上架</a>
[[/if]]
</span>
</div>
[[/each]]
</script>
<script type="text/template" id="status-log-template">
<div id="status-log-table" class="dataTables_wrapper no-footer"></div>
</script>
<%include '../../../common/views/__ui/footer'%>