zzq
2023-09-26 25b727a5dc28f3c2d225c5e017da58f35c6b84b3
src/router/product/index.js
@@ -1,6 +1,10 @@
// const type from '@/router/deployCode'
const product = (resolve) => require(["@/views/productManage/product/index"], resolve) // 产品
const inOutboundDetail = (resolve) => require(["@/views/reportForm/inboundOutboundDetail/index"], resolve) // 出入库明细
const productCategory = (resolve) => require(["@/views/productManage/productCategory/index"], resolve) // 产品类别
const productList = (resolve) => require(["@/views/productManage/productCategory/ProductList"], resolve) // 产品类别-产品
const overviewList = (resolve) => require(["@/views/overview/OverviewListView"], resolve) // 概述-产品列表
const appconfig = [
  {
@@ -8,7 +12,39 @@
    name: "product",
    component: product,
    meta: {
      title: "产品管理"
      title: "产品"
    }
  },
  {
    path: "/productManage/productCategory",
    name: "productCategory",
    component: productCategory,
    meta: {
      title: "产品类别"
    }
  },
  {
    path: "/reportForm/inOutboundDetail",
    name: "inOutboundDetail",
    component: inOutboundDetail,
    meta: {
      title: "出入库明细"
    }
  },
  {
    path: "/productManage/productList",
    name: "productList",
    component: productList,
    meta: {
      title: "产品"
    }
  },
  {
    path: "/overview/overviewList",
    name: "overviewList",
    component: overviewList,
    meta: {
      title: "采购入库"
    }
  }
]