...
|
...
|
@@ -68,7 +68,8 @@ if (window.NETSALEDATA) { |
|
|
|
|
|
}
|
|
|
|
|
|
{ //尺寸信息
|
|
|
{
|
|
|
//尺寸信息
|
|
|
var productSkn = window.NETSALEDATA.baseProductInfo.baseProduct.productSkn;
|
|
|
var dataList;
|
|
|
if (productSkn) {
|
...
|
...
|
@@ -95,7 +96,9 @@ if (window.NETSALEDATA) { |
|
|
var refName = item1.referenceName ? item1.referenceName : "";//非空判断
|
|
|
var a = refName.split(/[|/]/g);
|
|
|
var refName1 = a[0] || "", refName2 = a[1] || "";
|
|
|
return '<div class="form-group"><div class="col-sm-3"><input class=" form-control" data-index="' + item1.__index + '"' + 'value="' + refName1 + '"/></div>' + '<div class="col-sm-1">' + '/</div>' + '<div class="col-sm-3"><input class=" form-control" data-index="' + item1.__index + '"' + 'value="' + refName2 + '"/></div></div>';
|
|
|
//console.log("refName1",refName1);
|
|
|
//console.log("refName2",refName2);
|
|
|
return '<div class="form-group"><div class="col-sm-3"><input class=" form-control refInfo refInfo1" data-index="' + item1.__index + '"' + 'value="' + refName1 + '"/></div>' + '<div class="col-sm-1">' + '/</div>' + '<div class="col-sm-3"><input class=" form-control refInfo refInfo2" data-index="' + item1.__index + '"' + 'value="' + refName2 + '"/></div></div>';
|
|
|
}
|
|
|
});
|
|
|
for (var i = 0; i < dataList.sizeRelationsList[0].prdSizeAttributeBoList.length; i++) {//尺码列
|
...
|
...
|
@@ -148,12 +151,14 @@ if (window.NETSALEDATA) { |
|
|
referenceName: ref1.val() + '/' + ref2.val()
|
|
|
});
|
|
|
}
|
|
|
//console.log(productSizeReferList);
|
|
|
var data = {
|
|
|
productSkn: dataList.productSkn,
|
|
|
noMeasureIds: noMeasureIds,
|
|
|
sizeInfoList: JSON.stringify(sizeInfoList),
|
|
|
productSizeReferList: JSON.stringify(productSizeReferList)
|
|
|
};
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url: "/meterManage/productSize/saveProdSizeInfo",
|
|
|
data: data
|
...
|
...
|
|