...
|
...
|
@@ -742,7 +742,7 @@ |
|
|
});
|
|
|
|
|
|
if (that.detailData.sizeIdList) {
|
|
|
that.detailData.sizeIdList.map(function(item) {
|
|
|
/* that.detailData.sizeIdList.map(function(item) {
|
|
|
$('.group-size label[data-id=' + item + '] input').attr('checked','true');
|
|
|
that.colorSizeTableData.rows.push({
|
|
|
colorName: $('.group-color li[data-id='+that.detailData.colorId+']').text(),
|
...
|
...
|
@@ -750,7 +750,17 @@ |
|
|
size: $('.group-size label[data-id=' + item + ']').text(),
|
|
|
sku: '-'
|
|
|
});
|
|
|
});
|
|
|
}); */
|
|
|
for ( var i = 0; i <that.detailData.sizeIdList.length; i++){
|
|
|
item = that.detailData.sizeIdList[i];
|
|
|
$('.group-size label[data-id=' + item + '] input').attr('checked','true');
|
|
|
that.colorSizeTableData.rows.push({
|
|
|
colorName: $('.group-color li[data-id='+that.detailData.colorId+']').text(),
|
|
|
goodsName: that.detailData.goodsName,
|
|
|
size: $('.group-size label[data-id=' + item + ']').text(),
|
|
|
sku: that.detailData.storageIdList[i]
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
that.mergeCells();
|
|
|
}
|
...
|
...
|
|