...
|
...
|
@@ -79,14 +79,13 @@ if (window.NETSALEDATA) { |
|
|
var e = new common.edit("#add-list");
|
|
|
dataList = res.data.list[0];
|
|
|
common.sizeInfo.list(dataList);
|
|
|
console.info(dataList.sizeRelationsList)
|
|
|
$("#noMeasureIds").val(dataList.noMeasureIds ? dataList.noMeasureIds.join("|") : "");
|
|
|
if(dataList.sizeRelationsList!=""){
|
|
|
var sizeRelationsList = dataList.sizeRelationsList;
|
|
|
for(var i=0;i<dataList.sizeRelationsList.length;i++){
|
|
|
$("#select—size").append("<option value="+sizeRelationsList[i].sizeName+">"+sizeRelationsList[i].sizeName+"</option>");
|
|
|
}
|
|
|
}
|
|
|
// if(dataList.sizeRelationsList!=""){
|
|
|
// var sizeRelationsList = dataList.sizeRelationsList;
|
|
|
// for(var i=0;i<dataList.sizeRelationsList.length;i++){
|
|
|
// $("#select—size").append("<option value="+sizeRelationsList[i].sizeName+">"+sizeRelationsList[i].sizeName+"</option>");
|
|
|
// }
|
|
|
// }
|
|
|
e.init();
|
|
|
|
|
|
$(document).on('click', '#add-saveBtn', function () {
|
...
|
...
|
|