...
|
...
|
@@ -216,7 +216,8 @@ |
|
|
editMaxSortId: $('#editMaxSortId'),
|
|
|
editMidSortId: $('#editMidSortId'),
|
|
|
editSeriesId: $('#editSeriesId'),
|
|
|
imageUpload: $('#imageUpload')
|
|
|
imageUpload: $('#imageUpload'),
|
|
|
keyword: $('#keyword')
|
|
|
};
|
|
|
},
|
|
|
initFormData: function(detail) {
|
...
|
...
|
@@ -231,6 +232,7 @@ |
|
|
this.dom.editMaxSortId.combobox('select', detail.maxSortId);
|
|
|
this.dom.editMidSortId.combobox('select', detail.midSortId);
|
|
|
this.dom.editSeriesId.combobox('select', detail.seriesId);
|
|
|
this.dom.keyword.textbox('setValue', detail.keyWords);
|
|
|
$('input[name=gender]').eq(detail.gender - 1).attr('checked','true');
|
|
|
$('.group-color li[data-id=' + detail.colorId + ']').addClass('actived');
|
|
|
|
...
|
...
|
@@ -250,7 +252,7 @@ |
|
|
width: 460
|
|
|
});
|
|
|
|
|
|
$('#keyword').textbox({
|
|
|
this.dom.keyword.textbox({
|
|
|
width: 700
|
|
|
});
|
|
|
|
...
|
...
|
@@ -586,7 +588,7 @@ |
|
|
gender: +$('input[name="gender"]:checked').val(),
|
|
|
goodsName: $('.goods-name').length>0 && $('.goods-name').textbox('getValue') || '',
|
|
|
imageUrlList: imageUrlList,
|
|
|
keyWords: $('#keyword').textbox('getValue'),
|
|
|
keyWords: that.dom.keyword.textbox('getValue'),
|
|
|
maxPrice: that.dom.editMaxPrice.textbox('getValue'),
|
|
|
maxSortId: +that.dom.editMaxSortId.combobox('getValue'),
|
|
|
midSortId: +that.dom.editMidSortId.combobox('getValue'),
|
...
|
...
|
|