productPool.html
3.99 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
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">营销管理</a></li>
<li>商品池管理</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>商品池管理</h4>
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-heading">
<a class="btn btn-success " id="add-pool"><i class="fa fa-plus"></i> 添加商品池</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" class="form-control" id="search-id" placeholder="编号" />
</div>
<div class="panel-col">
<input type="text" class="form-control" id="search-name" placeholder="名称" />
</div>
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/market/productPool/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom: 10px">
<div id="product-pool"></div>
</div>
</div>
<script type="text/template" id="template">
<div class="rows" id="baseform">
<div class="form-group">
<label class="col-sm-2 control-label" for="poolName">商品池名称<font color="#f00">*</font></label>
<input type="hidden" value="{id}" id="id" />
<div class="col-sm-8">
<input type="text" class="form-control" id="poolName" name="{poolName}" required="required" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="comment">说明</label>
<div class="col-sm-8">
<input type="text" value="{comment}" class="form-control" id="comment" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="producttype">商品<font color="#f00">*</font></label>
<div class="col-sm-8">
<select id="producttype" style="width:120px;" value="{producttype}">
<option value="-1">请选择</option>
<option value="1">SKN</option>
<option value="2">SKU</option>
<option value="3">SKC</option>
</select>
<font color="red">要导入的数据类型必须和所选类型相同</font>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">上传</label>
<div class="col-sm-6">
<input id="path" class="form-control" type="text" disabled="disabled" style="cursor:default">
</div>
<div class="col-sm-4" style="position: relative">
<input id="productSkn" name="productSkn" class="btn btn-default excel-upload" type="file" style="position: absolute; top: 0;left: 0;">
<div class="file-name btn btn-default">请选择文件</div>
<input type="hidden" id="sknVal" />
</div>
</div>
</div>
</script>
<script type="text/template" id="template1">
<div class="rows" id="base-form">
<div class="form-group">
<label class="col-sm-2 control-label" for="productskn">SKN</label>
<div class="col-sm-8">
<input type="hidden" id="poolId" value="{poolId}" />
<input type="hidden" id="producttype" value="{producttype}" />
<input type="text" class="form-control" id="productskn" value="{productskn}" required="required" />
</div>
</div>
</div>
</script>