123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- import Layout from "@/views/layout/Layout";
-
- export default {
- path: "/stock",
- component: Layout,
- redirect: "noredirect",
- name: "stockManage",
- alwaysShow: true,
- meta: {
- title: "stockManage",
- icon: "stock",
- isChild: true
- },
- children: [
- {
- path: "/warehouseReceipt/",
- component: Layout,
- redirect: "/stock/in",
- name: "warehouseReceipt",
- parentNum: 1,
- meta: {
- isChild: true,
- title: "warehouseReceipt"
- }
- },
- {
- path: "/warehouseReceiptOther/",
- component: Layout,
- redirect: "/stock/in/other",
- name: "warehouseReceiptOther",
- parentNum: 2,
- meta: {
- isChild: true,
- title: "warehouseReceiptOther"
- }
- },
- {
- path: "/stock/in",
- component: () => import("@/xt_pages/stock/stockInOrder"),
- name: "stockInOrder",
- hidden: true,
- is_menu: false,
- num: 1,
- meta: { title: "stockInOrder", noCache: true }
- },
- {
- path: "/stock/return",
- component: () => import("@/xt_pages/stock/salesReturnOrder"),
- name: "salesReturnOrder",
- hidden: true,
- is_menu: false,
- num: 1,
- meta: { title: "salesReturnOrder", noCache: true }
- },
- {
- path: "/stock/out",
- component: () => import("@/xt_pages/stock/stockOutOrder"),
- name: "stockOutOrder",
- hidden: true,
- is_menu: false,
- num: 1,
- meta: { title: "stockOutOrder", noCache: true }
- },
- {
- path: "/stock/cancel",
- component: () => import("@/xt_pages/stock/cancelStockOrder"),
- name: "cancelStockOrder",
- hidden: true,
- is_menu: false,
- num: 1,
- meta: { title: "cancelStockOrder", noCache: true }
- },
- {
- path: "/stock/in/other",
- component: () => import("@/xt_pages/stock/otherStockInOrder"),
- name: "otherStockInOrder",
- hidden: true,
- is_menu: false,
- num: 2,
- meta: { title: "otherStockInOrder", noCache: true }
- },
- {
- path: "/stock/return/other",
- component: () => import("@/xt_pages/stock/otherSalesReturnOrder"),
- name: "otherSalesReturnOrder",
- hidden: true,
- is_menu: false,
- num: 2,
- meta: { title: "otherSalesReturnOrder", noCache: true }
- },
- {
- path: "/stock/out/other",
- component: () => import("@/xt_pages/stock/otherStockOutOrder"),
- name: "otherStockOutOrder",
- hidden: true,
- is_menu: false,
- num: 2,
- meta: { title: "otherStockOutOrder", noCache: true }
- },
- {
- path: "/stock/cancel/other",
- component: () => import("@/xt_pages/stock/otherCancelStockOrder"),
- name: "otherCancelStockOrder",
- hidden: true,
- is_menu: false,
- num: 2,
- meta: { title: "otherCancelStockOrder", noCache: true }
- },
- // {
- // path: "/stock/",
- // component: Layout,
- // redirect: "noredirect",
- // name: "warehouseReceipt",
- // meta: {
- // isChild: true,
- // title: "warehouseReceipt"
- // },
- // children: [
-
- // ]
- // },
-
- // {
- // path: "stock/",
- // component: Layout,
- // redirect: "noredirect",
- // name: "warehouseReceiptOther",
- // meta: {
- // isChild: true,
- // title: "warehouseReceiptOther"
- // },
- // children: [
- // {
- // path: "/stock/in/other",
- // component: () => import("@/xt_pages/stock/otherStockInOrder"),
- // name: "otherStockInOrder",
- // meta: { title: "otherStockInOrder", noCache: true }
- // },
- // {
- // path: "/stock/return/other",
- // component: () => import("@/xt_pages/stock/otherSalesReturnOrder"),
- // name: "otherSalesReturnOrder",
- // meta: { title: "otherSalesReturnOrder", noCache: true }
- // },
- // {
- // path: "/stock/out/other",
- // component: () => import("@/xt_pages/stock/otherStockOutOrder"),
- // name: "otherStockOutOrder",
- // meta: { title: "otherStockOutOrder", noCache: true }
- // },
- // {
- // path: "/stock/cancel/other",
- // component: () => import("@/xt_pages/stock/otherCancelStockOrder"),
- // name: "otherCancelStockOrder",
- // meta: { title: "otherCancelStockOrder", noCache: true }
- // }
- // ]
- // },
- {
- path: "/stock/query",
- component: () => import("@/xt_pages/stock/stockQuery"),
- name: "stockQuery",
- meta: { title: "stockQuery", noCache: true }
- },
- {
- path: "/stock/detail",
- component: () => import("@/xt_pages/stock/stockDetailIndex"),
- name: "stockDetail",
- meta: { title: "stockDetail", noCache: true }
- },
- {
- path: "/stock/in/add",
- component: () => import("@/xt_pages/stock/stockInOrderAdd"),
- name: "stockInOrderAdd",
- hidden: true,
- is_menu: false,
- meta: { title: "stockInOrderAdd", noCache: true }
- },
- {
- path: "/stock/in/detail",
- component: () => import("@/xt_pages/stock/stockInDetail"),
- name: "stockInDetail",
- hidden: true,
- is_menu: false,
- meta: { title: "stockInDetail", noCache: true }
- },
- {
- path: "/stock/return/detail",
- component: () => import("@/xt_pages/stock/salesReturnDetail"),
- name: "salesReturnDetail",
- hidden: true,
- is_menu: false,
- meta: { title: "salesReturnDetail", noCache: true }
- },
- {
- path: "/stock/return/add",
- component: () => import("@/xt_pages/stock/salesReturnOrderAdd"),
- name: "salesReturnOrderAdd",
- hidden: true,
- is_menu: false,
- meta: { title: "salesReturnOrderAdd", noCache: true }
- },
- {
- path: "/stock/out/add",
- component: () => import("@/xt_pages/stock/stockOutOrderAdd"),
- name: "stockOutOrderAdd",
- hidden: true,
- is_menu: false,
- meta: { title: "stockOutOrderAdd", noCache: true }
- },
- {
- path: "/stock/out/detail",
- component: () => import("@/xt_pages/stock/stockOutDetail"),
- name: "stockOutDetail",
- hidden: true,
- is_menu: false,
- meta: { title: "stockOutDetail", noCache: true }
- },
- {
- path: "/stock/cancel/add",
- component: () => import("@/xt_pages/stock/cancelStockOrderAdd"),
- name: "cancelStockOrderAdd",
- hidden: true,
- is_menu: false,
- meta: { title: "cancelStockOrderAdd", noCache: true }
- },
- {
- path: "/stock/cancel/detail",
- component: () => import("@/xt_pages/stock/cancelStockDetail"),
- name: "cancelStockDetail",
- hidden: true,
- is_menu: false,
- meta: { title: "cancelStockDetail", noCache: true }
- },
- {
- path: "/stock/config",
- component: () => import("@/xt_pages/stock/index"),
- name: "config",
- meta: { title: "config", noCache: true }
- },
- {
- path: "/stock/print",
- component: () => import("@/xt_pages/stock/detail/print"),
- hidden: true,
- is_menu: false,
- name: "stock_print",
- meta: {
- title: "库存打印",
- noCache: true
- }
- },
- {
- path: "/stock/user/detail",
- component: () => import("@/xt_pages/stock/stockUserDetail"),
- name: "user_detail",
- hidden: true,
- is_menu: false,
- meta: { title: "user_detail", noCache: true }
- }
- ]
- };
|