Authored by liuyue

vip

@@ -4,199 +4,198 @@ exports.domain = require('../config/common.js').domain; @@ -4,199 +4,198 @@ exports.domain = require('../config/common.js').domain;
4 4
5 //商品管理路由配置 5 //商品管理路由配置
6 exports.res = [ 6 exports.res = [
7 - {route: '/-p-l-a-t-f-o-r-m/1',method:"GET"}//此模块不上  
8 - // {  
9 - // //商品审核  
10 - // route: '/supplier/baseaudit/index',  
11 - // method: 'GET',  
12 - // view: 'pages/goods/index',  
13 - // noApi:true,  
14 - // data: {  
15 - // bottons:'{"detail":true}',  
16 - // gridurl:'/goods/review/getList',  
17 - // searchStatus: [  
18 - // {name:"未审核",value:"100"},  
19 - // {name:"已通过",value:"200"},  
20 - // {name:"驳回",value:"300"}  
21 - // ],  
22 - // searchJIT: true,  
23 - // pageTitle:"商品审核"  
24 - // },  
25 - // src:'/goods/index'  
26 - // },  
27 - // {  
28 - // route: '/goods/review/getList',  
29 - // method: 'POST',  
30 - // url: '/goods/review/getReviewList',  
31 - // isJsonRaw:true,  
32 - // params: [  
33 - // {name: 'skn', type: 'String'},  
34 - // {name: 'brandName', type: 'String'},  
35 - // {name: 'storeName', type: 'String'},  
36 - // {name: 'status', type: 'String'},  
37 - // {name: 'jit', type: 'String'}  
38 - // ]  
39 - // }, {  
40 - // //价格管理 -> 代销变价页面渲染  
41 - // route: '/goods/pricechange/index',  
42 - // method: 'GET',  
43 - // view: 'pages/goods/index',  
44 - // src:'/goods/index',  
45 - // noApi:true,  
46 - // data: {  
47 - // headerTab: {  
48 - // changePrice: true  
49 - // },  
50 - // secondTitle: '价格管理',  
51 - // pageTitle: '代销变价',  
52 - // filter: {  
53 - // skn: true,  
54 - // store: true,  
55 - // brand: true,  
56 - // supplier: true,  
57 - // jit: true,  
58 - // onStatus: true,  
59 - // stock:true,  
60 - // gender: true,  
61 - // aCate: true  
62 - // },  
63 - // bulkImport: true, //批量导入  
64 - // bottons:'{"edit":true,"columnsHidisFr":true}',  
65 - // gridurl:'/goods/price/list',  
66 - // domain: exports.domain,  
67 - // download: '/common/batchUpdatePrice.xlsx'  
68 - // }  
69 - // }, {  
70 - // //代销变价 -> 列表数据  
71 - // route: '/goods/price/list',  
72 - // method: 'POST',  
73 - // url: '/product/queryProductPriceList',  
74 - // isJsonRaw:true,  
75 - // params: [  
76 - // {name: 'product_skn', type: 'Number'},  
77 - // {name: 'shop_id', type: 'Number'},  
78 - // {name: 'brand_id', type: 'Number'},  
79 - // {name: 'supplier_id', type: 'Number'},  
80 - // {name: 'is_jit', type: 'String'},  
81 - // {name: 'is_auditing', type: 'Number'},  
82 - // {name: 'stock', type: 'Number'},  
83 - // {name: 'gender', type: 'Number'},  
84 - // {name: 'max_sort_id', type: 'Number'},  
85 - // {name: 'middle_sort_id', type: 'Number'},  
86 - // {name: 'small_sort_id', type: 'Number'},  
87 - // {name: 'page', type: 'Number'},  
88 - // {name: 'size', type: 'Number'}  
89 - // ]  
90 - // }, {  
91 - // //代销变价 -> 获得单个变价详情  
92 - // route: '/goods/getPrice',  
93 - // method: 'POST',  
94 - // url: '/product/getProductPrice',  
95 - // isJsonRaw: true,  
96 - // params: [  
97 - // {name: 'param', type: 'Number'}  
98 - // ]  
99 - // }, {  
100 - // //查询店铺列表接口  
101 - // route: '/goods/query/shop',  
102 - // method: 'POST',  
103 - // url: '/ShopsRest/queryAllShops',  
104 - // isJsonRaw: true,  
105 - // params: []  
106 - // }, {  
107 - // //查询品牌列表接口  
108 - // route: '/goods/query/brand',  
109 - // method: 'POST',  
110 - // url: '/erpproduct/brands/queryAllBrands',  
111 - // isJsonRaw: true,  
112 - // params: []  
113 - // }, {  
114 - // //查询供应商列表接口  
115 - // route: '/goods/query/supplier',  
116 - // method: 'POST',  
117 - // url: '/supplier/supplier/queryAllSupplier',  
118 - // isJsonRaw: true,  
119 - // params: []  
120 - // }, {  
121 - // //查询一级类目列表接口  
122 - // route: '/goods/query/maxSort',  
123 - // method: 'POST',  
124 - // url: '/product/queryAllMaxSortList',  
125 - // isJsonRaw: true,  
126 - // params: []  
127 - // }, {  
128 - // //单个变价接口  
129 - // route: '/goods/updatePrice',  
130 - // method: 'POST',  
131 - // url: '/product/updateProductPrice',  
132 - // isJsonRaw: true,  
133 - // params: [  
134 - // {name: 'product_skn', type: 'number'},  
135 - // {name: 'sales_price', type: 'number'},  
136 - // {name: 'vip_discount_type', type: 'number'},  
137 - // {name: 'return_coin', type: 'number'},  
138 - // {name: 'vip_price', type: 'number'},  
139 - // {name: 'vip1_price', type: 'number'},  
140 - // {name: 'vip2_price', type: 'number'},  
141 - // {name: 'vip3_price', type: 'number'}  
142 - // ]  
143 - // }, {  
144 - // //批量变价接口  
145 - // route: '/goods/batchUpdatePrice',  
146 - // method: 'POST',  
147 - // url: '/product/batchUpdateProductPrice',  
148 - // isJsonRaw: true,  
149 - // params: [  
150 - // {name: 'batchList', type: 'String'}  
151 - // ]  
152 - // }, {  
153 - // //价格管理 -> 品牌合作模式页面渲染  
154 - // route: '/goods/brandCooperation/index',  
155 - // method: 'GET',  
156 - // view: 'pages/goods/index',  
157 - // src:'/goods/brand-cooperation',  
158 - // noApi:true,  
159 - // data: {  
160 - // headerTab: {  
161 - // brandCooperation: true  
162 - // },  
163 - // secondTitle: '价格管理',  
164 - // pageTitle: '品牌合作模式设置',  
165 - // filter: {  
166 - // brandInput: true,  
167 - // brandCooperation: true,  
168 - // brandCooperationSet: true  
169 - // },  
170 - // bulkImport: true,  
171 - // bottons:'{"edit":true,"columnsHidisFr":true}',  
172 - // gridurl:'/goods/brandCooperation/list',  
173 - // domain: exports.domain,  
174 - // download: '/common/brandCooperation.xlsx'  
175 - // }  
176 - // }, {  
177 - // //品牌合作模式 -> 列表数据  
178 - // route: '/goods/brandCooperation/list',  
179 - // method: 'POST',  
180 - // url: '/brandCooperation/queryBrandCooperationList',  
181 - // isJsonRaw:true,  
182 - // params: [  
183 - // {name: 'cooperateTypeId', type: 'Number'},  
184 - // {name: 'brandName', type: 'String'},  
185 - // {name: 'setFlag', type: 'Number'},  
186 - // {name: 'page', type: 'Number'},  
187 - // {name: 'size', type: 'Number'}  
188 - // ]  
189 - // }, {  
190 - // //品牌合作模式 -> 修改合作模式  
191 - // route: '/goods/brandCooperation/update',  
192 - // method: 'POST',  
193 - // url: '/brandCooperation/saveBrandCooperation',  
194 - // isJsonRaw:true,  
195 - // params: [  
196 - // {name: 'id', type: 'Number'},  
197 - // {name: 'cooperateTypeId', type: 'String'},  
198 - // {name: 'brandId', type: 'Number'}  
199 - // ]  
200 - // } 7 + {
  8 + //商品审核
  9 + route: '/supplier/baseaudit/index',
  10 + method: 'GET',
  11 + view: 'pages/goods/index',
  12 + noApi:true,
  13 + data: {
  14 + bottons:'{"detail":true}',
  15 + gridurl:'/goods/review/getList',
  16 + searchStatus: [
  17 + {name:"未审核",value:"100"},
  18 + {name:"已通过",value:"200"},
  19 + {name:"驳回",value:"300"}
  20 + ],
  21 + searchJIT: true,
  22 + pageTitle:"商品审核"
  23 + },
  24 + src:'/goods/index'
  25 + },
  26 + {
  27 + route: '/goods/review/getList',
  28 + method: 'POST',
  29 + url: '/goods/review/getReviewList',
  30 + isJsonRaw:true,
  31 + params: [
  32 + {name: 'skn', type: 'String'},
  33 + {name: 'brandName', type: 'String'},
  34 + {name: 'storeName', type: 'String'},
  35 + {name: 'status', type: 'String'},
  36 + {name: 'jit', type: 'String'}
  37 + ]
  38 + }, {
  39 + //价格管理 -> 代销变价页面渲染
  40 + route: '/goods/pricechange/index',
  41 + method: 'GET',
  42 + view: 'pages/goods/index',
  43 + src:'/goods/index',
  44 + noApi:true,
  45 + data: {
  46 + headerTab: {
  47 + changePrice: true
  48 + },
  49 + secondTitle: '价格管理',
  50 + pageTitle: '代销变价',
  51 + filter: {
  52 + skn: true,
  53 + store: true,
  54 + brand: true,
  55 + supplier: true,
  56 + jit: true,
  57 + onStatus: true,
  58 + stock:true,
  59 + gender: true,
  60 + aCate: true
  61 + },
  62 + bulkImport: true, //批量导入
  63 + bottons:'{"edit":true,"columnsHidisFr":true}',
  64 + gridurl:'/goods/price/list',
  65 + domain: exports.domain,
  66 + download: '/common/batchUpdatePrice.xlsx'
  67 + }
  68 + }, {
  69 + //代销变价 -> 列表数据
  70 + route: '/goods/price/list',
  71 + method: 'POST',
  72 + url: '/product/queryProductPriceList',
  73 + isJsonRaw:true,
  74 + params: [
  75 + {name: 'product_skn', type: 'Number'},
  76 + {name: 'shop_id', type: 'Number'},
  77 + {name: 'brand_id', type: 'Number'},
  78 + {name: 'supplier_id', type: 'Number'},
  79 + {name: 'is_jit', type: 'String'},
  80 + {name: 'is_auditing', type: 'Number'},
  81 + {name: 'stock', type: 'Number'},
  82 + {name: 'gender', type: 'Number'},
  83 + {name: 'max_sort_id', type: 'Number'},
  84 + {name: 'middle_sort_id', type: 'Number'},
  85 + {name: 'small_sort_id', type: 'Number'},
  86 + {name: 'page', type: 'Number'},
  87 + {name: 'size', type: 'Number'}
  88 + ]
  89 + }, {
  90 + //代销变价 -> 获得单个变价详情
  91 + route: '/goods/getPrice',
  92 + method: 'POST',
  93 + url: '/product/getProductPrice',
  94 + isJsonRaw: true,
  95 + params: [
  96 + {name: 'param', type: 'Number'}
  97 + ]
  98 + }, {
  99 + //查询店铺列表接口
  100 + route: '/goods/query/shop',
  101 + method: 'POST',
  102 + url: '/ShopsRest/queryAllShops',
  103 + isJsonRaw: true,
  104 + params: []
  105 + }, {
  106 + //查询品牌列表接口
  107 + route: '/goods/query/brand',
  108 + method: 'POST',
  109 + url: '/erpproduct/brands/queryAllBrands',
  110 + isJsonRaw: true,
  111 + params: []
  112 + }, {
  113 + //查询供应商列表接口
  114 + route: '/goods/query/supplier',
  115 + method: 'POST',
  116 + url: '/supplier/supplier/queryAllSupplier',
  117 + isJsonRaw: true,
  118 + params: []
  119 + }, {
  120 + //查询一级类目列表接口
  121 + route: '/goods/query/maxSort',
  122 + method: 'POST',
  123 + url: '/product/queryAllMaxSortList',
  124 + isJsonRaw: true,
  125 + params: []
  126 + }, {
  127 + //单个变价接口
  128 + route: '/goods/updatePrice',
  129 + method: 'POST',
  130 + url: '/product/updateProductPrice',
  131 + isJsonRaw: true,
  132 + params: [
  133 + {name: 'product_skn', type: 'number'},
  134 + {name: 'sales_price', type: 'number'},
  135 + {name: 'vip_discount_type', type: 'number'},
  136 + {name: 'return_coin', type: 'number'},
  137 + {name: 'vip_price', type: 'number'},
  138 + {name: 'vip1_price', type: 'number'},
  139 + {name: 'vip2_price', type: 'number'},
  140 + {name: 'vip3_price', type: 'number'}
  141 + ]
  142 + }, {
  143 + //批量变价接口
  144 + route: '/goods/batchUpdatePrice',
  145 + method: 'POST',
  146 + url: '/product/batchUpdateProductPrice',
  147 + isJsonRaw: true,
  148 + params: [
  149 + {name: 'batchList', type: 'String'}
  150 + ]
  151 + }, {
  152 + //价格管理 -> 品牌合作模式页面渲染
  153 + route: '/goods/brandCooperation/index',
  154 + method: 'GET',
  155 + view: 'pages/goods/index',
  156 + src:'/goods/brand-cooperation',
  157 + noApi:true,
  158 + data: {
  159 + headerTab: {
  160 + brandCooperation: true
  161 + },
  162 + secondTitle: '价格管理',
  163 + pageTitle: '品牌合作模式设置',
  164 + filter: {
  165 + brandInput: true,
  166 + brandCooperation: true,
  167 + brandCooperationSet: true
  168 + },
  169 + bulkImport: true,
  170 + bottons:'{"edit":true,"columnsHidisFr":true}',
  171 + gridurl:'/goods/brandCooperation/list',
  172 + domain: exports.domain,
  173 + download: '/common/brandCooperation.xlsx'
  174 + }
  175 + }, {
  176 + //品牌合作模式 -> 列表数据
  177 + route: '/goods/brandCooperation/list',
  178 + method: 'POST',
  179 + url: '/brandCooperation/queryBrandCooperationList',
  180 + isJsonRaw:true,
  181 + params: [
  182 + {name: 'cooperateTypeId', type: 'Number'},
  183 + {name: 'brandName', type: 'String'},
  184 + {name: 'setFlag', type: 'Number'},
  185 + {name: 'page', type: 'Number'},
  186 + {name: 'size', type: 'Number'}
  187 + ]
  188 + }, {
  189 + //品牌合作模式 -> 修改合作模式
  190 + route: '/goods/brandCooperation/update',
  191 + method: 'POST',
  192 + url: '/brandCooperation/saveBrandCooperation',
  193 + isJsonRaw:true,
  194 + params: [
  195 + {name: 'id', type: 'Number'},
  196 + {name: 'cooperateTypeId', type: 'String'},
  197 + {name: 'brandId', type: 'Number'}
  198 + ]
  199 + }
201 200
202 ]; 201 ];
@@ -3,216 +3,215 @@ exports.domain = 'http://172.16.6.240:8088/platform'; @@ -3,216 +3,215 @@ exports.domain = 'http://172.16.6.240:8088/platform';
3 3
4 //路由配置 4 //路由配置
5 exports.res = [ 5 exports.res = [
6 - {route: '/-p-l-a-t-f-o-r-m/2',method:"GET"}//此模块上线将此删除  
7 - // {  
8 - // //【限购商品】页面渲染  
9 - // route: '/limit/product/index',  
10 - // method: 'GET',  
11 - // view: 'pages/limit/index',  
12 - // isJsonRaw:true,  
13 - // src: '/product/limit'  
14 - // }, {  
15 - // // 【限购商品】ajax分页  
16 - // route: '/limit/product/page',  
17 - // method: 'POST',  
18 - // url: '/limitProduct/getLimitProductList',  
19 - // isJsonRaw:true,  
20 - // params: [  
21 - // {  
22 - // name: 'hotFlag',  
23 - // type: 'Number'  
24 - // },{  
25 - // name: 'saleFlag',  
26 - // type: 'Number'  
27 - // },{  
28 - // name: 'showFlag',  
29 - // type: 'Number'  
30 - // },{  
31 - // name: 'productName',  
32 - // type: 'String'  
33 - // },{  
34 - // name: 'productSkn',  
35 - // type: 'String'  
36 - // },{  
37 - // name: 'page',  
38 - // type: 'Number'  
39 - // },{  
40 - // name: 'size',  
41 - // type: 'Number'  
42 - // } 6 + {
  7 + //【限购商品】页面渲染
  8 + route: '/limit/product/index',
  9 + method: 'GET',
  10 + view: 'pages/limit/index',
  11 + isJsonRaw:true,
  12 + src: '/product/limit'
  13 + }, {
  14 + // 【限购商品】ajax分页
  15 + route: '/limit/product/page',
  16 + method: 'POST',
  17 + url: '/limitProduct/getLimitProductList',
  18 + isJsonRaw:true,
  19 + params: [
  20 + {
  21 + name: 'hotFlag',
  22 + type: 'Number'
  23 + },{
  24 + name: 'saleFlag',
  25 + type: 'Number'
  26 + },{
  27 + name: 'showFlag',
  28 + type: 'Number'
  29 + },{
  30 + name: 'productName',
  31 + type: 'String'
  32 + },{
  33 + name: 'productSkn',
  34 + type: 'String'
  35 + },{
  36 + name: 'page',
  37 + type: 'Number'
  38 + },{
  39 + name: 'size',
  40 + type: 'Number'
  41 + }
43 42
44 - // ]  
45 - // },{  
46 - // // 【限购商品】添加页面渲染  
47 - // route: '/limit/product/add',  
48 - // method: 'GET',  
49 - // view: 'pages/limit/add',  
50 - // src: '/product/limit-add',  
51 - // isJsonRaw:true,  
52 - // data: {  
53 - // data: {},  
54 - // action: '/limit/product/add'  
55 - // }  
56 - // },{  
57 - // // 【限购商品】ajax添加  
58 - // route: '/limit/product/add',  
59 - // method: 'POST',  
60 - // url: '/limitProduct/addLimitProduct',  
61 - // isJsonRaw:true,  
62 - // params: [  
63 - // {  
64 - // name: 'productName',  
65 - // type: 'String'  
66 - // },  
67 - // {  
68 - // name: 'attachmentContent',  
69 - // type: 'String'  
70 - // },  
71 - // {  
72 - // name: 'batchNo',  
73 - // type: 'Number'  
74 - // },{  
75 - // name: 'saleTime',  
76 - // type: 'String'  
77 - // },{  
78 - // name: 'hotFlag',  
79 - // type: 'Number'  
80 - // },{  
81 - // name:'orderBy',  
82 - // type: 'Number'  
83 - // },{  
84 - // name: 'notSaleOrderBy',  
85 - // type: 'Number'  
86 - // }  
87 - // ] 43 + ]
  44 + },{
  45 + // 【限购商品】添加页面渲染
  46 + route: '/limit/product/add',
  47 + method: 'GET',
  48 + view: 'pages/limit/add',
  49 + src: '/product/limit-add',
  50 + isJsonRaw:true,
  51 + data: {
  52 + data: {},
  53 + action: '/limit/product/add'
  54 + }
  55 + },{
  56 + // 【限购商品】ajax添加
  57 + route: '/limit/product/add',
  58 + method: 'POST',
  59 + url: '/limitProduct/addLimitProduct',
  60 + isJsonRaw:true,
  61 + params: [
  62 + {
  63 + name: 'productName',
  64 + type: 'String'
  65 + },
  66 + {
  67 + name: 'attachmentContent',
  68 + type: 'String'
  69 + },
  70 + {
  71 + name: 'batchNo',
  72 + type: 'Number'
  73 + },{
  74 + name: 'saleTime',
  75 + type: 'String'
  76 + },{
  77 + name: 'hotFlag',
  78 + type: 'Number'
  79 + },{
  80 + name:'orderBy',
  81 + type: 'Number'
  82 + },{
  83 + name: 'notSaleOrderBy',
  84 + type: 'Number'
  85 + }
  86 + ]
88 87
89 - // }, {  
90 - // route: '/limit/edit/:id',  
91 - // method: 'GET',  
92 - // view: 'pages/limit/add',  
93 - // url: '/limitProduct/getLimitProduct',  
94 - // isJsonRaw:true,  
95 - // data:{  
96 - // action:"/limit/update",  
97 - // type:"update"  
98 - // },  
99 - // src:'/product/limit-add',  
100 - // params:[  
101 - // {name:"id",type:"String"}  
102 - // ]  
103 - // }, {  
104 - // route: '/limit/update',  
105 - // method: 'POST',  
106 - // url: '/limitProduct/updateLimitProduct',  
107 - // isJsonRaw: true,  
108 - // params: [  
109 - // {  
110 - // name: 'id',  
111 - // type: 'Number'  
112 - // },  
113 - // {  
114 - // name: 'productName',  
115 - // type: 'String'  
116 - // },  
117 - // {  
118 - // name: 'attachmentContent',  
119 - // type: 'String'  
120 - // },  
121 - // {  
122 - // name: 'batchNo',  
123 - // type: 'Number'  
124 - // },{  
125 - // name: 'saleTime',  
126 - // type: 'String'  
127 - // },{  
128 - // name: 'hotFlag',  
129 - // type: 'Number'  
130 - // },{  
131 - // name:'orderBy',  
132 - // type: 'Number'  
133 - // },{  
134 - // name: 'notSaleOrderBy',  
135 - // type: 'Number'  
136 - // }, {  
137 - // name: 'dayFlag',  
138 - // type: 'Number'  
139 - // }  
140 - // ]  
141 - // }, {  
142 - // route: '/limit/ajax/getCodeCount',  
143 - // method: 'POST',  
144 - // url: '/limitProduct/getCountByStatus',  
145 - // isJsonRaw: true,  
146 - // params: [  
147 - // {  
148 - // name: 'hotFlag',  
149 - // type: 'Number'  
150 - // },{  
151 - // name: 'saleFlag',  
152 - // type: 'Number'  
153 - // },{  
154 - // name: 'showFlag',  
155 - // type: 'Number'  
156 - // },{  
157 - // name: 'productName',  
158 - // type: 'String'  
159 - // },{  
160 - // name: 'productSkn',  
161 - // type: 'String'  
162 - // }  
163 - // ]  
164 - // }, {  
165 - // route: '/limit/audit',  
166 - // method: 'POST',  
167 - // url: '/limitProduct/auditLimitProduct',  
168 - // isJsonRaw: true,  
169 - // params: [  
170 - // {  
171 - // name: 'id',  
172 - // type: 'Number'  
173 - // },  
174 - // {  
175 - // name: 'showFlag',  
176 - // type: 'Number'  
177 - // },  
178 - // {  
179 - // name: 'hotFlag',  
180 - // type: 'Number'  
181 - // },  
182 - // {  
183 - // name: 'orderBy',  
184 - // type: 'Number'  
185 - // },  
186 - // {  
187 - // name: 'notSaleOrderBy',  
188 - // type: 'Number'  
189 - // }  
190 - // ]  
191 - // }, {  
192 - // route: '/limit/delete',  
193 - // method: 'POST',  
194 - // url: '/limitProduct/deleteLimitProduct',  
195 - // isJsonRaw: true,  
196 - // params: [  
197 - // {  
198 - // name: 'id',  
199 - // type: 'Number'  
200 - // }  
201 - // ]  
202 - // }, {  
203 - // route: '/limit/checkBatch',  
204 - // method: 'POST',  
205 - // url: '/limitProduct/checkBatchNoExist',  
206 - // isJsonRaw: true,  
207 - // params: [  
208 - // {  
209 - // name: 'batchNo',  
210 - // type: 'Number'  
211 - // },  
212 - // {  
213 - // name: 'id',  
214 - // type: 'Number'  
215 - // }  
216 - // ]  
217 - // } 88 + }, {
  89 + route: '/limit/edit/:id',
  90 + method: 'GET',
  91 + view: 'pages/limit/add',
  92 + url: '/limitProduct/getLimitProduct',
  93 + isJsonRaw:true,
  94 + data:{
  95 + action:"/limit/update",
  96 + type:"update"
  97 + },
  98 + src:'/product/limit-add',
  99 + params:[
  100 + {name:"id",type:"String"}
  101 + ]
  102 + }, {
  103 + route: '/limit/update',
  104 + method: 'POST',
  105 + url: '/limitProduct/updateLimitProduct',
  106 + isJsonRaw: true,
  107 + params: [
  108 + {
  109 + name: 'id',
  110 + type: 'Number'
  111 + },
  112 + {
  113 + name: 'productName',
  114 + type: 'String'
  115 + },
  116 + {
  117 + name: 'attachmentContent',
  118 + type: 'String'
  119 + },
  120 + {
  121 + name: 'batchNo',
  122 + type: 'Number'
  123 + },{
  124 + name: 'saleTime',
  125 + type: 'String'
  126 + },{
  127 + name: 'hotFlag',
  128 + type: 'Number'
  129 + },{
  130 + name:'orderBy',
  131 + type: 'Number'
  132 + },{
  133 + name: 'notSaleOrderBy',
  134 + type: 'Number'
  135 + }, {
  136 + name: 'dayFlag',
  137 + type: 'Number'
  138 + }
  139 + ]
  140 + }, {
  141 + route: '/limit/ajax/getCodeCount',
  142 + method: 'POST',
  143 + url: '/limitProduct/getCountByStatus',
  144 + isJsonRaw: true,
  145 + params: [
  146 + {
  147 + name: 'hotFlag',
  148 + type: 'Number'
  149 + },{
  150 + name: 'saleFlag',
  151 + type: 'Number'
  152 + },{
  153 + name: 'showFlag',
  154 + type: 'Number'
  155 + },{
  156 + name: 'productName',
  157 + type: 'String'
  158 + },{
  159 + name: 'productSkn',
  160 + type: 'String'
  161 + }
  162 + ]
  163 + }, {
  164 + route: '/limit/audit',
  165 + method: 'POST',
  166 + url: '/limitProduct/auditLimitProduct',
  167 + isJsonRaw: true,
  168 + params: [
  169 + {
  170 + name: 'id',
  171 + type: 'Number'
  172 + },
  173 + {
  174 + name: 'showFlag',
  175 + type: 'Number'
  176 + },
  177 + {
  178 + name: 'hotFlag',
  179 + type: 'Number'
  180 + },
  181 + {
  182 + name: 'orderBy',
  183 + type: 'Number'
  184 + },
  185 + {
  186 + name: 'notSaleOrderBy',
  187 + type: 'Number'
  188 + }
  189 + ]
  190 + }, {
  191 + route: '/limit/delete',
  192 + method: 'POST',
  193 + url: '/limitProduct/deleteLimitProduct',
  194 + isJsonRaw: true,
  195 + params: [
  196 + {
  197 + name: 'id',
  198 + type: 'Number'
  199 + }
  200 + ]
  201 + }, {
  202 + route: '/limit/checkBatch',
  203 + method: 'POST',
  204 + url: '/limitProduct/checkBatchNoExist',
  205 + isJsonRaw: true,
  206 + params: [
  207 + {
  208 + name: 'batchNo',
  209 + type: 'Number'
  210 + },
  211 + {
  212 + name: 'id',
  213 + type: 'Number'
  214 + }
  215 + ]
  216 + }
218 ]; 217 ];
@@ -2,76 +2,75 @@ exports.domain = require('../config/common.js').domain; @@ -2,76 +2,75 @@ exports.domain = require('../config/common.js').domain;
2 2
3 3
4 exports.res = [ 4 exports.res = [
5 -{route: '/-p-l-a-t-f-o-r-m/5',method:"GET"}//此模块上线将此删除  
6 -// {  
7 -// // 产品管理【颜色】页面渲染  
8 -// route: '/erpproduct/color/index',  
9 -// method: 'GET',  
10 -// view: 'pages/product/color',  
11 -// //url:'/productColor/queryProductColors'  
12 -// src: '/product/color',  
13 -// isJsonRaw:true  
14 -// },{  
15 -// // 获取颜色列表  
16 -// route: '/erpproduct/product/colorList',  
17 -// method: 'POST',  
18 -// url: '/productColor/queryProductColors', //接口的url  
19 -// isJsonRaw:true  
20 -// },{  
21 -// // 获取单个颜色  
22 -// route: '/erpproduct/product/getColor',  
23 -// method: 'POST',  
24 -// url:"/productColor/queryProductColor",  
25 -// isJsonRaw:true,  
26 -// params:[  
27 -// {name: 'id', type: 'Number'}  
28 -// ]  
29 -// },{  
30 -// // 新增颜色页面渲染  
31 -// route: '/erpproduct/product/addColor',  
32 -// method: 'GET',  
33 -// view:'pages/product/addColor',  
34 -// src:'/product/color-add',  
35 -// data:{  
36 -// url:'/erpproduct/product/saveColor'  
37 -// }  
38 -// },{  
39 -// // 新增颜色  
40 -// route: '/erpproduct/product/saveColor',  
41 -// method: 'POST',  
42 -// url:"/productColor/addProductColor",  
43 -// isJsonRaw:true,  
44 -// params:[  
45 -// {name: 'colorName', type: 'String'},  
46 -// {name: 'colorCode', type: 'String'},  
47 -// {name: 'colorValue', type: 'String'}  
48 -// ]  
49 -// },{  
50 -// // 打开修改颜色页面  
51 -// route: '/erpproduct/product/addColor/:param',  
52 -// method: 'GET',  
53 -// url:"/productColor/queryProductColor",  
54 -// view:'pages/product/addColor',  
55 -// isJsonRaw:true,  
56 -// params:[  
57 -// {name:'param',type:'Number'}  
58 -// ],  
59 -// data:{  
60 -// url:'/erpproduct/product/updatColor'  
61 -// },  
62 -// src:'/product/color-add'  
63 -// },{  
64 -// // 修改颜色  
65 -// route: '/erpproduct/product/updatColor',  
66 -// method: 'POST',  
67 -// url:"/productColor/updateProductColor",  
68 -// isJsonRaw:true,  
69 -// params:[  
70 -// {name: 'id', type: 'Number'},  
71 -// {name: 'colorName', type: 'String'},  
72 -// {name: 'colorCode', type: 'String'},  
73 -// {name: 'colorValue', type: 'String'}  
74 -// ]  
75 -// } 5 +{
  6 + // 产品管理【颜色】页面渲染
  7 + route: '/erpproduct/color/index',
  8 + method: 'GET',
  9 + view: 'pages/product/color',
  10 + //url:'/productColor/queryProductColors'
  11 + src: '/product/color',
  12 + isJsonRaw:true
  13 +},{
  14 + // 获取颜色列表
  15 + route: '/erpproduct/product/colorList',
  16 + method: 'POST',
  17 + url: '/productColor/queryProductColors', //接口的url
  18 + isJsonRaw:true
  19 +},{
  20 + // 获取单个颜色
  21 + route: '/erpproduct/product/getColor',
  22 + method: 'POST',
  23 + url:"/productColor/queryProductColor",
  24 + isJsonRaw:true,
  25 + params:[
  26 + {name: 'id', type: 'Number'}
  27 + ]
  28 +},{
  29 + // 新增颜色页面渲染
  30 + route: '/erpproduct/product/addColor',
  31 + method: 'GET',
  32 + view:'pages/product/addColor',
  33 + src:'/product/color-add',
  34 + data:{
  35 + url:'/erpproduct/product/saveColor'
  36 + }
  37 +},{
  38 + // 新增颜色
  39 + route: '/erpproduct/product/saveColor',
  40 + method: 'POST',
  41 + url:"/productColor/addProductColor",
  42 + isJsonRaw:true,
  43 + params:[
  44 + {name: 'colorName', type: 'String'},
  45 + {name: 'colorCode', type: 'String'},
  46 + {name: 'colorValue', type: 'String'}
  47 + ]
  48 +},{
  49 + // 打开修改颜色页面
  50 + route: '/erpproduct/product/addColor/:param',
  51 + method: 'GET',
  52 + url:"/productColor/queryProductColor",
  53 + view:'pages/product/addColor',
  54 + isJsonRaw:true,
  55 + params:[
  56 + {name:'param',type:'Number'}
  57 + ],
  58 + data:{
  59 + url:'/erpproduct/product/updatColor'
  60 + },
  61 + src:'/product/color-add'
  62 +},{
  63 + // 修改颜色
  64 + route: '/erpproduct/product/updatColor',
  65 + method: 'POST',
  66 + url:"/productColor/updateProductColor",
  67 + isJsonRaw:true,
  68 + params:[
  69 + {name: 'id', type: 'Number'},
  70 + {name: 'colorName', type: 'String'},
  71 + {name: 'colorCode', type: 'String'},
  72 + {name: 'colorValue', type: 'String'}
  73 + ]
  74 +}
76 ] 75 ]
77 76
@@ -2,57 +2,56 @@ exports.domain = require('../config/common.js').domain; @@ -2,57 +2,56 @@ exports.domain = require('../config/common.js').domain;
2 2
3 3
4 exports.res = [ 4 exports.res = [
5 -{route: '/-p-l-a-t-f-o-r-m/6',method:"GET"}//此模块上线将此删除  
6 -// {  
7 -// // 产品管理【尺寸】页面渲染  
8 -// route: '/erpproduct/size/index',  
9 -// method: 'GET',  
10 -// view: 'pages/product/siezChart',  
11 -// //url:'/prohejiaduct/querySizeList',  
12 -// isJsonRaw:true,  
13 -// //params: [  
14 -// // {name: 'page', type: 'Number',def:1},  
15 -// // {name: 'size', type: 'Number',def:10}  
16 -// //],  
17 -// src: '/product/sizeChart'  
18 -// },{  
19 -// // 产品管理【尺寸】页面分页渲染  
20 -// route: '/erpproduct/sizeattribute/sizeList',  
21 -// method: 'POST',  
22 -// url:'/product/querySizeList',  
23 -// isJsonRaw:true,  
24 -// params: [  
25 -// {name: 'page', type: 'Number'},  
26 -// {name: 'size', type: 'Number',def:10}  
27 -// ],  
28 -// src: '/product/sizeChart'  
29 -// },{  
30 -// // 获取单个尺码  
31 -// route: '/erpproduct/size/getSize',  
32 -// method: 'POST',  
33 -// url:"/product/getSize",  
34 -// isJsonRaw:true,  
35 -// params:[  
36 -// {name: 'id', type: 'Number'}  
37 -// ]  
38 -// },{  
39 -// // 新增尺码  
40 -// route: '/erpproduct/size/addSize',  
41 -// method: 'POST',  
42 -// url:"/product/addSize",  
43 -// isJsonRaw:true,  
44 -// params:[  
45 -// {name: 'sizeName', type: 'String'}  
46 -// ]  
47 -// },{  
48 -// // 修改尺码  
49 -// route: '/erpproduct/size/updateSize',  
50 -// method: 'POST',  
51 -// url:"/product/updateSize",  
52 -// isJsonRaw:true,  
53 -// params:[  
54 -// {name: 'id', type: 'Number'},  
55 -// {name: 'sizeName', type: 'String'}  
56 -// ]  
57 -// } 5 +{
  6 + // 产品管理【尺寸】页面渲染
  7 + route: '/erpproduct/size/index',
  8 + method: 'GET',
  9 + view: 'pages/product/siezChart',
  10 + //url:'/prohejiaduct/querySizeList',
  11 + isJsonRaw:true,
  12 + //params: [
  13 + // {name: 'page', type: 'Number',def:1},
  14 + // {name: 'size', type: 'Number',def:10}
  15 + //],
  16 + src: '/product/sizeChart'
  17 +},{
  18 + // 产品管理【尺寸】页面分页渲染
  19 + route: '/erpproduct/sizeattribute/sizeList',
  20 + method: 'POST',
  21 + url:'/product/querySizeList',
  22 + isJsonRaw:true,
  23 + params: [
  24 + {name: 'page', type: 'Number'},
  25 + {name: 'size', type: 'Number',def:10}
  26 + ],
  27 + src: '/product/sizeChart'
  28 +},{
  29 + // 获取单个尺码
  30 + route: '/erpproduct/size/getSize',
  31 + method: 'POST',
  32 + url:"/product/getSize",
  33 + isJsonRaw:true,
  34 + params:[
  35 + {name: 'id', type: 'Number'}
  36 + ]
  37 +},{
  38 + // 新增尺码
  39 + route: '/erpproduct/size/addSize',
  40 + method: 'POST',
  41 + url:"/product/addSize",
  42 + isJsonRaw:true,
  43 + params:[
  44 + {name: 'sizeName', type: 'String'}
  45 + ]
  46 +},{
  47 + // 修改尺码
  48 + route: '/erpproduct/size/updateSize',
  49 + method: 'POST',
  50 + url:"/product/updateSize",
  51 + isJsonRaw:true,
  52 + params:[
  53 + {name: 'id', type: 'Number'},
  54 + {name: 'sizeName', type: 'String'}
  55 + ]
  56 +}
58 ] 57 ]
@@ -6,74 +6,73 @@ @@ -6,74 +6,73 @@
6 exports.domain = require('../config/common.js').domain; 6 exports.domain = require('../config/common.js').domain;
7 //路由配置 7 //路由配置
8 exports.res = [ 8 exports.res = [
9 - {route: '/-p-l-a-t-f-o-r-m/7',method:"GET"}//此模块上线将此删除  
10 - // {  
11 - // //搜索词页面渲染  
12 - // route: '/operations/terms/index',  
13 - // method: 'GET',  
14 - // view: 'pages/searchWords/index',  
15 - // src: '/searchWords/index',  
16 - // isJsonRaw: true,  
17 - // data: {  
18 - // filter: true  
19 - // }  
20 - // },  
21 - // //搜索词列表  
22 - // {  
23 - // route: '/operation/terms/searchWordsList',  
24 - // method: 'POST',  
25 - // url: '/searchWords/querySearchWords',  
26 - // isJsonRaw: true,  
27 - // params: [  
28 - // {name: 'page', type: 'Number', def: '1'},  
29 - // {name: 'size', type: 'Number', def: '10'},  
30 - // {name: 'type', type: 'Number'},  
31 - // {name: 'channelIds', type: 'String'},  
32 - // {name: 'startTime', type: 'String'},  
33 - // {name: 'endTime', type: 'String'},  
34 - // {name: 'content', type: 'String'},  
35 - // {name: 'status', type: 'Number'},  
36 - // ]  
37 - // }, 9 + {
  10 + //搜索词页面渲染
  11 + route: '/operations/terms/index',
  12 + method: 'GET',
  13 + view: 'pages/searchWords/index',
  14 + src: '/searchWords/index',
  15 + isJsonRaw: true,
  16 + data: {
  17 + filter: true
  18 + }
  19 + },
  20 + //搜索词列表
  21 + {
  22 + route: '/operation/terms/searchWordsList',
  23 + method: 'POST',
  24 + url: '/searchWords/querySearchWords',
  25 + isJsonRaw: true,
  26 + params: [
  27 + {name: 'page', type: 'Number', def: '1'},
  28 + {name: 'size', type: 'Number', def: '10'},
  29 + {name: 'type', type: 'Number'},
  30 + {name: 'channelIds', type: 'String'},
  31 + {name: 'startTime', type: 'String'},
  32 + {name: 'endTime', type: 'String'},
  33 + {name: 'content', type: 'String'},
  34 + {name: 'status', type: 'Number'},
  35 + ]
  36 + },
38 37
39 - // {  
40 - // //添加搜索词  
41 - // route: '/operations/terms/add',  
42 - // method: 'POST',  
43 - // url: '/searchWords/addSearchWords',  
44 - // isJsonRaw: true,  
45 - // params: [  
46 - // {name: 'type', type: 'Number'},  
47 - // {name: 'content', type: 'String'},  
48 - // {name: 'channelIds', type: 'String'},  
49 - // {name: 'url', type: 'String'},  
50 - // {name: 'startTime', type: 'String'},  
51 - // {name: 'endTime', type: 'String'},  
52 - // {name: 'content', type: 'String'},  
53 - // {name: 'goodsNum', type: 'Number'},  
54 - // {name: 'sort', type: 'Number'}  
55 - // ]  
56 - // }, 38 + {
  39 + //添加搜索词
  40 + route: '/operations/terms/add',
  41 + method: 'POST',
  42 + url: '/searchWords/addSearchWords',
  43 + isJsonRaw: true,
  44 + params: [
  45 + {name: 'type', type: 'Number'},
  46 + {name: 'content', type: 'String'},
  47 + {name: 'channelIds', type: 'String'},
  48 + {name: 'url', type: 'String'},
  49 + {name: 'startTime', type: 'String'},
  50 + {name: 'endTime', type: 'String'},
  51 + {name: 'content', type: 'String'},
  52 + {name: 'goodsNum', type: 'Number'},
  53 + {name: 'sort', type: 'Number'}
  54 + ]
  55 + },
57 56
58 - // {  
59 - // //搜索词修改  
60 - // route: '/operations/terms/modify',  
61 - // method: 'POST',  
62 - // url: '/searchWords/updateSearchWords',  
63 - // isJsonRaw: true,  
64 - // params: [  
65 - // {name: 'id', type: 'Number'},  
66 - // {name: 'type', type: 'Number'},  
67 - // {name: 'content', type: 'String'},  
68 - // {name: 'channelIds', type: 'String'},  
69 - // {name: 'url', type: 'String'},  
70 - // {name: 'startTime', type: 'String'},  
71 - // {name: 'endTime', type: 'String'},  
72 - // {name: 'content', type: 'String'},  
73 - // {name: 'goodsNum', type: 'Number'},  
74 - // {name: 'sort', type: 'Number'},  
75 - // {name: 'status', type: 'Number'}, 57 + {
  58 + //搜索词修改
  59 + route: '/operations/terms/modify',
  60 + method: 'POST',
  61 + url: '/searchWords/updateSearchWords',
  62 + isJsonRaw: true,
  63 + params: [
  64 + {name: 'id', type: 'Number'},
  65 + {name: 'type', type: 'Number'},
  66 + {name: 'content', type: 'String'},
  67 + {name: 'channelIds', type: 'String'},
  68 + {name: 'url', type: 'String'},
  69 + {name: 'startTime', type: 'String'},
  70 + {name: 'endTime', type: 'String'},
  71 + {name: 'content', type: 'String'},
  72 + {name: 'goodsNum', type: 'Number'},
  73 + {name: 'sort', type: 'Number'},
  74 + {name: 'status', type: 'Number'},
76 75
77 - // ]  
78 - // } 76 + ]
  77 + }
79 ]; 78 ];
@@ -5,39 +5,38 @@ @@ -5,39 +5,38 @@
5 exports.domain = require('../config/common.js').domain; 5 exports.domain = require('../config/common.js').domain;
6 //路由配置 6 //路由配置
7 exports.res = [ 7 exports.res = [
8 -{route: '/-p-l-a-t-f-o-r-m/8',method:"GET"}//此模块上线将此删除  
9 - // {  
10 - // //产品管理【品类列表】页面渲染  
11 - // route: '/erpproduct/sizeattribute/index',  
12 - // method: 'GET',  
13 - // view: 'pages/product/size-property',  
14 - // src: '/product/size-property',  
15 - // isJsonRaw:true  
16 - // }, {  
17 - // route: '/erpproduct/sizeattribute/propertyList',  
18 - // method: 'POST',  
19 - // url: '/product/querySizeAttributeList', //接口的url  
20 - // isJsonRaw:true,  
21 - // params:[  
22 - // {name: 'page', type: 'Number', def: '1'}, //页码  
23 - // {name: 'size', type: 'Number', def : '10'} //每页条数  
24 - // ]  
25 - // }, {  
26 - // route: '/erpproduct/sizeattribute/propertyAdd', // 添加尺码属性  
27 - // method: 'POST',  
28 - // url: '/product/addSizeAttribute', //接口的url  
29 - // isJsonRaw:true,  
30 - // params:[  
31 - // {name: 'attributeName', type: 'String'} //名称  
32 - // ]  
33 - // }, {  
34 - // route: '/erpproduct/sizeattribute/propertyModify', // 修改尺码属性  
35 - // method: 'POST',  
36 - // url: '/product/updateSizeAttribute', //接口的url  
37 - // isJsonRaw:true,  
38 - // params:[  
39 - // {name: 'id', type: 'Number'}, //id  
40 - // {name: 'attributeName', type: 'String'} //名称  
41 - // ]  
42 - // } 8 + {
  9 + //产品管理【品类列表】页面渲染
  10 + route: '/erpproduct/sizeattribute/index',
  11 + method: 'GET',
  12 + view: 'pages/product/size-property',
  13 + src: '/product/size-property',
  14 + isJsonRaw:true
  15 + }, {
  16 + route: '/erpproduct/sizeattribute/propertyList',
  17 + method: 'POST',
  18 + url: '/product/querySizeAttributeList', //接口的url
  19 + isJsonRaw:true,
  20 + params:[
  21 + {name: 'page', type: 'Number', def: '1'}, //页码
  22 + {name: 'size', type: 'Number', def : '10'} //每页条数
  23 + ]
  24 + }, {
  25 + route: '/erpproduct/sizeattribute/propertyAdd', // 添加尺码属性
  26 + method: 'POST',
  27 + url: '/product/addSizeAttribute', //接口的url
  28 + isJsonRaw:true,
  29 + params:[
  30 + {name: 'attributeName', type: 'String'} //名称
  31 + ]
  32 + }, {
  33 + route: '/erpproduct/sizeattribute/propertyModify', // 修改尺码属性
  34 + method: 'POST',
  35 + url: '/product/updateSizeAttribute', //接口的url
  36 + isJsonRaw:true,
  37 + params:[
  38 + {name: 'id', type: 'Number'}, //id
  39 + {name: 'attributeName', type: 'String'} //名称
  40 + ]
  41 + }
43 ]; 42 ];
@@ -2,109 +2,108 @@ exports.domain =require('../config/common.js').domain; @@ -2,109 +2,108 @@ exports.domain =require('../config/common.js').domain;
2 2
3 //路由配置 3 //路由配置
4 exports.res = [ 4 exports.res = [
5 -{route: '/-p-l-a-t-f-o-r-m/9',method:"GET"}//此模块上线将此删除  
6 -// {  
7 -// route: '/erpproduct/sortsize/index',  
8 -// method: 'GET',  
9 -// view: 'pages/sortsize/index',  
10 -// url: '/product/queryAllProductSortList',  
11 -// isJsonRaw:true,  
12 -// data: {  
13 -// addTitle:"添加尺码",  
14 -// model:'{"name":"尺码"}',  
15 -// gridurl:"/erpproduct/sortsize/ajax/index"  
16 -// },  
17 -// src:'/sortsize/index'  
18 -// },{  
19 -// route: '/erpproduct/sortsize/ajax/index',  
20 -// method: 'POST',  
21 -// url: '/product/querySizeListBySortId',  
22 -// isJsonRaw:true,  
23 -// params:[  
24 -// {name:"sortId",type:"number"}  
25 -// ]  
26 -// },  
27 -// {//添加尺码接口【验证通过】  
28 -// route: '/erpproduct/sortsize/ajax/add',  
29 -// method: 'POST',  
30 -// url: '/product/addSortSize',  
31 -// isJsonRaw:true,  
32 -// params:[  
33 -// {name:"sortId",type:"number"},  
34 -// {name:"sizeId",type:"number"},  
35 -// {name:"orderBy",type:"number"}  
36 -// ]  
37 -// },  
38 -// {//尺码模糊查询【验证通过】  
39 -// route:'/erpproduct/sortsize/ajax/automatic',  
40 -// method:'POST',  
41 -// url: '/product/querySizeByNameForSelect',  
42 -// isJsonRaw: true,  
43 -// params:[  
44 -// {name:"idName",type:"String"}  
45 -// ]  
46 -// },  
47 -// {//删除单个品类尺码接口【待验证】  
48 -// route: '/erpproduct/sortsize/ajax/delete',  
49 -// method: 'POST',  
50 -// url: '/product/deleteSortSize',  
51 -// isJsonRaw:true,  
52 -// params:[  
53 -// {name:"sortId",type:"number"},  
54 -// {name:"sizeId",type:"number"}  
55 -// ]  
56 -// },  
57 -// //************************品类尺码属性管理*****************************  
58 -// {  
59 -// route: '/erpproduct/sortattribute/index',  
60 -// method: 'GET',  
61 -// view: 'pages/sortsize/index',  
62 -// url: '/product/queryAllProductSortList',  
63 -// isJsonRaw:true,  
64 -// data: {  
65 -// addTitle:"添加尺码属性",  
66 -// model:'{"name":"尺码属性"}',  
67 -// gridurl:"/erpproduct/sortattribute/ajax/index"  
68 -// },  
69 -// src:'/sortsize/attri'  
70 -// },{  
71 -// //获取品类关联尺码属性列表【验证通过】  
72 -// route: '/erpproduct/sortattribute/ajax/index',  
73 -// method: 'POST',  
74 -// url: '/sortAttribute/queryList',  
75 -// isJsonRaw:true,  
76 -// params:[  
77 -// {name:"page",type:"number"},  
78 -// {name:"size",type:"number"},  
79 -// {name:"sortId",type:"number"}  
80 -// ]  
81 -// },{//删除品类关联尺码属性接口【待验证】  
82 -// route: '/erpproduct/sortattribute/ajax/delete',  
83 -// method: 'POST',  
84 -// url: '/sortAttribute/delete',  
85 -// isJsonRaw:true,  
86 -// params:[  
87 -// {name:"sortId",type:"number"},  
88 -// {name:"attributeId",type:"number"}  
89 -// ]  
90 -// },  
91 -// {//添加品类关联尺码属性接口【待验证】  
92 -// route: '/erpproduct/sortattribute/ajax/add',  
93 -// method: 'POST',  
94 -// url: '/sortAttribute/add',  
95 -// isJsonRaw:true,  
96 -// params:[  
97 -// {name:"sortId",type:"number"},  
98 -// {name:"attributeId",type:"number"},  
99 -// {name:"orderBy",type:"number"}  
100 -// ]  
101 -// },{//添加品类关联尺码属性接口【验证通过】  
102 -// route: '/erpproduct/sortattribute/ajax/automatic',  
103 -// method: 'POST',  
104 -// url: '/product/querySizeAttributesByName',  
105 -// isJsonRaw:true,  
106 -// params:[  
107 -// {name:"idName",type:"String"}  
108 -// ]  
109 -// } 5 + {
  6 + route: '/erpproduct/sortsize/index',
  7 + method: 'GET',
  8 + view: 'pages/sortsize/index',
  9 + url: '/product/queryAllProductSortList',
  10 + isJsonRaw:true,
  11 + data: {
  12 + addTitle:"添加尺码",
  13 + model:'{"name":"尺码"}',
  14 + gridurl:"/erpproduct/sortsize/ajax/index"
  15 + },
  16 + src:'/sortsize/index'
  17 + },{
  18 + route: '/erpproduct/sortsize/ajax/index',
  19 + method: 'POST',
  20 + url: '/product/querySizeListBySortId',
  21 + isJsonRaw:true,
  22 + params:[
  23 + {name:"sortId",type:"number"}
  24 + ]
  25 + },
  26 + {//添加尺码接口【验证通过】
  27 + route: '/erpproduct/sortsize/ajax/add',
  28 + method: 'POST',
  29 + url: '/product/addSortSize',
  30 + isJsonRaw:true,
  31 + params:[
  32 + {name:"sortId",type:"number"},
  33 + {name:"sizeId",type:"number"},
  34 + {name:"orderBy",type:"number"}
  35 + ]
  36 + },
  37 + {//尺码模糊查询【验证通过】
  38 + route:'/erpproduct/sortsize/ajax/automatic',
  39 + method:'POST',
  40 + url: '/product/querySizeByNameForSelect',
  41 + isJsonRaw: true,
  42 + params:[
  43 + {name:"idName",type:"String"}
  44 + ]
  45 + },
  46 + {//删除单个品类尺码接口【待验证】
  47 + route: '/erpproduct/sortsize/ajax/delete',
  48 + method: 'POST',
  49 + url: '/product/deleteSortSize',
  50 + isJsonRaw:true,
  51 + params:[
  52 + {name:"sortId",type:"number"},
  53 + {name:"sizeId",type:"number"}
  54 + ]
  55 + },
  56 + //************************品类尺码属性管理*****************************
  57 + {
  58 + route: '/erpproduct/sortattribute/index',
  59 + method: 'GET',
  60 + view: 'pages/sortsize/index',
  61 + url: '/product/queryAllProductSortList',
  62 + isJsonRaw:true,
  63 + data: {
  64 + addTitle:"添加尺码属性",
  65 + model:'{"name":"尺码属性"}',
  66 + gridurl:"/erpproduct/sortattribute/ajax/index"
  67 + },
  68 + src:'/sortsize/attri'
  69 + },{
  70 + //获取品类关联尺码属性列表【验证通过】
  71 + route: '/erpproduct/sortattribute/ajax/index',
  72 + method: 'POST',
  73 + url: '/sortAttribute/queryList',
  74 + isJsonRaw:true,
  75 + params:[
  76 + {name:"page",type:"number"},
  77 + {name:"size",type:"number"},
  78 + {name:"sortId",type:"number"}
  79 + ]
  80 + },{//删除品类关联尺码属性接口【待验证】
  81 + route: '/erpproduct/sortattribute/ajax/delete',
  82 + method: 'POST',
  83 + url: '/sortAttribute/delete',
  84 + isJsonRaw:true,
  85 + params:[
  86 + {name:"sortId",type:"number"},
  87 + {name:"attributeId",type:"number"}
  88 + ]
  89 + },
  90 + {//添加品类关联尺码属性接口【待验证】
  91 + route: '/erpproduct/sortattribute/ajax/add',
  92 + method: 'POST',
  93 + url: '/sortAttribute/add',
  94 + isJsonRaw:true,
  95 + params:[
  96 + {name:"sortId",type:"number"},
  97 + {name:"attributeId",type:"number"},
  98 + {name:"orderBy",type:"number"}
  99 + ]
  100 + },{//添加品类关联尺码属性接口【验证通过】
  101 + route: '/erpproduct/sortattribute/ajax/automatic',
  102 + method: 'POST',
  103 + url: '/product/querySizeAttributesByName',
  104 + isJsonRaw:true,
  105 + params:[
  106 + {name:"idName",type:"String"}
  107 + ]
  108 + }
110 ] 109 ]