...
|
...
|
@@ -73,8 +73,22 @@ $('#goods-table').html(common.util.__template2($('#goodsList').html(), { |
|
|
//上架必填
|
|
|
productExtBo.renderType = $('.contentpanel').data('type');
|
|
|
productExtBo.sellChannels = productExtBo.sellChannels ? productExtBo.sellChannels.replace(/,/g, "|") : '';
|
|
|
$('#product-ext').html(common.util.__template2($('#productExtBoTemp').html(), productExtBo));
|
|
|
productExtBo.shopIds = productExtBo.shopIdList ? productExtBo.shopIdList.join('|') : '';
|
|
|
//productExtBo.shopList =
|
|
|
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url: '/goods/ShopsRest/queryShopsByBrandId',
|
|
|
data: {
|
|
|
brandId: basicInfo.brandId
|
|
|
}
|
|
|
}, function(res) {
|
|
|
productExtBo.shopList = res.data;
|
|
|
$('#product-ext').html(common.util.__template2($('#productExtBoTemp').html(), productExtBo));
|
|
|
e.init();
|
|
|
}, true);
|
|
|
|
|
|
$('#product-ext').html(common.util.__template2($('#productExtBoTemp').html(), productExtBo));
|
|
|
|
|
|
|
|
|
if ($('.contentpanel').data('type') == 'info') {
|
...
|
...
|
@@ -105,6 +119,7 @@ GOLABDATA.on("LYbasicInfo", function() { |
|
|
var list = option.data.sellChannels.split('|').join(',');
|
|
|
option.data.productSkn = $('#productSkn').val();
|
|
|
option.data.sellChannels = list;
|
|
|
option.data.shopIds = $('#shopIds').val() ? $('#shopIds').val().split('|').join(',') : '';
|
|
|
option.debug = true;
|
|
|
});
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|