...
|
...
|
@@ -244,6 +244,19 @@ $(document).on("click",".goods-color a",function(){ |
|
|
item.isDefault=$(this).hasClass("info")?"Y":"N";
|
|
|
});
|
|
|
$(document).on("click","#fenMainSave",function(){
|
|
|
|
|
|
var data=GOLABDATA.fire("weiqingting");
|
|
|
console.log(data);
|
|
|
common.util.__ajax({
|
|
|
url:'/netSale/manageProductImg',
|
|
|
data:data
|
|
|
},function(data){
|
|
|
console.log(data);
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
GOLABDATA.on("weiqingting",function(){
|
|
|
var map={
|
|
|
goodsImagesBoList:[]
|
|
|
};
|
...
|
...
|
@@ -258,17 +271,7 @@ $(document).on("click","#fenMainSave",function(){ |
|
|
});
|
|
|
});
|
|
|
map.goodsImagesBoList=JSON.stringify(map.goodsImagesBoList);
|
|
|
common.util.__ajax({
|
|
|
url:'/netSale/manageProductImg',
|
|
|
data:{"goodsImagesReq":JSON.stringify(map)}
|
|
|
},function(data){
|
|
|
console.log(data);
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
GOLABDATA.on("weiqingting",function(){
|
|
|
|
|
|
return {"goodsImagesReq":JSON.stringify(map)}
|
|
|
});
|
|
|
|
|
|
|
...
|
...
|
|