陈婷婷
2025-11-12 b9b929cee338523de30ba0db4e77c50b1ef03583
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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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, // 如果设置为false,则不会在breadcrumb面包屑中显示
      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,
  },
];