productSiezChart.js 1.32 KB
exports.domain = require('../config/common.js').domain;


exports.res = [
	{
	    // 产品管理【尺寸】页面渲染
	    route: '/erpproduct/size/index',
	    method: 'GET',
	    view: 'pages/product/siezChart',
	    //url:'/prohejiaduct/querySizeList',
	    isJsonRaw:true,        
	    //params: [
	    //    {name: 'page', type: 'Number',def:1},
	    //    {name: 'size', type: 'Number',def:10}
	    //],
	    src: '/product/sizeChart'
	},{
	    // 产品管理【尺寸】页面分页渲染
	    route: '/erpproduct/sizeattribute/sizeList',
	    method: 'POST',
	    url:'/product/querySizeList',
	    params: [
	        {name: 'page', type: 'Number'},
	        {name: 'size', type: 'Number',def:10}
	    ],
	    src: '/product/sizeChart'
	},{
	    // 获取单个尺码
	    route: '/erpproduct/size/getSize',   
	    method: 'POST',
	    url:"/product/getSize",
	    params:[
	        {name: 'id', type: 'Number'}
	    ]
	},{
	    // 新增尺码
	    route: '/erpproduct/size/addSize',   
	    method: 'POST',
	    url:"/product/addSize",
	    params:[
	        {name: 'sizeName', type: 'String'}
	    ]
	},{
	    // 修改尺码
	    route: '/erpproduct/size/updateSize',   
	    method: 'POST',
	    url:"/product/updateSize",
	    params:[
	        {name: 'id', type: 'Number'},
	        {name: 'sizeName', type: 'String'}
	    ]
	}
]