单据路由地址修改

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

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

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

Loading…
Cancel
Save