/*
 * 企业信息管理-路由表
 * */

import layout from '@/components/layout/layout'
/* 申报材料变更 */
export const editorDeclarationChange = [
  // 申报材料变更
  {
    path: 'editorDeclarationChange',
    name: 'EditorDeclarationChange',
    meta: {
      path: 'editorDeclarationChange',
      type: 'declarationChange'// declarationFirst 编辑申报材料查看 declarationChange 申报材料变更时 audit 初审审核时
    },
    component: () => import('@/views/supplier/editorDeclaration/editorDeclarationContent/editorDeclarationChangeContent')
  }
]
/* 供应商-企业信息管理-开票信息 */
export const enterpriseManagement = [
  // 供应商-企业信息管理-开票信息列表
  {
    path: 'enterpriseManagement-list',
    meta: { path: 'enterpriseManagement-list' },
    component: () => import('@/views/supplier/InvoiceInformation/invoiceInFormation-list')
  },
  // 录入开票信息
  {
    path: 'invoiceInFormation',
    meta: { path: 'enterpriseManagement-list' },
    component: () => import('@/views/supplier/InvoiceInformation/invoiceInFormation-add')
  },
  // 专票查看
  {
    path: 'specialTicket',
    meta: { path: 'enterpriseManagement-list' },
    component: () => import('@/views/supplier/InvoiceInformation/specialTicket-detail')
  },
  // 普票查看
  {
    path: 'generalVote',
    meta: { path: 'enterpriseManagement-list' },
    component: () => import('@/views/supplier/InvoiceInformation/generalVote-detail')
  }
]
export default [{
  path: '/supperManagement',
  component: layout,
  children: [
    ...editorDeclarationChange, // 申报材料变更
    ...enterpriseManagement// 开票信息
  ]
}]
