|
|
exports.domain =require('../config/common.js').domain;
|
|
|
|
|
|
//路由配置
|
|
|
exports.res = [
|
|
|
{
|
|
|
route: '/erpproduct/sortsize/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/sortsize/index',
|
|
|
url: '/product/queryProductSortListByConf',
|
|
|
data: {
|
|
|
addTitle:"添加尺码",
|
|
|
title1:"品类关联尺码",
|
|
|
title2:"品类关联尺码列表",
|
|
|
model:'{"name":"尺码"}',
|
|
|
gridurl:"/erpproduct/sortsize/ajax/index"
|
|
|
},
|
|
|
params:[{
|
|
|
name: 'status',
|
|
|
type: 'String',
|
|
|
def:1
|
|
|
}],
|
|
|
src:'/sortsize/index'
|
|
|
},{
|
|
|
route: '/erpproduct/sortsize/ajax/index',
|
|
|
method: 'POST',
|
|
|
url: '/product/querySizeListBySortId',
|
|
|
params:[
|
|
|
{name:"sortId",type:"number"}
|
|
|
]
|
|
|
},
|
|
|
{//添加尺码接口【验证通过】
|
|
|
route: '/erpproduct/sortsize/ajax/add',
|
|
|
method: 'POST',
|
|
|
url: '/product/addSortSize',
|
|
|
params:[
|
|
|
{name:"sortId",type:"number"},
|
|
|
{name:"sizeId",type:"number"},
|
|
|
{name:"orderBy",type:"number"}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
{//删除单个品类尺码接口【待验证】
|
|
|
route: '/erpproduct/sortsize/ajax/delete',
|
|
|
method: 'POST',
|
|
|
url: '/product/deleteSortSize',
|
|
|
params:[
|
|
|
{name:"sortId",type:"number"},
|
|
|
{name:"sizeId",type:"number"}
|
|
|
]
|
|
|
},
|
|
|
//************************品类尺码属性管理*****************************
|
|
|
{
|
|
|
route: '/erpproduct/sortattribute/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/sortsize/index',
|
|
|
url: '/product/queryProductSortListByConf',
|
|
|
data: {
|
|
|
addTitle:"添加尺码属性",
|
|
|
title1:"品类关联实物测量属性",
|
|
|
title2:"品类关联实物测量属性列表",
|
|
|
model:'{"name":"尺码属性"}',
|
|
|
gridurl:"/erpproduct/sortattribute/ajax/index"
|
|
|
},
|
|
|
params:[{
|
|
|
name: 'status',
|
|
|
type: 'String',
|
|
|
def:1
|
|
|
}],
|
|
|
src:'/sortsize/attri'
|
|
|
},{
|
|
|
//获取品类关联尺码属性列表【验证通过】
|
|
|
route: '/erpproduct/sortattribute/ajax/index',
|
|
|
method: 'POST',
|
|
|
url: '/sortAttribute/queryList',
|
|
|
params:[
|
|
|
{name:"page",type:"number"},
|
|
|
{name:"size",type:"number"},
|
|
|
{name:"sortId",type:"number"}
|
|
|
]
|
|
|
},{//删除品类关联尺码属性接口【待验证】
|
|
|
route: '/erpproduct/sortattribute/ajax/delete',
|
|
|
method: 'POST',
|
|
|
url: '/sortAttribute/delete',
|
|
|
params:[
|
|
|
{name:"sortId",type:"number"},
|
|
|
{name:"attributeId",type:"number"}
|
|
|
]
|
|
|
},
|
|
|
{//添加品类关联尺码属性接口【待验证】
|
|
|
route: '/erpproduct/sortattribute/ajax/add',
|
|
|
method: 'POST',
|
|
|
url: '/sortAttribute/add',
|
|
|
params:[
|
|
|
{name:"sortId",type:"number"},
|
|
|
{name:"attributeId",type:"number"},
|
|
|
{name:"orderBy",type:"number"}
|
|
|
]
|
|
|
}
|
|
|
] |
|
|
\ No newline at end of file |
...
|
...
|
|