...
|
...
|
@@ -54,8 +54,8 @@ $(document).on("click", "#btn-recommand", function() { |
|
|
return false;
|
|
|
});
|
|
|
|
|
|
GOLABDATA.on("bianjiqi", function() {
|
|
|
/*if (UMdescriptioner.getContent() != '') {
|
|
|
/*GOLABDATA.on("bianjiqi", function() {
|
|
|
if (UMdescriptioner.getContent() != '') {
|
|
|
return {
|
|
|
recommend: UMrecommender.getContent(),
|
|
|
productDesc: UMdescriptioner.getContent()
|
...
|
...
|
@@ -64,14 +64,27 @@ GOLABDATA.on("bianjiqi", function() { |
|
|
common.util.__tip('商品描述不可为空', 'warning');
|
|
|
return;
|
|
|
}
|
|
|
*/
|
|
|
|
|
|
$('#productDesc').val(UMdescriptioner.getContent());
|
|
|
return {
|
|
|
recommend: UMrecommender.getContent(),
|
|
|
productDesc: $('#productDesc').val()
|
|
|
}
|
|
|
});*/
|
|
|
|
|
|
GOLABDATA.on("LYrecommend", function() {
|
|
|
var recommendEdit = new common.edit('#recommenderWrap');
|
|
|
$('#recommend').val(UMrecommender.getContent());
|
|
|
return recommendEdit.submit('', function(option) {
|
|
|
option.productSkn = productSkn;
|
|
|
option.recommend = $('#recommend').val();
|
|
|
option.debug = true;
|
|
|
});
|
|
|
});
|
|
|
|
|
|
GOLABDATA.on("LYproductDesc", function() {
|
|
|
var descriptionEdit = new common.edit('#descriptionerWrap');
|
|
|
$('#productDesc').val(UMdescriptioner.getContent());
|
|
|
return descriptionEdit.submit('', function(option) {
|
|
|
option.productSkn = productSkn;
|
|
|
option.productDesc = $('#productDesc').val();
|
|
|
option.debug = true;
|
|
|
});
|
|
|
});
|
|
|
|
|
|
if (editType == 'info') {
|
...
|
...
|
|