basic_info.html
11.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
<div class="panel panel-default">
<div class="panel-heading">
<a class="netsale-position" href="javascript:;" name="position2"></a>
<div class="panel-btns" style="display: none;">
<a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
</div>
<h2 class="panel-title">基本信息</h2>
</div>
<div id="basicInfoWrap" class="panel-body nopadding">
<div id="basic-info"></div>
<div id="goods-table">
<div class="form-group">
<h5>能否补货</h5>
<div id="suppled-table" class="dataTables_wrapper no-footer">
</div>
</div>
</div>
<div id="product-ext"></div>
</div>
<div class="panel-footer">
<a id="saveBasicInfo" href="javascript:;" class="btn btn-primary">保存文本</a>
</div>
</div>
<script type="text/template" id="basicInfo">
<div class="form-group">
<div class="col-sm-3">店铺:[[shopName]]</div>
<div class="col-sm-3">品牌:[[brandName]]</div>
<div class="col-sm-3">供应商:[[supplierName]]</div>
<div class="col-sm-3">经营模式:[[sellType]]</div>
</div>
<div class="form-group">
<div class="col-sm-3">品类:[[maxSortName]]/[[middleSortName]]/[[smallSortName]]</div>
<div class="col-sm-3">货品年:[[goodsYears]]</div>
<div class="col-sm-3">货品季:[[goodsSeason]]</div>
[[if renderType=='edit']]
<div class="col-sm-3">厂家编号:[[factoryCode]]</div>
[[else]]
<div class="col-sm-3"><img src="[[productImageUrl]]" width="100" height="100" alt=""></div>
[[/if]]
</div>
<div class="form-group">
<div class="col-sm-3">SKN:[[productSkn]]</div>
<div class="col-sm-3">商品类型:[[attribute]]</div>
[[if renderType=='info']]
<div class="col-sm-3">厂家编号:[[factoryCode]]</div>
[[/if]]
</div>
<div class="form-group">
<label class="col-sm-1">展示商品名称<i class="red">*</i>:</label>
<div class="col-sm-11">
[[if renderType=='edit']]
<input id="productName" class="form-control" placeholder="基础商品名称" type="text" value="[[productName]]" required maxlength="100">
[[else]]
<span>[[productName]]</span>
[[/if]]
[[if renderType=='edit']]
<div class="col-sm-12" style="padding: 0px 0px 0px 0px;">建议名称:【品牌英文+性别+图案纹理+版型+风格+三级类目+商家款号+(款型)】,展示名称用于商品列表页、商品详情页页以及购物车页展示给用户浏览,不影响搜索</div>
[[/if]]
</div>
</div>
<div class="form-group">
<label class="col-sm-1">搜索商品名称:</label>
<div class="col-sm-11">
<div style="font-size:15px; padding: 0px 0 10px 0px;">
[[brandName]] - [[shopName]] - [[maxSortName]] - [[middleSortName]] - [[smallSortName]] - [[gender]] - <span id="searchKeySpan" style="color:black; font-weight:bold; "></span> -
<span id="productStandardRelationSelected" style="color:black; font-weight:bold; "></span>
</div>
[[if renderType=='edit']]
<input id="searchKeys" class="form-control" placeholder="自定义内容" type="text" value="[[searchKeys]]" required maxlength="100">
[[else]]
[[/if]]
[[if renderType=='edit']]
<div class="col-sm-12" style="color:red; padding: 10px 0 0px 0px;">搜索名称用于使商品在搜索结果页搜索到,建议完善商品品牌品类以外的内容,提升商品被搜索到的机会</div>
[[/if]]
[[if renderType=='edit']]
<div class="col-sm-12" style="padding: 5px 0px 0px 0px;">示例:吴亦凡同款、明星走秀款、特殊材质工艺<span style="padding: 0 0 50px 50px;">内容与实际售卖商品信息</span><span style="color:red; ">一致、真实。</span></div>
[[/if]]
</div>
</div>
<div class="form-group">
<div class="col-sm-4">品牌上市日期:[[brandSaleTimeStr]]</div>
<div class="col-sm-4">预计上市日期:[[expectSaleTimeStr]]</div>
<div class="col-sm-4">品牌经典款:[[classic]]</div>
</div>
[[if productionTime != '']]
<div class="form-group">
<div class="col-sm-4">生产日期:[[productionTime]]</div>
<div class="col-sm-4">过期时间:[[releaseTime]]</div>
<div class="col-sm-4">保质期:[[guaranteeDay]]</div>
</div>
[[/if]]
<div class="form-group">
<div class="col-sm-12">商品话题:[[productTag]]</div>
</div>
<div class="form-group">
<label class="col-sm-3">性别:[[gender]] </label>
<label class="col-sm-1 control-label">适销季 <span class="red">*</span>:</label>
<div class="col-sm-2" id="seasonsDiv">
<label class="radio-inline">
<input type="radio" name="seasons" value="spring">春秋</label>
<label class="radio-inline">
<input type="radio" name="seasons" value="summer">夏</label>
<label class="radio-inline">
<input type="radio" name="seasons" value="winter">冬</label>
<label class="radio-inline">
<input type="radio" name="seasons" value="seasons">四季</label>
<input type="hidden" id="seasons" name="seasons" value="[[seasons||'seasons']]" for="radio" placeholder="适销季"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3">年龄层:[[ageLevel]] </label>
<label class="col-sm-1 control-label">限量款: </label>
<div class="col-sm-2" id="isLimitedDiv">
<label class="radio-inline">
<input type="radio" name="isLimited" value="Y">是</label>
<label class="radio-inline">
<input type="radio" name="isLimited" value="N">否</label>
<input type="hidden" id="isLimited" value="[[isLimited||'N']]" for="radio" />
</div>
<!-- <label class="col-sm-1 control-label">是否奥莱: </label>
<div class="col-sm-2" id="isOutLetsDiv">
<label class="radio-inline">
<input type="radio" name="isOutLets" value="Y">是</label>
<label class="radio-inline">
<input type="radio" name="isOutLets" value="N">否</label>
<input type="hidden" id="isOutLets2" name="isOutLets" value="[[isOutLets||'N']]" for="radio" />
</div> -->
</div>
<div class="form-group">
<div class="col-sm-3">是否预售:[[isAdvance]]</div>
[[if isAdvance=='是']]
<div class="col-sm-3">预付定金:[[deposit]]</div>
<div class="col-sm-3">预计到货时间:[[expectArrivalTime]]</div>
[[/if]]
</div>
<div class="form-group">
<div class="col-sm-3">吊牌价:[[retailPrice]]</div>
<div class="col-sm-3">销售价:[[salesPrice]]</div>
<div class="col-sm-3">是否VIP:[[isVip]]</div>
</div>
[[if attribute=='虚拟商品']]
<div class="form-group">
<div class="col-sm-3">[[relatedType]]:[[relatedIds]]</div>
</div>
[[/if]]
</script>
<script type="text/template" id="productExtBoTemp">
<div class="form-group">
<label class="col-sm-1 control-label">推荐短语:</label>
[[if renderType=='edit']]
<div class="col-sm-11">
<textarea id="phrase" class="form-control" placeholder="推荐短语" type="text" value="[[phrase]]" rows="4">[[phrase]]</textarea>
</div>
[[else]]
<div class="col-sm-11">
[[phrase]]
</div>
[[/if]]
</div>
<!-- <div class="form-group">
<label class="col-sm-1 control-label">是否新品:</label>
<div class="col-sm-4">
[[if String((isNew||'Y')).indexOf('Y')>-1]]
<label class="radio-inline"><input type="radio" name="isNew" value="Y" checked="checked">是</label>
<label class="radio-inline"><input type="radio" name="isNew" value="N">否</label>
[[else]]
<label class="radio-inline"><input type="radio" name="isNew" value="Y">是</label>
<label class="radio-inline"><input type="radio" name="isNew" value="N" checked="checked">否</label>
[[/if]]
</div>
<label class="col-sm-1 control-label">上架渠道:</label>
<div class="col-sm-4">
[[if String((sellChannels||'1|2')).indexOf('1')>-1]]
<label class="radio-inline"><input type="checkbox" name="sellChannels" value="1" checked="checked">网站</label>
[[else]]
<label class="radio-inline"><input type="checkbox" name="sellChannels" value="1">网站</label>
[[/if]]
[[if String((sellChannels||'1|2')).indexOf('2')>-1]]
<label class="radio-inline"><input type="checkbox" name="sellChannels" value="2" checked="checked">手机</label>
[[else]]
<label class="radio-inline"><input type="checkbox" name="sellChannels" value="2">手机</label>
[[/if]]
[[if String((sellChannels||'1|2')).indexOf('3')>-1]]
<label class="radio-inline"><input type="checkbox" name="sellChannels" value="3" checked="checked">场地</label>
[[else]]
<label class="radio-inline"><input type="checkbox" name="sellChannels" value="3">场地</label>
[[/if]]
</div>
</div> -->
<div class="form-group">
<label class="col-sm-1 control-label">展示时间:</label>
<label class="col-sm-1 control-label">售罄</label>
<div class="col-sm-2">
[[if outSaleTime]]
<input id="outSaleTime" value="[[outSaleTime]]" type="text" class="form-control" required>
[[else]]
<input id="outSaleTime" value="0" type="text" class="form-control" required>
[[/if]]
</div>
<label class="col-sm-2 control-label" style="text-align: left;">天后不展示</label>
[[if renderType=='edit']]
<label class="col-sm-1 control-label">延迟到货通知: </label>
<div class="col-sm-5">
<input id="delayArrivalNotice" style="width: 280px;display:inline-block;" class="form-control" placeholder="延迟到货通知" type="text" value="[[delayArrivalNotice]]" maxlength="100">
</div>
[[else]]
[[if delayArrivalNotice]]
<label class="col-sm-1 control-label">延迟到货通知: </label>
<div class="col-sm-5"><input id="delayArrivalNotice" style="width: 280px;display:inline-block;" class="form-control" readonly type="text" value="[[delayArrivalNotice]]"></div>
[[/if]]
[[/if]]
</div>
<!-- [[if shopList]]
<div class="form-group">
<label class="col-sm-1 control-label">展示店铺:</label>
<div class="col-sm-4">
[[each shopList as a index]]
[[if String(shopIds).indexOf(a.shopsId)>-1]]
<label class="radio-inline"><input type="checkbox" name="shopIds" value="[[a.shopsId]]" checked="checked">[[a.shopName]]</label>
[[else]]
<label class="radio-inline"><input type="checkbox" name="shopIds" value="[[a.shopsId]]">[[a.shopName]]</label>
[[/if]]
[[/each]]
</div>
</div>
[[/if]] -->
</script>
<script type="text/template" id="template331">
<select class="attr_input" style="width: 100px; height: 35px;" data-index='[[__index]]' value="[[__val||'']]" [[required]]>
<option value="">[[attributeName]]</option>
[[each idNameList as item index ]]
<option value="[[item.id]]" text="[[item.text]]" attributeId="[[attributeId]]">[[item.text]]</option>
[[/each]]
</select>
</script>