ProductVip.html
3.51 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
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<div class="panel-col2">
<input name="productSkn" id="productSkn" type="text" value="" class="form-control" placeholder="SKN" />
</div>
<script>
var param=window.location.href;
var productSkn = getQueryString(param);
var reg=new RegExp(/^[0-9]*$/);
if(reg.test(productSkn)){
document.getElementById("productSkn").value = productSkn;
}
function getQueryString(url) {
var i=url.lastIndexOf('/');
if(i==-1)return;
var querystr=url.substr(i+1);
var paramValue=querystr;
if(querystr.indexOf('#') != -1){
var arr1=querystr.split('#');
paramValue = arr1[0];
}
return paramValue;
}
</script>
<div class="panel-col2">
<select id="shopId" class="form-control" style="width: 280px;" tabindex="-1">
<option value="-1">请选择店铺</option>
</select>
</div>
<div class="panel-col2">
<select id="brandId" class="form-control" style="width: 280px;" tabindex="-1">
<option value="-1">请选择品牌</option>
</select>
</div>
<div class="panel-col2" style="width: 100px;">
<select id="vipDiscountType" class="form-control">
<option value="-1">VIP设置</option>
<option value="1">开启</option>
<option value="3">关闭</option>
</select>
</div>
<div class="panel-col2" style="width: 100px;">
<select id="vipReturnCoinStatus" class="form-control">
<option value="-1">返币状态</option>
<option value="1">开启</option>
<option value="0">关闭</option>
</select>
</div>
<div class="panel-col">
<a id="searchFilter" href="javascript:;" class="btn btn-info">筛选</a>
</div>
<div class="panel-col">
<a href="/vip/batch/import" class="btn btn-primary"><span class="glyphicon glyphicon-circle-arrow-up"></span> 导入</a>
</div>
</div>
</div>
</div>
<div style="margin-left:10px;margin-bottom: 10px">
<label><input name="all" id="all" type="checkbox" onclick="DoCheck()" value=""/>选中当前页</label>
<a onclick="batchChangeStatus(1)" href="javascript:;" class="btn btn-info">开启VIP价</a>
<a onclick="batchChangeStatus(2)" href="javascript:;" class="btn btn-danger">关闭VIP价</a>
<a onclick="batchChangeReturnCoinStatus(1)" href="javascript:;" class="btn btn-info">开启VIP返币</a>
<a onclick="batchChangeReturnCoinStatus(0)" href="javascript:;" class="btn btn-danger">关闭VIP返币</a>
</div>
<div class="panel panel-primary-head">
<div class="dataTab_wrapper" id="productVipTable" ></div>
</div>
</div>