From a97df69cade6aecdc65015170e45fbe3bb40e876 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期二, 11 十一月 2025 13:25:54 +0800
Subject: [PATCH] 修改了生产资料和销售出库的路径,及其路由配置,销售出库单的日期,分页组件
---
src/router/index.js | 53 ++++++++++++++++-------------------------------------
1 files changed, 16 insertions(+), 37 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 201d4f4..dfecdb5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -88,83 +88,62 @@
},
],
},
- // //鐧诲綍璺宠浆椤�
- // {
- // path: "/indexPage",
- // component: () => import("@/views/indexPage"),
- // hidden: true,
- // },
//閿�鍞嚭搴撳崟
- // {
- // path: "/sales/salesOUt/sellOutBill",
- // component: () => import("@/views/sellOutBill/index"),
- // hidden: true,
- // },
{
- path: "/sales/salesOUt/sellOutBill",
+ path: "/sell/sellOut/sellOutBill",
component: Layout,
hidden: true,
// permissions: ["system:goods:add"],
redirect: "noredirect",
meta: {
breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
- activeMenu: "/sales/salesOUt", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ activeMenu: "/sell/sellOut", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
},
children: [
{
- path: "/sales/salesOUt/sellOutBill",
- component: () => import("@/views/sell/sellOutBill"),
+ path: "/sell/sellOut/sellOutBill",
+ component: () => import("@/views/sell/sellOut/sellOutBill.vue"),
name: "SellOutBill",
- meta: { title: "閿�鍞嚭搴撳崟", activeMenu: "sales/salesOUt" },
+ meta: { title: "閿�鍞嚭搴撳崟", activeMenu: "sell/sellOUt" },
},
],
},
//閿�鍞嚭搴撳崟缂栬緫椤甸潰
- // {
- // path: "/sellOutBillEdit",
- // component: () => import("@/views/sales/salesOUt/sellOutBill/edit/index"),
- // hidden: true,
- // },
{
- path: "/sales/salesOUt/sellOutBillEdit",
+ path: "/sell/sellOut/sellOutBillEdit",
component: Layout,
hidden: true,
redirect: "noredirect",
meta: {
breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
- activeMenu: "/sales/salesOUt/sellOutBillEdit", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ activeMenu: "/sell/sellOut/sellOutBillEdit", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
},
children: [
{
- path: "/sales/salesOUt/sellOutBillEdit",
- component: () => import("@/views/sell/sellOutBill/edit"),
+ path: "/sell/sellOut/sellOutBillEdit",
+ component: () => import("@/views/sell/sellOut/sellOutBillEdit.vue"),
name: "SellOutBillEdit",
- meta: { title: "閿�鍞嚭搴撳崟缂栬緫", activeMenu: "sales/salesOUt" },
+ meta: { title: "閿�鍞嚭搴撳崟缂栬緫", activeMenu: "/sell/sellOut" },
},
],
},
- //閿�鍞崟
- // {
- // path: "/sellBill",
- // component: () => import("@/views/sellBill/index"),
- // hidden: true,
- // },
+
//鐢熶骇璧勬簮
{
- path: "/basic/gy/gySource",
+ path: "/basic/production/gySource",
component: Layout,
hidden: true,
redirect: "noredirect",
meta: {
breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
- activeMenu: "/basic/gy/gySource", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ activeMenu: "/basic/production/gySource", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
},
children: [
{
- path: "/basic/gy/gySource",
- component: () => import("@/views/basic/gySource"),
+ path: "/basic/production/gySource",
+ component: () => import("@/views/basic/production/gySource.vue"),
name: "GySource",
- meta: { title: "鐢熶骇璧勬簮鍒楄〃", activeMenu: "basic/gy" },
+ meta: { title: "鐢熶骇璧勬簮鍒楄〃", activeMenu: "basic/production" },
},
],
},
--
Gitblit v1.9.1