From ad200796ba558a6dfd333a3c72bac86e6bc08083 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期二, 11 十一月 2025 14:04:15 +0800
Subject: [PATCH] 1
---
src/store/modules/permission.js | 104 ++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 81 insertions(+), 23 deletions(-)
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index e72b66a..6958ec0 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -44,8 +44,8 @@
title: "閿�鍞鐞�",
},
hidden: false,
- name: "Sales",
- path: "/sales",
+ name: "Sell",
+ path: "/sell",
redirect: "noRedirect",
children: [
{
@@ -56,8 +56,8 @@
title: "閿�鍞嚭搴撳崟",
},
hidden: false,
- name: "SalesOUt",
- path: "salesOUt",
+ name: "SellOut",
+ path: "sellOut",
redirect: "noRedirect",
component: "Layout",
children: [
@@ -68,8 +68,7 @@
noCache: false,
title: "閿�鍞嚭搴撳崟缁存姢",
},
- component: () =>
- import("@/views/sell/sellOutBill/index.vue"),
+ component: () =>import("@/views/sell/sellOut/sellOutBill.vue"),
hidden: false,
name: "SellOutBill",
path: "sellOutBill",
@@ -81,7 +80,7 @@
noCache: false,
title: "閿�鍞嚭搴撳崟",
},
- component: () => import('@/views/sell/sellOutBill/edit/index.vue'),
+ component: () => import('@/views/sell/sellOut/sellOutBillEdit.vue'),
hidden: false,
name: "SellOutBillEdit",
path: "sellOutBillEdit",
@@ -89,7 +88,65 @@
],
},
],
- },{
+ },
+ {
+ alwaysShow: true,
+ component: "Layout",
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "閲囪喘绠$悊",
+ },
+ hidden: false,
+ name: "CaiGouGuanli",
+ path: "/CaiGouGuanLi",
+ redirect: "noRedirect",
+ children: [
+ {
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "閲囪喘鍏ュ簱鍗�",
+ },
+ hidden: false,
+ name: "CaiGouRuKu",
+ path: "CaiGouRuKu",
+ redirect: "noRedirect",
+ component: "Layout",
+ children: [
+ {
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "閲囪喘鍏ュ簱鍗曠淮鎶�",
+ },
+ component: () =>
+ import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"),
+ hidden: false,
+ name: "Kf_POStockInBillList",
+ path: "Kf_POStockInBillList",
+ },
+ {
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "閲囪喘鍏ュ簱鍗曠淮鎶�",
+ },
+ component: () =>
+ import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"),
+ hidden: false,
+ name: "Kf_POStockInBillList",
+ path: "Kf_POStockInBillList",
+ }
+ ],
+ },
+ ],
+ },
+ {
alwaysShow: true,
component: "Layout",
meta: {
@@ -111,8 +168,8 @@
title: "鐢熶骇璧勬枡",
},
hidden: false,
- name: "Gy",
- path: "gy",
+ name: "Production",
+ path: "production",
redirect: "noRedirect",
component: "Layout",
children: [
@@ -124,28 +181,29 @@
title: "鐢熶骇璧勬枡鍒楄〃",
},
component: () =>
- import("@/views/basic/gySource/index.vue"),
+ import("@/views/basic/production/gySource.vue"),
hidden: false,
name: "GySource",
path: "gySource",
},
- {
- meta: {
- icon: "build",
- link: null,
- noCache: false,
- title: "鐢熶骇浠撳簱鍒楄〃",
- },
- component: () => import('@/views/basic/gyWarehouse/index.vue'),
- hidden: false,
- name: "GyWarehouse",
- path: "gyWarehouse",
- },
+ // {
+ // meta: {
+ // icon: "build",
+ // link: null,
+ // noCache: false,
+ // title: "鐢熶骇浠撳簱鍒楄〃",
+ // },
+ // component: () => import('@/views/basic/gyWarehouse/index.vue'),
+ // hidden: false,
+ // name: "GyWarehouse",
+ // path: "gyWarehouse",
+ // },
],
},
],
},
];
+ console.log(data)
const sdata = JSON.parse(JSON.stringify(data));
const rdata = JSON.parse(JSON.stringify(data));
const sidebarRoutes = filterAsyncRouter(sdata);
--
Gitblit v1.9.1