...
|
...
|
@@ -9,37 +9,28 @@ exports.res = [{ |
|
|
url:'/productColor/queryProductColors'
|
|
|
},{
|
|
|
// 获取单个颜色
|
|
|
route: '/erpproduct/size/getColor',
|
|
|
route: '/erpproduct/product/getColor',
|
|
|
method: 'POST',
|
|
|
url:"/product/getSize",
|
|
|
url:"/productColor/queryProductColor",
|
|
|
isJsonRaw:true,
|
|
|
params:[
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},{
|
|
|
// 新增颜色
|
|
|
route: '/erpproduct/size/addColor',
|
|
|
// 新增颜色页面渲染
|
|
|
route: '/erpproduct/product/addColor',
|
|
|
method: 'GET',
|
|
|
view:'pages/product/addColor',
|
|
|
src:'/product/color'
|
|
|
},{
|
|
|
// 新增颜色
|
|
|
route: '/erpproduct/size/addColor/:id',
|
|
|
method: 'GET',
|
|
|
view:'pages/product/addColor',
|
|
|
isJsonRaw:true,
|
|
|
params:[
|
|
|
{name: 'id', type: 'Number'}
|
|
|
],
|
|
|
src:'/product/color'
|
|
|
},{
|
|
|
// 修改颜色
|
|
|
route: '/erpproduct/size/updateColor',
|
|
|
route: '/erpproduct/product/saveColor',
|
|
|
method: 'POST',
|
|
|
url:"/product/updateSize",
|
|
|
url:"/productColor/addProductColor",
|
|
|
isJsonRaw:true,
|
|
|
params:[
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'colorName', type: 'String'}
|
|
|
{name: 'colorName', type: 'String'},
|
|
|
{name: 'colorCode', type: 'String'},
|
|
|
{name: 'colorValue', type: 'String'}
|
|
|
]
|
|
|
}] |
...
|
...
|
|