|
@@ -55,7 +55,7 @@ export const constantRouterMap = [
|
|
|
name: 'updateProduct',
|
|
|
component: () => import('@/views/pms/product/update'),
|
|
|
meta: {title: '修改商品', icon: 'product-add'},
|
|
|
- hidden:true
|
|
|
+ hidden: true
|
|
|
},
|
|
|
{
|
|
|
path: 'productRecycle',
|
|
@@ -140,7 +140,34 @@ export const constantRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
-
|
|
|
+ {
|
|
|
+ path: '/oms',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/oms/order',
|
|
|
+ name: 'oms',
|
|
|
+ meta: {title: '订单', icon: 'order'},
|
|
|
+ children: [{
|
|
|
+ path: 'order',
|
|
|
+ name: 'order',
|
|
|
+ component: () => import('@/views/oms/order/index'),
|
|
|
+ meta: {title: '订单列表', icon: 'product-list'}
|
|
|
+ }, {
|
|
|
+ path: 'orderSetting',
|
|
|
+ name: 'orderSetting',
|
|
|
+ component: () => import('@/views/oms/order/setting'),
|
|
|
+ meta: {title: '订单设置', icon: 'order-setting'}
|
|
|
+ }, {
|
|
|
+ path: 'returnApply',
|
|
|
+ name: 'returnApply',
|
|
|
+ component: () => import('@/views/oms/apply/index'),
|
|
|
+ meta: {title: '退货申请处理', icon: 'order-return'}
|
|
|
+ }, {
|
|
|
+ path: 'returnReason',
|
|
|
+ name: 'returnReason',
|
|
|
+ component: () => import('@/views/oms/apply/reason'),
|
|
|
+ meta: {title: '退货原因设置', icon: 'order-return-reason'}
|
|
|
+ }]
|
|
|
+ },
|
|
|
{path: '*', redirect: '/404', hidden: true}
|
|
|
]
|
|
|
|