From 691ffbbda19a79e47fcec8b055ed3d65f881e379 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 21 五月 2026 11:50:40 +0800
Subject: [PATCH] fix: 财务路由动态配置

---
 src/router/index.js |  129 ++-----------------------------------------
 1 files changed, 6 insertions(+), 123 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 321cb75..352ed85 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -125,130 +125,13 @@
     children: [
       {
         path: ":id",
-        component: () => import("@/views/projectManagement/Management/projectDetail.vue"),
+        component: () =>
+          import("@/views/projectManagement/Management/projectDetail.vue"),
         name: "ProjectManagementDetail",
-        meta: { title: "椤圭洰璇︽儏", activeMenu: "/projectManagement/Management" },
-      },
-    ],
-  },
-  // 璐㈠姟绠$悊妯″潡璺敱
-  {
-    path: "/financial",
-    component: Layout,
-    hidden: false,
-    redirect: "/financial/general-ledger",
-    alwaysShow: true,
-    meta: { title: "璐㈠姟绠$悊", icon: "money" },
-    children: [
-      {
-        path: "sales-out",
-        component: () => import("@/views/financialManagement/receivable/salesOut.vue"),
-        name: "SalesOut",
-        meta: { title: "閿�鍞嚭搴�" },
-      },
-      {
-        path: "sales-return",
-        component: () => import("@/views/financialManagement/receivable/salesReturn.vue"),
-        name: "SalesReturn",
-        meta: { title: "閿�鍞��璐�" },
-      },
-      
-      {
-        path: "invoice-apply",
-        component: () => import("@/views/financialManagement/receivable/invoiceApply.vue"),
-        name: "InvoiceApply",
-        meta: { title: "寮�绁ㄧ敵璇�" },
-      },
-      {
-        path: "output-invoice",
-        component: () => import("@/views/financialManagement/receivable/outputInvoice.vue"),
-        name: "OutputInvoice",
-        meta: { title: "閿�椤瑰彂绁�" },
-      },
-      {
-        path: "receipt",
-        component: () => import("@/views/financialManagement/receivable/receipt.vue"),
-        name: "Receipt",
-        meta: { title: "鏀舵鍗�" },
-      },
-      {
-        path: "receivable-reconciliation",
-        component: () => import("@/views/financialManagement/receivable/reconciliation.vue"),
-        name: "ReceivableReconciliation",
-        meta: { title: "搴旀敹瀵硅处" },
-      },
-      {
-        path: "purchase-in",
-        component: () => import("@/views/financialManagement/payable/purchaseIn.vue"),
-        name: "PurchaseIn",
-        meta: { title: "閲囪喘鍏ュ簱" },
-      },
-      {
-        path: "purchase-return",
-        component: () => import("@/views/financialManagement/payable/purchaseReturn.vue"),
-        name: "PurchaseReturn",
-        meta: { title: "閲囪喘閫�璐�" },
-      },
-      {
-        path: "input-invoice",
-        component: () => import("@/views/financialManagement/payable/input-invoice.vue"),
-        name: "InputInvoice",
-        meta: { title: "杩涢」鍙戠エ" },
-      },
-      {
-        path: "payment-apply",
-        component: () => import("@/views/financialManagement/payable/paymentApply.vue"),
-        name: "PaymentApply",
-        meta: { title: "浠樻鐢宠" },
-      },
-      
-      {
-        path: "payment",
-        component: () => import("@/views/financialManagement/payable/payment.vue"),
-        name: "Payment",
-        meta: { title: "浠樻鍗�" },
-      },
-      {
-        path: "payable-reconciliation",
-        component: () => import("@/views/financialManagement/payable/reconciliation.vue"),
-        name: "PayableReconciliation",
-        meta: { title: "搴斾粯瀵硅处" },
-      },
-      {
-        path: "fixed-assets",
-        component: () => import("@/views/financialManagement/assets/fixedAssets.vue"),
-        name: "FixedAssets",
-        meta: { title: "鍥哄畾璧勪骇" },
-      },
-      {
-        path: "intangible-assets",
-        component: () => import("@/views/financialManagement/assets/intangibleAssets.vue"),
-        name: "IntangibleAssets",
-        meta: { title: "鏃犲舰璧勪骇" },
-      },
-      {
-        path: "general-ledger",
-        component: () => import("@/views/financialManagement/generalLedger/index.vue"),
-        name: "GeneralLedger",
-        meta: { title: "鎬诲笎绉戠洰" },
-      },
-      {
-        path: "voucher",
-        component: () => import("@/views/financialManagement/voucher/index.vue"),
-        name: "Voucher",
-        meta: { title: "鍑瘉" },
-      },
-      {
-        path: "voucher-general-ledger",
-        component: () => import("@/views/financialManagement/voucher/generalLedger.vue"),
-        name: "VoucherGeneralLedger",
-        meta: { title: "绉戠洰鎬诲笎" },
-      },
-      {
-        path: "voucher-detail-ledger",
-        component: () => import("@/views/financialManagement/voucher/detailLedger.vue"),
-        name: "VoucherDetailLedger",
-        meta: { title: "绉戠洰鏄庣粏甯�" },
+        meta: {
+          title: "椤圭洰璇︽儏",
+          activeMenu: "/projectManagement/Management",
+        },
       },
     ],
   },

--
Gitblit v1.9.3