baserule.productParm.js 1.61 KB
module.exports=function(app) {
	/*品牌款型系列*/
	app.get("/erpproduct/prodcutparm/index","baserule.productParm.Index",function(){
		this.$extend={
			moduleName:'商品基础规则',
			pageName:'产品参数管理'
		}
	});
	/*初始化列表*/
	app.post("/erpproduct/prodcutparm/list","productparm_getAllStandardWithValsBySortId");
	//删除
	app.post("/erpproduct/standard/del","productparm_del");

	app.post("/erpproduct/standard/update","productparm_update");
	app.post("/erpproduct/standard/add","productparm_add");

	/*参数类别列表*/
	app.post("/erpproduct/standardSort/list","standardSort_list");
	/*参数类别添加*/
	app.post("/erpproduct/standardSort/add","standardSort_add");
	/*参数类别修改*/
	app.post("/erpproduct/standardSort/update","standardSort_update");
	/*参数类别删除*/
	app.post("/erpproduct/standardSort/del","standardSort_del");
	/*商品参数类别*/
	app.get("/erpproduct/standardSort/index","baserule.standardSort.Index",function(){
		this.$extend={
			moduleName:'商品基础规则',
			pageName:'产品参数类别管理'
		}
	});

/*商品参数类别*/
	app.get("/erpproduct/standardVal/index","baserule.parameterMake.Index",function(){
		this.$extend={
			moduleName:'商品基础规则',
			pageName:'产品参数值管理'
		}
	});
	/*参数类别列表*/
	app.post("/erpproduct/standardVal/list","parameterMake_list");
	/*参数类别添加*/
	app.post("/erpproduct/standardVal/add","parameterMake_add");
	/*参数类别修改*/
	app.post("/erpproduct/standardVal/update","parameterMake_update");
	/*参数类别删除*/
	app.post("/erpproduct/standardVal/del","parameterMake_del");
	
}