瀏覽代碼

bug 修复

lilei 4 年之前
父節點
當前提交
b2b631deba
共有 1 個文件被更改,包括 131 次插入131 次删除
  1. 131 131
      src/config/router.config.js

+ 131 - 131
src/config/router.config.js

@@ -1260,42 +1260,42 @@ export const asyncRouterMap = [
           // permission: 'M_financial'
         },
         children: [
-          // {
-          //   path: '/financialManagement/warehousingAudit',
-          //   redirect: '/financialManagement/warehousingAudit/list',
-          //   name: 'warehousingAudit',
-          //   component: RouteView,
-          //   meta: {
-          //     title: '入库审核',
-          //     icon: 'pull-request'
-          //     // permission: 'M_goodsManage_list'
-          //   },
-          //   hideChildrenInMenu: true,
-          //   children: [
-          //     {
-          //       path: 'list',
-          //       name: 'warehousingAuditList',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
-          //       meta: {
-          //         title: '入库审核列表',
-          //         icon: 'pull-request',
-          //         hidden: true
-          //         // permission: 'M_goodsManage_list'
-          //       }
-          //     },
-          //     {
-          //       path: 'detail/:id',
-          //       name: 'warehousingAuditDetail',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
-          //       meta: {
-          //         title: '入库审核详情',
-          //         icon: 'pull-request',
-          //         hidden: true
-          //         // permission: 'B_goodsManage_edit'
-          //       }
-          //     }
-          //   ]
-          // },
+          {
+            path: '/financialManagement/warehousingAudit',
+            redirect: '/financialManagement/warehousingAudit/list',
+            name: 'warehousingAudit',
+            component: RouteView,
+            meta: {
+              title: '入库审核',
+              icon: 'pull-request'
+              // permission: 'M_goodsManage_list'
+            },
+            hideChildrenInMenu: true,
+            children: [
+              {
+                path: 'list',
+                name: 'warehousingAuditList',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
+                meta: {
+                  title: '入库审核列表',
+                  icon: 'pull-request',
+                  hidden: true
+                  // permission: 'M_goodsManage_list'
+                }
+              },
+              {
+                path: 'detail/:id',
+                name: 'warehousingAuditDetail',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
+                meta: {
+                  title: '入库审核详情',
+                  icon: 'pull-request',
+                  hidden: true
+                  // permission: 'B_goodsManage_edit'
+                }
+              }
+            ]
+          },
           // {
           //   path: '/financialManagement/inventoryReview',
           //   redirect: '/financialManagement/inventoryReview/list',
@@ -1426,101 +1426,101 @@ export const asyncRouterMap = [
                 }
               }
             ]
-          }
-          // {
-          //   path: '/financialManagement/companyReceivablePayable',
-          //   redirect: '/financialManagement/companyReceivablePayable/list',
-          //   name: 'companyReceivablePayable',
-          //   component: RouteView,
-          //   meta: {
-          //     title: '单位应收应付管理',
-          //     icon: 'transaction'
-          //     // permission: 'M_goodsManage_list'
-          //   },
-          //   hideChildrenInMenu: true,
-          //   children: [
-          //     {
-          //       path: 'list',
-          //       name: 'companyReceivablePayableList',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
-          //       meta: {
-          //         title: '单位应收应付列表',
-          //         icon: 'transaction',
-          //         hidden: true
-          //         // permission: 'M_goodsManage_list'
-          //       }
-          //     },
-          //     {
-          //       path: 'receipt/:id',
-          //       name: 'companyReceivablePayableReceipt',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/receipt.vue'),
-          //       meta: {
-          //         title: '单位收款单',
-          //         icon: 'transaction',
-          //         hidden: true
-          //         // permission: 'B_goodsManage_edit'
-          //       }
-          //     },
-          //     {
-          //       path: 'paymentSlip/:id',
-          //       name: 'companyReceivablePayablePaymentSlip',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/paymentSlip.vue'),
-          //       meta: {
-          //         title: '单位付款单',
-          //         icon: 'transaction',
-          //         hidden: true
-          //         // permission: 'B_goodsManage_edit'
-          //       }
-          //     },
-          //     {
-          //       path: 'detail/:id',
-          //       name: 'companyReceivablePayableDetail',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
-          //       meta: {
-          //         title: '单位应收应付详情',
-          //         icon: 'transaction',
-          //         hidden: true
-          //         // permission: 'B_goodsManage_edit'
-          //       }
-          //     }
-          //   ]
-          // },
-          // {
-          //   path: '/financialManagement/companyCollectionPayment',
-          //   redirect: '/financialManagement/companyCollectionPayment/list',
-          //   name: 'companyCollectionPayment',
-          //   component: RouteView,
-          //   meta: {
-          //     title: '单位收付款记录',
-          //     icon: 'file-protect'
-          //     // permission: 'M_goodsManage_list'
-          //   },
-          //   hideChildrenInMenu: true,
-          //   children: [
-          //     {
-          //       path: 'list',
-          //       name: 'companyCollectionPaymentList',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
-          //       meta: {
-          //         title: '单位收付款记录列表',
-          //         icon: 'file-protect',
-          //         hidden: true
-          //         // permission: 'M_goodsManage_list'
-          //       }
-          //     },
-          //     {
-          //       path: 'detail/:id',
-          //       name: 'companyCollectionPaymentDetail',
-          //       component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
-          //       meta: {
-          //         title: '单位收付款记录详情',
-          //         icon: 'file-protect',
-          //         hidden: true
-          //         // permission: 'B_goodsManage_edit'
-          //       }
-          //     }
-          //   ]
-          // },
+          },
+          {
+            path: '/financialManagement/companyReceivablePayable',
+            redirect: '/financialManagement/companyReceivablePayable/list',
+            name: 'companyReceivablePayable',
+            component: RouteView,
+            meta: {
+              title: '单位应收应付管理',
+              icon: 'transaction'
+              // permission: 'M_goodsManage_list'
+            },
+            hideChildrenInMenu: true,
+            children: [
+              {
+                path: 'list',
+                name: 'companyReceivablePayableList',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
+                meta: {
+                  title: '单位应收应付列表',
+                  icon: 'transaction',
+                  hidden: true
+                  // permission: 'M_goodsManage_list'
+                }
+              },
+              {
+                path: 'receipt/:id',
+                name: 'companyReceivablePayableReceipt',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/receipt.vue'),
+                meta: {
+                  title: '单位收款单',
+                  icon: 'transaction',
+                  hidden: true
+                  // permission: 'B_goodsManage_edit'
+                }
+              },
+              {
+                path: 'paymentSlip/:id',
+                name: 'companyReceivablePayablePaymentSlip',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/paymentSlip.vue'),
+                meta: {
+                  title: '单位付款单',
+                  icon: 'transaction',
+                  hidden: true
+                  // permission: 'B_goodsManage_edit'
+                }
+              },
+              {
+                path: 'detail/:id',
+                name: 'companyReceivablePayableDetail',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
+                meta: {
+                  title: '单位应收应付详情',
+                  icon: 'transaction',
+                  hidden: true
+                  // permission: 'B_goodsManage_edit'
+                }
+              }
+            ]
+          },
+          {
+            path: '/financialManagement/companyCollectionPayment',
+            redirect: '/financialManagement/companyCollectionPayment/list',
+            name: 'companyCollectionPayment',
+            component: RouteView,
+            meta: {
+              title: '单位收付款记录',
+              icon: 'file-protect'
+              // permission: 'M_goodsManage_list'
+            },
+            hideChildrenInMenu: true,
+            children: [
+              {
+                path: 'list',
+                name: 'companyCollectionPaymentList',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
+                meta: {
+                  title: '单位收付款记录列表',
+                  icon: 'file-protect',
+                  hidden: true
+                  // permission: 'M_goodsManage_list'
+                }
+              },
+              {
+                path: 'detail/:id',
+                name: 'companyCollectionPaymentDetail',
+                component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
+                meta: {
+                  title: '单位收付款记录详情',
+                  icon: 'file-protect',
+                  hidden: true
+                  // permission: 'B_goodsManage_edit'
+                }
+              }
+            ]
+          },
           // {
           //   path: '/financialManagement/withdrawalManagement',
           //   redirect: '/financialManagement/withdrawalManagement/list',