Authored by 王钱钧

修改品牌款型接口参数。

... ... @@ -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();
});
... ...
... ... @@ -162,6 +162,9 @@ exports.res = [
{
name: 'id',
type: 'Number',
}, {
name: 'type',
type: 'Number',
}
],
src:'/product/brandModels'
... ... @@ -175,18 +178,8 @@ exports.res = [
{
name: 'id',
type: 'Number',
}
],
src:'/product/brandModels'
},
{ //查询
route: '/erpproduct/brandfolder/open',
method: 'POST',
url: '/brandSeries/open',
params:[
{
name: 'id',
}, {
name: 'type',
type: 'Number',
}
],
... ...