...
|
...
|
@@ -41,7 +41,9 @@ var basicInfohtml = '', |
|
|
1: '普通',
|
|
|
2: '赠品'
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
basicInfo = NETSALEDATA.baseProductInfo.baseProduct || '',
|
|
|
productExtBo = NETSALEDATA.productExtBo || '';
|
|
|
|
|
|
/*
|
|
|
* 基本信息value值转换
|
...
|
...
|
@@ -56,7 +58,7 @@ function convert(basicInfo, obj) { |
|
|
return basicInfo;
|
|
|
}
|
|
|
|
|
|
var basicInfoData = convert(NETSALEDATA.baseProductInfo.baseProduct, convertObj);
|
|
|
var basicInfoData = convert(basicInfo, convertObj);
|
|
|
|
|
|
//基本信息
|
|
|
basicInfoData.renderType = $('.contentpanel').data('type');
|
...
|
...
|
@@ -69,9 +71,10 @@ $('#goods-table').html(common.util.__template2($('#goodsList').html(), { |
|
|
}));
|
|
|
|
|
|
//上架必填
|
|
|
NETSALEDATA.productExtBo.renderType = $('.contentpanel').data('type');
|
|
|
NETSALEDATA.productExtBo.sellChannels = NETSALEDATA.productExtBo.sellChannels.replace(/,/g, "|");
|
|
|
$('#product-ext').html(common.util.__template2($('#productExtBoTemp').html(), NETSALEDATA.productExtBo));
|
|
|
productExtBo.renderType = $('.contentpanel').data('type');
|
|
|
productExtBo.sellChannels = productExtBo.sellChannels ? productExtBo.sellChannels.replace(/,/g, "|") : '';
|
|
|
$('#product-ext').html(common.util.__template2($('#productExtBoTemp').html(), productExtBo));
|
|
|
|
|
|
|
|
|
|
|
|
if ($('.contentpanel').data('type') == 'info') {
|
...
|
...
|
|