schangxiang@126.com
2025-09-10 3d43ffa3152110b7823f9fa6320c08a6ae02358a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* eslint-disable */
import Vue from "vue";
import Router from "vue-router";
 
Vue.use(Router);
 
/* Layout */
import Layout from "@/views/layout/layout";
 
export const constantRouterMap = [{
    path: "/login",
    component: () => import("@/views/login/index"),
    hidden: true
  },
  {
    path: "/reg",
    component: () => import("@/views/login/reg"),
    hidden: true
  },
  {
    path: "/demonstration",
    component: () => import("@/views/basicInfo/bigdata/Demonstration"),
    hidden: true
  },
  {
    path: "/forget-pwd",
    component: () => import("@/views/login/forget-pwd"),
    hidden: true
  },
  {
    path: "/auth-redirect",
    component: () => import("@/views/login/authredirect"),
    hidden: true
  },
  {
    path: "/404",
    component: () => import("@/views/errorPage/404"),
    hidden: true
  },
  {
    path: "/401",
    component: () => import("@/views/errorPage/401"),
    hidden: true
  },
  {
    path: "/workpiece",
    component: () => import("@/views/dashboard/wms/workpiece"),
    hidden: true
  },
  {
    path: "/warehouse",
    component: () => import("@/views/basicInfo/bigdata/com/warehouse"),
    hidden: true
  },
  {
    path: "/turnover",
    component: () => import("@/views/basicInfo/bigdata/com/turnover"),
    hidden: true
  },
  {
    path: "",
    component: Layout,
    redirect: "dashboard",
    children: [{
      path: "/dashboard",
      component: () => import("@/views/dashboard/index"),
      name: "dashboard",
      meta: {
        title: "dashboard",
        icon: "menu-icon el-icon-yrt-shouye",
        noCache: true,
        menuName: "首页",
        level: 1
      }
    }]
  } /* *************** 自定义路由 - 打印页面 ***************** */ ,
  {
    path: "/print/base/:menu_id/:ids",
    component: () => import("@/views/sys/print/base"),
    hidden: true
  },
  {
    path: "/print/base-template-id/:menu_id/:tid/:ids",
    component: () => import("@/views/sys/print/base-template-id"),
    hidden: true
  },
  {
    path: "/print/base2/:type/:ids",
    component: () => import("@/views/sys/print/base2"),
    hidden: true
  },
  {
    path: "/print/send-list/",
    component: () => import("@/views/outbound/sale/components/sendlist-print"),
    hidden: true
  },
  {
    path: "/print/outer-list/",
    component: () => import("@/views/outbound/sale/components/outer-print"),
    hidden: true
  },
  {
    path: "/inbound/purchase/print-barcode",
    component: () => import("@/views/inbound/purchase/components/print-barcode"),
    hidden: true
  },
  {
    path: "/inbound/purchase/print-barcode-setting",
    component: () => import("@/views/inbound/purchase/components/print-barcode-setting"),
    hidden: true
  },
  {
    path: "/storage/transfer/position-transfer-print-barcode",
    component: () => import("@/views/storage/transfer/components/position-transfer-print-barcode"),
    hidden: true
  },
  {
    path: "/storage/base/position-group-print-barcode",
    component: () => import("@/views/storage/base/components/position-group-print-barcode"),
    hidden: true
  },
  {
    path: "/outbound/operation/order-pick-bill-print/:ids",
    component: () => import("@/views/outbound/operation/order-pick-bill-print"),
    hidden: true
  },
  {
    path: "/outbound/require/allocation-pick-bill-print/:ids",
    component: () => import("@/views/outbound/require/allocation-pick-bill-print"),
    hidden: true
  }
]; // 发货单打印 // 发货单打印 // 要货单波次打印
 
export default new Router({
  //  mode: 'history', //  require service support
  scrollBehavior: () => ({
    y: 0
  }),
  routes: constantRouterMap
});