...
|
...
|
@@ -56,6 +56,16 @@ GOLABDATA.on("bianjiqi", function() { |
|
|
}
|
|
|
});
|
|
|
|
|
|
/*逛*/
|
|
|
common.util.__ajax({
|
|
|
url: '/goods/article/queryArticlesBySKN',
|
|
|
data: {
|
|
|
productSkn: NETSALEDATA.baseProductInfo.baseProduct.productSkn
|
|
|
}
|
|
|
}, function(res) {
|
|
|
console.log(res);
|
|
|
}, true);
|
|
|
|
|
|
/*搭配*/
|
|
|
|
|
|
var g = new common.grid({
|
...
|
...
|
@@ -296,17 +306,26 @@ GOLABDATA.on("fenmian", function() { |
|
|
goodsImagesBoList: []
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$.each(goodsList, function(index, item) {
|
|
|
if (item.isDefault == "Y") {
|
|
|
map.productSkc = item.productSkc;
|
|
|
map.productSkn = item.productSkn;
|
|
|
}
|
|
|
|
|
|
if (!item.goodsImagesList) {
|
|
|
common.util.__tip('请设置skc:' + item.productSkc + '的封面', 'danger');
|
|
|
return;
|
|
|
}
|
|
|
$.each(item.goodsImagesList, function(_index, _item) {
|
|
|
_item.orderBy = _index;
|
|
|
map.goodsImagesBoList.push(_item);
|
|
|
});
|
|
|
});
|
|
|
if (map.goodsImagesBoList.length == 0) return;
|
|
|
map.goodsImagesBoList = JSON.stringify(map.goodsImagesBoList);
|
|
|
|
|
|
return {
|
|
|
"goodsImagesReq": JSON.stringify(map)
|
|
|
}
|
...
|
...
|
|