Authored by weiqingting

网销bug提交

... ... @@ -60,8 +60,8 @@ GOLABDATA.on("LYaddInfo", function() {
$('.attribute-group').each(function() {
attributeArr.push({
productSkn: option.data.productSkn,
attributeId: $(this).find(':hidden').attr('id'),
attributeValueId: $(this).find(':hidden').val().split('|').join(',')
attributeId: $(this).find('[id]').attr('id'),
attributeValueId: $(this).find('[id]').val().split('|').join(',')
})
});
... ...
... ... @@ -16,8 +16,8 @@ var config = {
// domain: 'http://172.16.6.240:8088/platform',
// domain:'http://172.16.6.240:8088/platform',//王书生
// domain: 'http://172.16.6.252:9080',//陈超
// domain:'http://172.16.6.227:8088/platform',//玛丽
domain: 'http://192.168.102.202:8088/platform',
domain:'http://172.16.6.227:8088/platform',//玛丽
// domain: 'http://192.168.102.202:8088/platform',
loggers: {
api: {
level: 'verbose',
... ...
... ... @@ -88,12 +88,23 @@
[[each a as b index]]
<div class="attribute-group form-group">
<label>[[b.attributeName]]</label>
<span>
[[if b.inputType=='select']]
<div style="display: inline-block;width: 280px;">
<select class="form-control" id="[[b.attributeId]]" value="[[b.selectedValues||'']]">
[[each b.idNameList as c index]]
<option value="[[c.id]]">[[c.text]]</option>
[[/each]]
</select>
</div>
[[else]]
<span>
[[each b.idNameList as c index]]
<label style="cursor: pointer;"><input name="[[b.attributeId]]" type="[[b.inputType]]" value="[[c.id]]">[[c.text]]</label>
[[/each]]
</span>
<input id="[[b.attributeId]]" type="hidden" for="[[b.inputType]]" value="[[b.selectedValues]]">
</span>
<input id="[[b.attributeId]]" type="hidden" for="[[b.inputType]]" value="[[b.selectedValues||'']]">
[[/if]]
</div>
[[/each]]
[[/if]]
... ...