You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

231 lines
9.9 KiB

import Layout from '@/layout'
const vwMenudataRouter = {
path: '/capt-vw',
component: Layout,
redirect: 'ux/basedata/Invoice/index',
name: 'HQData',
meta: {
title: '大众工厂',
icon: 'vw',
roles: ['SettleAccount.Invoices', 'SettleAccount.SettleAccounts', 'SettleAccount.UnSettleAccount', 'SettleAccount.VWKanBan', 'SettleAccount.SparePart', 'SettleAccount.ScrapClaims', 'SettleAccount.Reports'],
keepAlive: false,
},
children: [
{
path: '/import-data',
name: 'import-data',//命名路由-二级
component: () => import('@/views/ux/billManage/index'),
redirect: 'ux/basedata/Invoice/index',
meta: {
title: '数据导入',
roles: ['SettleAccount.Invoices', 'SettleAccount.SettleAccounts', 'SettleAccount.UnSettleAccount', 'SettleAccount.VWKanBan', 'SettleAccount.SparePart', 'SettleAccount.ScrapClaims'],
icon: '看板'
},
children: [
{
path: 'invoice',
component: () => import('@/views/ux/basedata/Invoice/index'),
name: 'Invoices',
meta: {
title: '发票汇总',
roles: ['SettleAccount.Invoices'],
icon: '对比'
}
},
{
path: 'settle-account-finish',
component: () => import('@/views/ux/vw/dataInput/r3'),
name: 'SettleAccount',
meta: {
title: 'FIS结算明细',
roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色)
icon: '库存'
}
},
{
path: 'unsettle-account',
4 years ago
component: () => import('@/views/ux/vw/dataInput/r3-open'),
name: 'SettleAccount',
meta: {
title: 'FIS未结明细',
roles: ['SettleAccount.UnSettleAccount'],//控制页面角色(可以设置多个角色)
icon: '结算'
}
},
{
path: 'kan-ban',
component: () => import('@/views/ux/vw/dataInput/vwKanBan/index'),
name: 'VWKanBan',//命名路由
meta: {
title: '大众看板结算导入',
roles: ['SettleAccount.VWKanBan'],//控制页面角色(可以设置多个角色)
icon: '看板'
}
},
{
path: 'spare-part',
component: () => import('@/views/ux/vw/dataInput/SparePart'),
name: 'SparePart',//命名路由
meta: {
title: '大众备件结算导入',
roles: ['SettleAccount.SparePart'],//控制页面角色(可以设置多个角色)
icon: '工厂'
}
},
{
path: 'spare-part-90',
component: () => import('@/views/ux/vw/dataInput/SparePart90'),
name: 'SparePart90',//命名路由
meta: {
title: '大众备件结算调整',
roles: ['SettleAccount.SparePart'],//控制页面角色(可以设置多个角色)
icon: '工厂'
}
},
{
path: 'scrap-claims',
component: () => import('@/views/ux/vw/dataInput/ScrapClaims'),
name: 'ScrapClaims',
meta: {
title: 'CP7报废和索赔导入',
roles: ['SettleAccount.ScrapClaims'],
icon: '文件'
}
},
]
},
{
path: '/export-data',
component: () => import('@/views/ux/billManage/index'),
name: 'export-data',//命名路由
redirect: 'export-data',
meta: {
title: '数据输出',
roles: ['SettleAccount.Reports'],
icon: '结算'
},
children: [
{
path: '/invoice-settled/diff',
component: () => import('@/views/ux/billManage/InvoiceSettledDiff'),
name: 'InvoiceSettledDiff',//命名路由
meta: {
title: '发票与结算核对汇总',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '结算'
}
},
{
path: '/invoice-settled/detaildiff',
component: () => import('@/views/ux/billManage/InvoiceSettledDetailDiff'),
name: 'InvoiceSettledDetailDiff',//命名路由
meta: {
title: '准时化结算核对明细',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '结算对比'
}
},
{
path: '/unInvoice-settled/detailDiff',
component: () => import('@/views/ux/billManage/UnInvoiceSettledDetailDiff'),
name: 'UnInvoiceSettledDetailDiff',//命名路由
meta: {
title: '准时化量差价差输出',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '售后'
}
},
{
path: '/unsettle-diff/export',
component: () => import('@/views/ux/billManage/UnSettleDiffExport'),
name: 'UnSettleDiffExport',//命名路由
meta: {
title: '准时化未结核对',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '器具'
}
},
{
path: '/unsettled-detail',//大众准时化未结明细表(包含漏结,漏结要有标识)
component: () => import('@/views/ux/billManage/IssuedUnsettled/index'),
name: 'UnsettledDetail',//命名路由
meta: {
4 years ago
title: '准时化未结明细',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '报表'
}
4 years ago
},
{
path: '/kbwithcode',
component: () => import('@/views/ux/billManage/kanBanWithCode'),
name: 'KanBanWithCode',//命名路由
meta: {
title: '大众看板结算输出',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '看板'
}
},
{
path: '/kbunsettle',
component: () => import('@/views/ux/billManage/KanbanUnSettled'),
name: 'KanbanUnSettled',//命名路由
meta: {
title: '大众看板未结输出',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '看板'
}
},
// {
// path: '/kbwithoutcode',
// component: () => import('@/views/ux/billManage/kanBanWithOutCode'),
// name: 'KanBanWithOutCode',//命名路由
// meta: {
// title: '无条码看板结算输出',
// roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
// icon: '看板'
// }
// },
{
path: '/vwsparepart',
component: () => import('@/views/ux/billManage/sparePart'),
name: 'SparePartReport',//命名路由
meta: {
title: '大众备件结算输出',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '供货'
}
},
{
path: '/vwsparepart90',
component: () => import('@/views/ux/billManage/sparePart90'),
name: 'SparePart90Report',//命名路由
meta: {
title: '备件数据调整输出',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '工厂'
}
},
{
path: '/WmsOutputSum',
component: () => import('@/views/ux/billManage/WmsOutputSumExport'),
name: 'WmsOutputSumExport',//命名路由
meta: {
title: 'WMS统计汇总报表',
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '零件'
}
}
]
}
]
}
export default vwMenudataRouter