price-mgmt.html
10.4 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
<!-- {{# headerTab}}
<div class="tabheader">
<ul class="nav nav-tabs">
<li {{# changePrice}}class="active"{{/ changePrice}}><a href="/goods/pricechange/index">代销变价</a></li>
<li {{# brandCooperation}}class="active"{{/ brandCooperation}}><a href="/goods/brandCooperation/index">品牌合作模式设置</a></li>
</ul>
</div>
{{/ headerTab}} -->
<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>
{{# secondTitle}}{{.}}{{/ secondTitle}}
{{^ secondTitle}}{{pageTitle}}{{/ secondTitle}}
</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>{{pageTitle}}</h4>
</div>
</div>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
{{# filter}}
<div class="row">
{{# skn}}
<div class="panel-col2">
<input id="skn" class="form-control panel-input height40" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')">
</div>
{{/ skn}}
{{# store}}
<div class="panel-col">
<select name="shop" id="shop" tabindex="-1" title="" class="form-control">
<option value="-1">请选择店铺</option>
</select>
</div>
{{/ store}}
{{# brand}}
<div class="panel-col">
<select name="brand" id="brand" tabindex="-1" title="" class="form-control">
<option value="-1">请选择品牌</option>
</select>
</div>
{{/ brand}}
{{# brandInput}}
<div class="panel-col">
<input id="brand" class="form-control panel-input height40" type="text" placeholder="请输入品牌名称">
</div>
{{/ brandInput}}
{{# supplier}}
<div class="panel-col">
<select name="supplier" id="supplier" tabindex="-1" title="" class="form-control">
<option value="-1">请选择供应商</option>
</select>
</div>
{{/ supplier}}
{{# jit}}
<div class="panel-col">
<select name="jit" id="jit" tabindex="-1" title="" class="form-control">
<option value="-1">是否JIT商品</option>
<option value="Y">是</option>
<option value="N">否</option>
</select>
</div>
{{/ jit}}
{{# onStatus}}
<div class="panel-col">
<select name="status" id="status" tabindex="-1" title="" class="form-control">
<option value="-1">上架状态</option>
<option value="200">上架</option>
<option value="0">下架</option>
</select>
</div>
{{/ onStatus}}
{{# stock}}
<div class="panel-col">
<select name="stock" id="stock" tabindex="-1" title="" class="form-control">
<option value="-1">库存情况</option>
<option value="1">有库存</option>
<option value="0">无库存</option>
</select>
</div>
{{/ stock}}
{{# gender}}
<div class="panel-col">
<select name="sex" id="sex" tabindex="-1" title="" class="form-control">
<option value="-1">选择性别</option>
<option value="1">男</option>
<option value="2">女</option>
<option value="3">通用</option>
</select>
</div>
{{/ gender}}
{{# aCate}}
<div class="panel-col">
<select name="cate" id="cate" tabindex="-1" title="" class="form-control">
<option value="-1">请选择一级类目</option>
</select>
</div>
{{/ aCate}}
{{# brandCooperation}}
<div class="panel-col">
<select name="brandCooperation" id="brandCooperation" tabindex="-1" title="" class="form-control">
<option value="-1">合作模式</option>
<option value="1">代销</option>
<option value="2">经销</option>
<option value="3">自主</option>
</select>
</div>
{{/ brandCooperation}}
{{# brandCooperationSet}}
<div class="panel-col">
<select name="brandCooperationSet" id="brandCooperationSet" tabindex="-1" title="" class="form-control">
<option value="0">未设置</option>
<option value="-1">全部</option>
<option value="1">已设置</option>
</select>
</div>
{{/ brandCooperationSet}}
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="javascript:;" class="btn btn-info">全部</a>
</div>
{{/ filter}}
{{# bulkImport}}
<div class="row" style="margin: 0 0 0 -5px;">
<a id="import-btn" href="javascript:;" class="btn btn-info">批量导入</a>
</div>
{{/ bulkImport}}
</div>
</div>
<div class="panel">
<div class="dataTables_wrapper no-footer" id="basicTable"></div>
{{# bulkImport}}
<div class="panel bulk-import">
<div class="import-hd">
<span class="excel-upload-wrap">
<label>选择文件</label>
<input id="upload-input" name="file" class="btn btn-default excel-upload" type="file">
</span>
<a class="excel-model" href="/ajax/link/{{download}}">表头下载</a>
<input id="sure-change" class="btn btn-primary" type="button" value="确定变价">
</div>
<ol id="error-msg" class="error-msg" style="color: red"></ol>
<div class="priceTable-wrap">
<div class="panel panel-warning" style="margin: 0;">
<div class="panel-heading">SKN变价<a id="delete-all" class="btn btn-danger" style="margin-left: 50px;" href="javascript:;">全部删除</a></div>
</div>
<div class="dataTables_wrapper no-footer" id="priceTable"></div>
</div>
<div class="success-wrap" style="display: none;">
<a class="btn btn-info" href="">返回变价列表</a>
<a id="download-btn" class="btn btn-success" data-domain="{{domain}}" href="javascript:;">下载导入结果</a>
</div>
</div>
{{/ bulkImport}}
</div>
</div>
<input type="hidden" id="btnAuthority" value="{{bottons}}">
<input type="hidden" id="gridurl" value="{{gridurl}}">
<script id="template" type="text/template">
<tr class="product-detail">
<td colspan="15">
<form>
<table class="table table-striped table-bordered">
<tr>
<th>SKN</th>
<th>销售价</th>
<th>VIP折扣类型</th>
<th>VIP价</th>
<th>白金价</th>
<th>金卡价</th>
<th>银卡价</th>
<th>返YOHO币</th>
<th>进货价</th>
<th>进货折扣</th>
<th>成本</th>
<th>操作</th>
</tr>
<tr>
<td class="skn-value"></td>
<td>
<input class="sale-price" type="text" value="{sales_price}">
</td>
<td>
<select class="discount-select">
<option value="1">正常折扣</option>
<option value="2">统一折扣</option>
<option value="3">无折扣</option>
<option value="4">固定折扣</option>
<option value="5">自定义折扣</option>
</select>
</td>
<td>
<input class="vip-price" type="text" value="{vip_price}">
</td>
<td>
<input class="vip3-price" type="text" value="{vip3_price}" disabled>
</td>
<td>
<input class="vip2-price" type="text" value="{vip2_price}" disabled>
</td>
<td>
<input class="vip1-price" type="text" value="{vip1_price}" disabled>
</td>
<td>
<input class="return-coin" type="text" value="{return_coin}">
</td>
<td>{purchase_price}</td>
<td>{purchase_discount}</td>
<td>{cost_price}</td>
<td><a class="sure-modify" href="javascript:;">确认修改</a></td>
</tr>
</table>
</form>
</td>
</tr>
</script>