productParm.js
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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");
}