From 137c838d45d16cbe7464bbe03db5a29f6492b7fe Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 30 四月 2026 13:44:14 +0800
Subject: [PATCH] 生产追溯路由更改
---
src/views/productionManagement/productionOrder/index.vue | 2 +-
src/router/index.js | 53 ++++++++++++++++++++---------------------------------
2 files changed, 21 insertions(+), 34 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 6b89a17..c9b163c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -106,19 +106,6 @@
name: "DeviceInfo",
meta: { title: "璁惧淇℃伅", icon: "monitor" },
},
- {
- path: "/productionTraceability",
- component: Layout,
- hidden: true,
- children: [
- {
- path: "index",
- component: () => import("@/views/productionManagement/productionTraceability/index.vue"),
- name: "ProductionTraceability",
- meta: { title: "鐢熶骇杩芥函", activeMenu: "/productionManagement/productionOrder" },
- },
- ],
- },
// 娣诲姞椤圭洰璇︽儏椤甸潰璺敱閰嶇疆
{
path: "/oaSystem/projectManagement/projectDetail",
@@ -159,106 +146,106 @@
path: "general-ledger",
component: () => import("@/views/financialManagement/generalLedger/index.vue"),
name: "GeneralLedger",
- meta: { title: "鎬诲笎绉戠洰" }
+ meta: { title: "鎬诲笎绉戠洰" },
},
{
path: "sales-out",
component: () => import("@/views/financialManagement/receivable/salesOut.vue"),
name: "SalesOut",
- meta: { title: "閿�鍞嚭搴�" }
+ meta: { title: "閿�鍞嚭搴�" },
},
{
path: "sales-return",
component: () => import("@/views/financialManagement/receivable/salesReturn.vue"),
name: "SalesReturn",
- meta: { title: "閿�鍞��璐�" }
+ meta: { title: "閿�鍞��璐�" },
},
{
path: "receivable-reconciliation",
component: () => import("@/views/financialManagement/receivable/reconciliation.vue"),
name: "ReceivableReconciliation",
- meta: { title: "搴旀敹瀵硅处" }
+ meta: { title: "搴旀敹瀵硅处" },
},
{
path: "invoice-apply",
component: () => import("@/views/financialManagement/receivable/invoiceApply.vue"),
name: "InvoiceApply",
- meta: { title: "寮�绁ㄧ敵璇�" }
+ meta: { title: "寮�绁ㄧ敵璇�" },
},
{
path: "output-invoice",
component: () => import("@/views/financialManagement/receivable/outputInvoice.vue"),
name: "OutputInvoice",
- meta: { title: "閿�椤瑰彂绁�" }
+ meta: { title: "閿�椤瑰彂绁�" },
},
{
path: "receipt",
component: () => import("@/views/financialManagement/receivable/receipt.vue"),
name: "Receipt",
- meta: { title: "鏀舵鍗�" }
+ meta: { title: "鏀舵鍗�" },
},
{
path: "purchase-in",
component: () => import("@/views/financialManagement/payable/purchaseIn.vue"),
name: "PurchaseIn",
- meta: { title: "閲囪喘鍏ュ簱" }
+ meta: { title: "閲囪喘鍏ュ簱" },
},
{
path: "payable-reconciliation",
component: () => import("@/views/financialManagement/payable/reconciliation.vue"),
name: "PayableReconciliation",
- meta: { title: "搴斾粯瀵硅处" }
+ meta: { title: "搴斾粯瀵硅处" },
},
{
path: "input-invoice",
component: () => import("@/views/financialManagement/payable/input-invoice.vue"),
name: "InputInvoice",
- meta: { title: "杩涢」鍙戠エ" }
+ meta: { title: "杩涢」鍙戠エ" },
},
{
path: "payment-apply",
component: () => import("@/views/financialManagement/payable/paymentApply.vue"),
name: "PaymentApply",
- meta: { title: "浠樻鐢宠" }
+ meta: { title: "浠樻鐢宠" },
},
{
path: "payment",
component: () => import("@/views/financialManagement/payable/payment.vue"),
name: "Payment",
- meta: { title: "浠樻鍗�" }
+ meta: { title: "浠樻鍗�" },
},
{
path: "fixed-assets",
component: () => import("@/views/financialManagement/assets/fixedAssets.vue"),
name: "FixedAssets",
- meta: { title: "鍥哄畾璧勪骇" }
+ meta: { title: "鍥哄畾璧勪骇" },
},
{
path: "intangible-assets",
component: () => import("@/views/financialManagement/assets/intangibleAssets.vue"),
name: "IntangibleAssets",
- meta: { title: "鏃犲舰璧勪骇" }
+ meta: { title: "鏃犲舰璧勪骇" },
},
{
path: "voucher",
component: () => import("@/views/financialManagement/voucher/index.vue"),
name: "Voucher",
- meta: { title: "鍑瘉" }
+ meta: { title: "鍑瘉" },
},
{
path: "voucher-general-ledger",
component: () => import("@/views/financialManagement/voucher/generalLedger.vue"),
name: "VoucherGeneralLedger",
- meta: { title: "绉戠洰鎬诲笎" }
+ meta: { title: "绉戠洰鎬诲笎" },
},
{
path: "voucher-detail-ledger",
component: () => import("@/views/financialManagement/voucher/detailLedger.vue"),
name: "VoucherDetailLedger",
- meta: { title: "绉戠洰鏄庣粏甯�" }
- }
- ]
- }
+ meta: { title: "绉戠洰鏄庣粏甯�" },
+ },
+ ],
+ },
];
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 4fd65f6..00996ba 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -390,7 +390,7 @@
color: "#409eff",
clickFun: row => {
router.push({
- path: "/productionTraceability/index",
+ path: "/productionManagement/productionTraceability",
query: {
npsNo: row.npsNo,
productName: row.productName,
--
Gitblit v1.9.3