...
|
...
|
@@ -178,7 +178,7 @@ $('tbody').on('click', '.close-brand', function() { |
|
|
var item=g.rows[$(this).data("index")];
|
|
|
common.util.__ajax({
|
|
|
url:'/erpproduct/brandfolder/close',
|
|
|
data:{id:item.id}
|
|
|
data:{id:item.id, type: item.type}
|
|
|
},function(){
|
|
|
g.reload();
|
|
|
});
|
...
|
...
|
@@ -189,7 +189,7 @@ $('tbody').on('click', '.open-brand', function() { |
|
|
var item=g.rows[$(this).data("index")];
|
|
|
common.util.__ajax({
|
|
|
url:'/erpproduct/brandfolder/open',
|
|
|
data:{id:item.id}
|
|
|
data:{id:item.id, type: item.type}
|
|
|
},function(){
|
|
|
g.reload();
|
|
|
});
|
...
|
...
|
|