123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604 |
- 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,
- _title:'采购合同'
- }
- },
- // 现货采购合同费用
- {
- path: 'buyContractcost',
- component: () =>
- import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/purchaseContractCost'),
- name: 'buyContractcost',
- meta: {
- title: 'purchaseContractcost',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.buyContract',
- permissicon: [],
- keepAlive: true,
- _title:'采购合同费用'
- },
- hidden: 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,
- _title:'采购合同查看'
- // 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,
- _title:'采购合同编辑'
- // 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,
- _title:'采购合同添加'
- // 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,
- // _title:'期货采购合同'
- // }
- // },
- //期货采购合同查看
- // {
- // path: 'futuresPurchaseContractExamine',
- // component: () =>
- // import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/futuresPurchaseContractExamine'),
- // name: 'futuresPurchaseContractExamine',
- // meta: {
- // title: 'futuresPurchaseContractExamine',
- // shortcutEntrance: 'contractManagement',
- // module: 'contractManagement.buyContract.buyContractInfo.view',
- // permissicon: [],
- // keepAlive: true,
- // _title:'期货采购合同查看'
- // // 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,
- // _title:'期货采购合同编辑'
- // // 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,
- // _title:'期货采购合同添加'
- // // module: 'procurement.sparepart.applDetail'
- // },
- // hidden: true
- // },
- //现货销售合同费用
- {
- path: 'salesContractcost',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/salesContractCost'),
- name: 'salesContractcost',
- meta: {
- title: 'salesContractcost',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.salesContract',
- permissicon: [],
- keepAlive: true,
- _title:'销售合同费用'
- // 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,
- _title:'销售合同'
- // 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,
- _title:'销售合同查看'
- // 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,
- _title:'销售合同编辑'
- // 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,
- _title:'销售合同添加'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- // 收购合同
- {
- path: 'acquisitionContract',
- component: () =>
- import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/acquisitionContract'),
- name: 'acquisitionContract',
- meta: {
- title: 'acquisitionContract',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.buyContract',
- permissicon: [],
- keepAlive: true,
- _title:'收购合同'
- }
- },
- //收购合同查看
- {
- path: 'acquisitionContractExamine',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/acquisitionContractExamine'),
- name: 'acquisitionContractExamine',
- meta: {
- title: 'acquisitionContractExamine',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.buyContract.buyContractInfo.view',
- permissicon: [],
- keepAlive: true,
- _title:'收购合同查看'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- //收购合同编辑
- {
- path: 'acquisitionContractEdit',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/acquisitionContractEdit'),
- name: 'acquisitionContractEdit',
- meta: {
- title: 'acquisitionContractEdit',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.buyContract.buyContractInfo.edit',
- permissicon: [],
- keepAlive: true,
- _title:'收购合同编辑'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- //收购合同添加
- {
- path: 'acquisitionContractAdd',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/acquisitionContractAdd'),
- name: 'acquisitionContractAdd',
- meta: {
- title: 'acquisitionContractAdd',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.buyContract.buyContractInfo.add',
- permissicon: [],
- keepAlive: true,
- _title:'收购合同添加'
- // 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,
- // _title:'期货销售合同'
- // // 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,
- // _title:'期货销售合同查看'
- // // 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,
- // _title:'期货销售合同编辑'
- // // 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,
- // _title:'期货销售合同添加'
- // // 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,
- _title:'点价确认单'
- // 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,
- _title:'创建点价确认单'
- // 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,
- _title:'编辑点价确认单'
- // 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,
- _title:'代收合同'
- }
- },
- //代收合同添加
- {
- path: 'collectionContractAdd',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/collectionContractAdd'),
- name: 'collectionContractAdd',
- meta: {
- title: 'collectionContractAdd',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.dsContract.dsContractInfo.add',
- permissicon: [],
- keepAlive: true,
- _title:'代收合同添加'
- // 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,
- _title:'代收合同编辑'
- // 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,
- _title:'代收合同查看'
- // 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,
- _title:'代收合同记录'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },// 代储合同
- {
- path: 'storageContract',
- component: () =>
- import(/* webpackChunkName: "sparepartList" */ '@/views/contractManagement/storageContract'),
- name: 'storageContract',
- meta: {
- title: 'storageContract',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.dcContract',
- permissicon: [],
- keepAlive: true,
- _title:'代储合同'
- }
- },
- //代储合同添加
- {
- path: 'storageContractAdd',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractAdd'),
- name: 'storageContractAdd',
- meta: {
- title: 'storageContractAdd',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.dcContract.dcContractInfo.add',
- permissicon: [],
- keepAlive: true,
- _title:'代储合同添加'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- //代储合同编辑
- {
- path: 'storageContractEdit',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractEdit'),
- name: 'storageContractEdit',
- meta: {
- title: 'storageContractEdit',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.dcContract.dcContractInfo.edit',
- permissicon: [],
- keepAlive: true,
- _title:'代储合同编辑'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- //代储合同查看
- {
- path: 'storageContractExamine',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractExamine'),
- name: 'storageContractExamine',
- meta: {
- title: 'storageContractExamine',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.dcContract.dcContractInfo.view',
- permissicon: [],
- keepAlive: true,
- _title:'代储合同查看'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- //代储合同记录
- {
- path: 'storageContractRecord',
- component: () =>
- import(/* webpackChunkName: "applDetail" */ '@/views/contractManagement/storageContractRecord'),
- name: 'storageContractRecord',
- meta: {
- title: 'storageContractRecord',
- shortcutEntrance: 'contractManagement',
- module: 'contractManagement.dcContract.dcContractInfo.list',
- permissicon: [],
- keepAlive: false,
- _title:'代储合同记录'
- // module: 'procurement.sparepart.applDetail'
- },
- hidden: true
- },
- ],
- };
- export default contractManagementRouter;
|