单据路由地址修改

master
toesbieya 6 years ago
parent 325689f80e
commit 0b517a764f
  1. 6
      vue/src/router/module/purchase.js
  2. 6
      vue/src/router/module/sell.js
  3. 4
      vue/src/view/index/component/PanelGroup/index.vue

@ -1,7 +1,7 @@
/*路由表:采购管理*/ /*路由表:采购管理*/
const router = { const router = {
path: '/doc/purchase', path: '/purchase',
component: 'Layout', component: 'Layout',
meta: {title: '采购管理', icon: 'svg-shopping', alwaysShow: true}, meta: {title: '采购管理', icon: 'svg-shopping', alwaysShow: true},
children: [ children: [
@ -29,7 +29,7 @@ const router = {
return `查看采购订单${id}` return `查看采购订单${id}`
} }
}, },
activeMenu: '/doc/purchase/order', activeMenu: '/purchase/order',
usePathKey: true, usePathKey: true,
commonModule: '@/view/purchase/order/detail' commonModule: '@/view/purchase/order/detail'
} }
@ -58,7 +58,7 @@ const router = {
return `查看采购入库单${id}` return `查看采购入库单${id}`
} }
}, },
activeMenu: '/doc/purchase/inbound', activeMenu: '/purchase/inbound',
usePathKey: true, usePathKey: true,
commonModule: '@/view/purchase/inbound/detail' commonModule: '@/view/purchase/inbound/detail'
} }

@ -1,7 +1,7 @@
/*路由表:销售管理*/ /*路由表:销售管理*/
const router = { const router = {
path: '/doc/sell', path: '/sell',
component: 'Layout', component: 'Layout',
meta: {title: '销售管理', icon: 'svg-sell', alwaysShow: true}, meta: {title: '销售管理', icon: 'svg-sell', alwaysShow: true},
children: [ children: [
@ -29,7 +29,7 @@ const router = {
return `查看销售订单${id}` return `查看销售订单${id}`
} }
}, },
activeMenu: '/doc/sell/order', activeMenu: '/sell/order',
usePathKey: true, usePathKey: true,
commonModule: '@/view/sell/order/detail' commonModule: '@/view/sell/order/detail'
} }
@ -58,7 +58,7 @@ const router = {
return `查看销售出库单${id}` return `查看销售出库单${id}`
} }
}, },
activeMenu: '/doc/sell/outbound', activeMenu: '/sell/outbound',
usePathKey: true, usePathKey: true,
commonModule: '@/view/sell/outbound/detail' commonModule: '@/view/sell/outbound/detail'
} }

@ -32,7 +32,7 @@ export default {
}, },
{ {
id: 'purchase', id: 'purchase',
path: '/doc/purchase/order', path: '/purchase/order',
icon: 'svg-shopping', icon: 'svg-shopping',
color: variables.primary, color: variables.primary,
value: 0, value: 0,
@ -40,7 +40,7 @@ export default {
}, },
{ {
id: 'sell', id: 'sell',
path: '/doc/sell/order', path: '/sell/order',
icon: 'svg-sell', icon: 'svg-sell',
color: variables.warning, color: variables.warning,
value: 0, value: 0,

Loading…
Cancel
Save