Ver Fonte

修改业务审核路由

huangbin há 4 anos atrás
pai
commit
b55e830ee8

+ 38 - 0
src/router/index.ts

@@ -347,6 +347,25 @@ const routes: Array<RouteRecordRaw> = [
                 meta: {
                     requireAuth: true,
                 },
+                redirect: { name: 'business_review_someprice' },
+                children: [
+                    {
+                        path: '/review/someprice',
+                        name: 'business_review_someprice',
+                        component: () => import('@/views/manage/business-review/list/someprice/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                    {
+                        path: '/review/settlement',
+                        name: 'business_review_settlement',
+                        component: () => import('@/views/manage/business-review/list/settlement/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
             },
             {
                 path: '/finance_review',
@@ -355,6 +374,25 @@ const routes: Array<RouteRecordRaw> = [
                 meta: {
                     requireAuth: true,
                 },
+                // redirect: { name: 'finance_review_funds' },
+                // children: [
+                //     {
+                //         path: '/review/someprice',
+                //         name: 'finance_review_funds',
+                //         component: () => import('@/views/manage/business-review/list/someprice/index.vue'),
+                //         meta: {
+                //             requireAuth: true,
+                //         },
+                //     },
+                //     {
+                //         path: '/review/settlement',
+                //         name: 'finance_review_invoice',
+                //         component: () => import('@/views/manage/business-review/list/settlement/index.vue'),
+                //         meta: {
+                //             requireAuth: true,
+                //         },
+                //     },
+                // ]
             },
             {
                 path: '/inventory_review',

+ 1 - 1
src/views/manage/business-review/list/settlement/index.vue

@@ -32,7 +32,7 @@
 import { defineComponent } from 'vue';
 import { initData } from '@/common/methods';
 import filterCustomTable from '@/views/information/warehouse-info/compoments/filterTable/index.vue';
-import { getTableList } from '../setup';
+import { getTableList } from './setup';
 import { getBtnList } from '@/common/setup/contextMenu/index';
 import contextMenu from '@/common/components/contextMenu/index.vue';
 import { handleTableEvent } from '@/common/setup/event/index';

+ 1 - 1
src/views/manage/business-review/list/someprice/index.vue

@@ -32,7 +32,7 @@
 import { defineComponent } from 'vue';
 import { initData } from '@/common/methods';
 import filterCustomTable from '@/views/information/warehouse-info/compoments/filterTable/index.vue';
-import { getTableList } from '../setup';
+import { getTableList } from './setup';
 import { getBtnList } from '@/common/setup/contextMenu/index';
 import contextMenu from '@/common/components/contextMenu/index.vue';
 import { handleTableEvent } from '@/common/setup/event/index';