From b9b929cee338523de30ba0db4e77c50b1ef03583 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期三, 12 十一月 2025 16:24:54 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI
---
src/router/index.js | 214 ++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 195 insertions(+), 19 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index f8d6af9..905613b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -88,27 +88,43 @@
},
],
},
+ // //鐧诲綍璺宠浆椤�
+ // {
+ // path: "/indexPage",
+ // component: () => import("@/views/indexPage"),
+ // hidden: true,
+ // },
//閿�鍞嚭搴撳崟
+ // {
+ // path: "/sales/salesOUt/sellOutBill",
+ // component: () => import("@/views/sellOutBill/index"),
+ // hidden: true,
+ // },
{
- path: "/sell/sellOut/sellOutBill",
+ path: "/sales/salesOUt/sellOutBill",
component: Layout,
hidden: true,
// permissions: ["system:goods:add"],
redirect: "noredirect",
meta: {
breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
- activeMenu: "/sell/sellOut", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ activeMenu: "/sales/salesOUt", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
},
children: [
{
- path: "/sell/sellOut/sellOutBill",
- component: () => import("@/views/sell/sellOut/sellOutBill.vue"),
+ path: "/sales/salesOUt/sellOutBill",
+ component: () => import("@/views/sell/sellOutBill"),
name: "SellOutBill",
- meta: { title: "閿�鍞嚭搴撳崟", activeMenu: "sell/sellOUt" },
+ meta: { title: "閿�鍞嚭搴撳崟", activeMenu: "sales/salesOUt" },
},
],
},
//閿�鍞嚭搴撳崟缂栬緫椤甸潰
+ // {
+ // path: "/sellOutBillEdit",
+ // component: () => import("@/views/sales/salesOUt/sellOutBill/edit/index"),
+ // hidden: true,
+ // },
{
path: "/sell/sellOut/sellOutBillEdit",
component: Layout,
@@ -121,9 +137,9 @@
children: [
{
path: "/sell/sellOut/sellOutBillEdit",
- component: () => import("@/views/sell/sellOut/sellOutBillEdit.vue"),
+ component: () => import("@/views/sell/sellOutBill/edit"),
name: "SellOutBillEdit",
- meta: { title: "閿�鍞嚭搴撳崟缂栬緫", activeMenu: "/sell/sellOut" },
+ meta: { title: "閿�鍞嚭搴撳崟缂栬緫", activeMenu: "sell/sellOut" },
},
],
},
@@ -146,22 +162,23 @@
},
],
},
- //鐢熶骇璧勬簮
+
+ //鐢熶骇璧勬簮
{
- path: "/basic/production/gySource",
+ path: "/basic/gy/gySource",
component: Layout,
hidden: true,
redirect: "noredirect",
meta: {
breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
- activeMenu: "/basic/production/gySource", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ activeMenu: "/basic/gy/gySource", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
},
children: [
{
- path: "/basic/production/gySource",
- component: () => import("@/views/basic/production/gySource.vue"),
+ path: "/basic/gy/gySource",
+ component: () => import("@/views/basic/gySource"),
name: "GySource",
- meta: { title: "鐢熶骇璧勬簮鍒楄〃", activeMenu: "basic/production" },
+ meta: { title: "鐢熶骇璧勬簮鍒楄〃", activeMenu: "basic/gy" },
},
],
},
@@ -178,20 +195,179 @@
},
// 浠撳簱
{
- path: "/gyWarehouse",
- component: () => import("@/views/gyWarehouse/index"),
+ path: "/basic/gy/gyWarehouse",
+ component: Layout,
hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/basic/gy/gyWarehouse", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/basic/gy/gyWarehouse",
+ component: () => import("@/views/basic/gyWarehouse/gyWarehouse"),
+ name: "GyWarehouse",
+ meta: { title: "浠撳簱鍒楄〃", activeMenu: "basic/gy" },
+ },
+ ],
},
// 浠撲綅
{
- path: "/gyStockPlace",
- component: () => import("@/views/gyStockPlace/index"),
+ path: "/basic/gy/gyStockPlace",
+ component: Layout,
hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/basic/gy/gyStockPlace", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/basic/gy/gyStockPlace",
+ component: () => import("@/views/basic/gyStockPlace/gyStockPlace.vue"),
+ name: "GyStockPlace",
+ meta: { title: "浠撲綅鍒楄〃", activeMenu: "basic/gy" },
+ },
+ ],
},
// 鑱屽憳
{
- path: "/gyEmployee",
- component: () => import("@/views/gyEmployee/index"),
+ path: "/basic/gy/gyEmployee",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/basic/gy/gyEmployee", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/basic/gy/gyEmployee",
+ component: () => import("@/views/basic/gyEmployee/gyEmployee.vue"),
+ name: "GyEmployee",
+ meta: { title: "浠撳簱鍒楄〃", activeMenu: "basic/gy" },
+ },
+ ],
+ },
+ // 閿�鍞鍗�
+ {
+ path: "/sales/seOrder/xsSeOrderBill",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/sales/seOrder/xsSeOrderBill", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/sales/seOrder/xsSeOrderBill",
+ component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBill"),
+ name: "XsSeOrderBill",
+ meta: { title: "閿�鍞鍗曠淮鎶�", activeMenu: "sales/seOrder" },
+ },
+ ],
+ },
+
+ // 閲囪喘璁㈠崟
+ {
+ path: "/purchase/poOrder/cgPoOrderBill",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/purchase/poOrder/cgPoOrderBill", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/purchase/poOrder/cgPoOrderBill",
+ component: () => import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"),
+ name: "CgPoOrderBill",
+ meta: { title: "閲囪喘璁㈠崟鍒楄〃", activeMenu: "/purchase/PoOrder" },
+ },
+ ],
+ },
+ // 鏀舵枡閫氱煡鍗�
+ {
+ path: "/purchase/PoInStock/cgPoInStockBill",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/purchase/PoInStock/cgPoInStockBill", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/purchase/PoInStock/cgPoInStockBill",
+ component: () => import("@/views/purchase/cgPoInStockBill/cgPoInStockBill"),
+ name: "CgPoInStockBillList",
+ meta: { title: "鏀舵枡閫氱煡鍗曞垪琛�", activeMenu: "/purchase/PoInStock" },
+ },
+ ],
+ },
+ // 鍙戣揣閫氱煡鍗�
+ {
+ path: "/sales/seOutStock/xsSeOutStockBill",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/sales/seOutStock/xsSeOutStockBill", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/sales/seOutStock/xsSeOutStockBill",
+ component: () => import("@/views/sell/XsSeOutStockBill.vue"),
+ name: "XsSeOutStockBill",
+ meta: { title: "鍙戣揣閫氱煡鍗曞垪琛�", activeMenu: "/sales/seOutStock" },
+ },
+ ],
+ },
+ // 閫�璐ч�氱煡鍗�
+ {
+ path: "/sales/seOutStockBack/xsSeOutStockBackBillList",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/sales/seOutStockBack/xsSeOutStockBackBillList", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/sales/seOutStockBack/xsSeOutStockBackBillList",
+ component: () => import("@/views/sell/XsSeOutStockBackBillList.vue"),
+ name: "XsSeOutStockBackBillList",
+ meta: { title: "閫�璐ч�氱煡鍗曞垪琛�", activeMenu: "/sales/seOutStockBack" },
+ },
+ ],
+ },
+ // 鐢熶骇璁㈠崟
+ {
+ path: "/icmo/scIcmoBill/scIcmoBillList",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/icmo/scIcmoBill/scIcmoBillList", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/icmo/scIcmoBill/scIcmoBillList",
+ component: () => import("@/views/ICMO/ScICMOBillList.vue"),
+ name: "ScICMOBillList",
+ meta: { title: "鐢熶骇璁㈠崟鍒楄〃", activeMenu: "/icmo/scIcmoBill" },
+ },
+ ],
+ },
+ {
+ path: "/ScICMOBillList",
+ component: () => import("@/views/ICMO/ScICMOBillList.vue"),
hidden: true,
},
];
--
Gitblit v1.9.1