Index.html
5.98 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
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom:0">
<a target="_blank" href="/base/goods/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加基础商品</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="productSkn" value="" class="form-control" placeholder="SKN"
style="height: 39px;" maxlength="9" />
</div>
<div class="panel-col">
<input type="text" id="productName" class="form-control" placeholder="商品名称" style="height: 39px;"/>
</div>
<div class="panel-col">
<input type="text" id="founderName" class="form-control" placeholder="创建人" style="height: 39px;"/>
</div>
<div class="panel-col">
<select id="shopId" class="form-control">
<option value="-1">请选择店铺</option>
</select>
</div>
<div class="panel-col">
<select id="brandId" class="form-control">
<option value="-1">请选择品牌</option>
</select>
</div>
<div class="panel-col">
<select id="isOutLets" class="form-control">
<option value="-1">是否奥莱</option>
<option value="Y">是</option>
<option value="N">否</option>
</select>
</div>
<div class="panel-col">
<select id="isAdvance" class="form-control">
<option value="-1">是否预售</option>
<option value="Y">是</option>
<option value="N">否</option>
</select>
</div>
<div class="panel-col">
<select id="gender" class="form-control">
<option value="-1">请选择性别</option>
<option value="1">男</option>
<option value="2">女</option>
<option value="3">通用</option>
</select>
</div>
<div class="panel-col">
<select id="isJit" class="form-control">
<option value="-1">是否JIT商品</option>
<option value="Y">是JIT</option>
<option value="N">非JIT</option>
</select>
</div>
<div class="panel-col">
<select id="appType" class="form-control">
<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-col2">
<div id="sort"></div>
</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="pass-btn" href="javascript:;" class="btn btn-success">通过</a>
<a id="reject-btn" href="javascript:;" class="btn btn-danger">驳回</a>
</div>
<div class="panel-col2">
<a id="import-btn" href="/goods/base/batch" class="btn btn-primary">基础商品导入</a>
<a id="importFun-btn" href="/goods/piliang/batch" class="btn btn-primary">批量功能</a>
</div>
<div class="panel-col" style="display: none" id="daochu">
<a href="javascript:;" class="btn btn-info" id="basedaochu">基础商品导出</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div class="dataTab_wrapper" id="basicTab" style="margin-bottom: 10px"></div>
<div class="dataTab_wrapper" id="basicTable"></div>
</div>
</div>
<script type="text/template" id="template">
<div class="rows" style="height: 100px;">
<div class="form-group">
<span class="col-sm-2 control-label">驳回原因:</span>
<div class="col-sm-8">
<textarea id="bohui" class="form-control" rows="3"></textarea>
</div>
</div>
</div>
</div>
</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">
<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>
<%include '../../../common/views/__ui/footer'%>