From 6108e3d49712b6ded5cf3c3e735ec40f13e35971 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期二, 11 十一月 2025 15:03:10 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUE_New
---
src/router/index.js | 126 +++++++++++++++++++++++++++++++++--------
1 files changed, 100 insertions(+), 26 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index dfecdb5..9f5f3e6 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -41,26 +41,31 @@
},
],
},
- {
- path: "/login",
- component: () => import("@/views/login"),
- hidden: true,
- },
- {
- path: "/register",
- component: () => import("@/views/register"),
- hidden: true,
- },
+ //404
{
path: "/404",
component: () => import("@/views/error/404"),
hidden: true,
},
+ //401
{
path: "/401",
component: () => import("@/views/error/401"),
hidden: true,
},
+ //鐧诲綍
+ {
+ path: "/login",
+ component: () => import("@/views/login"),
+ hidden: true,
+ },
+ //娉ㄥ唽
+ {
+ path: "/register",
+ component: () => import("@/views/register"),
+ hidden: true,
+ },
+ //棣栭〉
{
path: "",
component: Layout,
@@ -74,6 +79,7 @@
},
],
},
+ //涓汉涓績
{
path: "/user",
component: Layout,
@@ -97,18 +103,18 @@
redirect: "noredirect",
meta: {
breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
- activeMenu: "/sell/sellOut", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ activeMenu: "/sell/sellOut/sellOutBill", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
},
children: [
{
path: "/sell/sellOut/sellOutBill",
component: () => import("@/views/sell/sellOut/sellOutBill.vue"),
name: "SellOutBill",
- meta: { title: "閿�鍞嚭搴撳崟", activeMenu: "sell/sellOUt" },
+ meta: { title: "閿�鍞嚭搴撳崟", activeMenu: "sell/sellOUt/sellOutBill" },
},
],
},
- //閿�鍞嚭搴撳崟缂栬緫椤甸潰
+ //閿�鍞嚭搴撳崟缂栬緫
{
path: "/sell/sellOut/sellOutBillEdit",
component: Layout,
@@ -123,11 +129,41 @@
path: "/sell/sellOut/sellOutBillEdit",
component: () => import("@/views/sell/sellOut/sellOutBillEdit.vue"),
name: "SellOutBillEdit",
- meta: { title: "閿�鍞嚭搴撳崟缂栬緫", activeMenu: "/sell/sellOut" },
+ meta: { title: "閿�鍞嚭搴撳崟缂栬緫", activeMenu: "/sell/sellOut/sellOutBillEdit" },
},
],
},
-
+ //閲囪喘鍏ュ簱鍗�
+ {
+ path: "/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList",
+ component: Layout,
+ hidden: true,
+ // permissions: ["system:goods:add"],
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList",
+ component: () => import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList"),
+ name: "Kf_POStockInBillList",
+ meta: { title: "閲囪喘鍏ュ簱鍗�", activeMenu: "/CaiGouGuanLi/CaiGouRuKu" },
+ },
+ ],
+ },
+ //鎵撳嵃鍒楄〃椤甸潰
+ {
+ path: "/printList",
+ component: () => import("@/views/component/printList/index"),
+ hidden: true,
+ },
+ {
+ path: "/hBarPlanPrint",
+ component: () => import("@/views/component/printList/hBarPlanPrint"),
+ hidden: true,
+ },
//鐢熶骇璧勬簮
{
path: "/basic/production/gySource",
@@ -147,17 +183,6 @@
},
],
},
- //鎵撳嵃鍒楄〃椤甸潰
- {
- path: "/printList",
- component: () => import("@/views/component/printList/index"),
- hidden: true,
- },
- {
- path: "/hBarPlanPrint",
- component: () => import("@/views/component/printList/hBarPlanPrint"),
- hidden: true,
- },
// 浠撳簱
{
path: "/gyWarehouse",
@@ -176,6 +201,55 @@
component: () => import("@/views/gyEmployee/index"),
hidden: true,
},
+ // 瀹㈡埛
+ {
+ path: "/GyCustomer",
+ component: () => import("@/views/GyCustomer/index"),
+ hidden: false,
+ },
+ {
+ path: "/basic/gy/gyCustomer",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/basic/gy/gyCustomer", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/basic/gy/gyCustomer",
+ component: () => import("@/views/GyCustomer/index"),
+ name: "GyCustomer",
+ meta: { title: "瀹㈡埛鍒楄〃", activeMenu: "basic/gy" },
+ },
+ ],
+ },
+// 鐗╂枡
+ {
+ path: "/gyMaterial",
+ component: () => import("@/views/gyMaterial/GyMaterial"),
+ hidden: false,
+ },
+ {
+ path: "/basic/gy/gyMaterial",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/basic/gy/gyMaterial", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/basic/gy/gyMaterial",
+ component: () => import("@/views/gyMaterial/GyMaterial"),
+ name: "gyMaterial",
+ meta: { title: "鐗╂枡鍒楄〃", activeMenu: "basic/gy" },
+ },
+ ],
+ },
+
];
// 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
--
Gitblit v1.9.1