import Layout from '@/layout/index'; const contractManagementRouter = { path: '/contractManagement', component: Layout, redirect: '/contractManagement', name: 'contractManagement', alwaysShow: true, // will always show the root menu meta: { title: 'contractManagement', module: 'contractManagement', icon: '-hetongguanli' }, children: [ // 现货采购合同 { path: 'buyContract', component: () => import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/purchaseContract'), name: 'buyContract', meta: { title: 'purchaseContract', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract', permissicon: [], keepAlive: true } }, //现货采购合同查看 { path: 'purchaseContractExamine', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/purchaseContractExamine'), name: 'purchaseContractExamine', meta: { title: 'purchaseContractExamine', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract.buyContractInfo.view', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //现货采购合同编辑 { path: 'purchaseContractEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/purchaseContractEdit'), name: 'purchaseContractEdit', meta: { title: 'purchaseContractEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract.buyContractInfo.edit', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //现货采购合同添加 { path: 'purchaseContractAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/purchaseContractAdd'), name: 'purchaseContractAdd', meta: { title: 'purchaseContractAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract.buyContractInfo.add', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, // 期货采购合同 { path: 'futuresPurchaseContract', component: () => import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/futuresPurchaseContract'), name: 'futuresPurchaseContract', meta: { title: 'futuresPurchaseContract', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract', permissicon: [], keepAlive: true } }, //期货采购合同查看 { path: 'futuresPurchaseContractExamine', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractExamine'), name: 'futuresPurchaseContractExamine', meta: { title: 'futuresPurchaseContractExamine', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract.buyContractInfo.view', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //期货采购合同编辑 { path: 'futuresPurchaseContractEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractEdit'), name: 'futuresPurchaseContractEdit', meta: { title: 'futuresPurchaseContractEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract.buyContractInfo.edit', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //期货采购合同添加 { path: 'futuresPurchaseContractAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractAdd'), name: 'futuresPurchaseContractAdd', meta: { title: 'futuresPurchaseContractAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.buyContract.buyContractInfo.add', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //现货销售合同 { path: 'salesContract', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContract'), name: 'salesContract', meta: { title: 'salesContract', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' } }, //现货销售合同查看 { path: 'salesContractExamine', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractExamine'), name: 'salesContractExamine', meta: { title: 'salesContractExamine', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract.salesContractInfo.view', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //现货销售合同编辑 { path: 'salesContractEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractEdit'), name: 'salesContractEdit', meta: { title: 'salesContractEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract.salesContractInfo.edit', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //现货销售合同添加 { path: 'salesContractAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractAdd'), name: 'salesContractAdd', meta: { title: 'salesContractAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract.salesContractInfo.add', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //期货销售合同 { path: 'futuresSalesContract', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContract'), name: 'futuresSalesContract', meta: { title: 'futuresSalesContract', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' } }, //期货销售合同查看 { path: 'futuresSalesContractExamine', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContractExamine'), name: 'futuresSalesContractExamine', meta: { title: 'futuresSalesContractExamine', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract.salesContractInfo.view', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //期货销售合同编辑 { path: 'futuresSalesContractEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContractEdit'), name: 'futuresSalesContractEdit', meta: { title: 'futuresSalesContractEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract.salesContractInfo.edit', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //期货销售合同添加 { path: 'futuresSalesContractAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresSalesContractAdd'), name: 'futuresSalesContractAdd', meta: { title: 'futuresSalesContractAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract.salesContractInfo.add', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //点价确认单 { path: 'priceConfirmationSheet', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/priceConfirmationSheet'), name: 'priceConfirmationSheet', meta: { title: 'priceConfirmationSheet', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //创建点价确认单 { path: 'priceConfirmationSheetAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/priceConfirmationSheetAdd'), name: 'priceConfirmationSheetAdd', meta: { title: 'priceConfirmationSheetAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //编辑点价确认单 { path: 'priceConfirmationSheetEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/priceConfirmationSheetEdit'), name: 'priceConfirmationSheetEdit', meta: { title: 'priceConfirmationSheetEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.salesContract', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, // 代收合同 { path: 'collectionContract', component: () => import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/collectionContract'), name: 'collectionContract', meta: { title: 'collectionContract', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract', permissicon: [], keepAlive: true } }, //代收合同添加 { path: 'collectionContractAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractAdd'), name: 'collectionContractAdd', meta: { title: 'collectionContractAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.add', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //代收合同编辑 { path: 'collectionContractEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractEdit'), name: 'collectionContractEdit', meta: { title: 'collectionContractEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.edit', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //代收合同查看 { path: 'collectionContractExamine', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractExamine'), name: 'collectionContractExamine', meta: { title: 'collectionContractExamine', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.view', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //代收合同记录 { path: 'collectionContractRecord', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractRecord'), name: 'collectionContractRecord', meta: { title: 'collectionContractRecord', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.list', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true },// 代收合同 { path: 'storageContract', component: () => import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/storageContract'), name: 'storageContract', meta: { title: 'storageContract', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract', permissicon: [], keepAlive: true } }, //代收合同添加 { path: 'storageContractAdd', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractAdd'), name: 'storageContractAdd', meta: { title: 'storageContractAdd', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.add', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //代收合同编辑 { path: 'storageContractEdit', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractEdit'), name: 'storageContractEdit', meta: { title: 'storageContractEdit', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.edit', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //代收合同查看 { path: 'storageContractExamine', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractExamine'), name: 'storageContractExamine', meta: { title: 'storageContractExamine', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.view', permissicon: [], keepAlive: true // module: 'procurement.sparepart.applDetail' }, hidden: true }, //代收合同记录 { path: 'storageContractRecord', component: () => import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractRecord'), name: 'storageContractRecord', meta: { title: 'storageContractRecord', shortcutEntrance: 'contractManagement', module: 'contractManagement.dsContract.dsContractInfo.list', permissicon: [], keepAlive: false // module: 'procurement.sparepart.applDetail' }, hidden: true }, ], }; export default contractManagementRouter;