index.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. import Vue from "vue";
  2. import Router from "vue-router";
  3. import routerBefore from "@/config/routerBefore.js";
  4. // 主要
  5. import main from "@/components/main.vue";
  6. // 系统配置管理
  7. const editBill = () => import( "../components/billingOrder/updateBill.vue");
  8. const intrainst_real = () => import( "../components/intrainst/intrainst_real.vue");
  9. const offsite_check = () => import( "../components/offsite/offsite_check.vue");
  10. const offsite_close = () => import( "../components/offsite/offsite_close.vue");
  11. const offsite_inbound = () => import( "../components/offsite/offsite_inbound.vue");
  12. const offsite_outbound = () => import( "../components/offsite/offsite_outbound.vue");
  13. const offsite_sendreceive = () => import( "../components/offsite/offsite_sendreceive.vue");
  14. const loadPortStock = () => import( "../components/port_deposit/loadPortStock.vue");
  15. const port_deposit_inbound_add = () => import( "../components/port_deposit/port_deposit_inbound_add.vue");
  16. const port_deposit_inbound_edit = () => import( "../components/port_deposit/port_deposit_inbound_edit.vue");
  17. const port_deposit_inbound = () => import( "../components/port_deposit/port_deposit_inbound.vue");
  18. const port_deposit_outbound = () => import( "../components/port_deposit/port_deposit_outbound.vue");
  19. const unloadPortStock = () => import( "../components/port_deposit/unloadPortStock.vue");
  20. const addTransfer = () => import( "../components/steel/addTransfer.vue");
  21. const billOfLading = () => import( "../components/steel/billOfLading.vue");
  22. const billOfLadingAdd = () => import( "../components/steel/billOfLadingAdd.vue");
  23. const editSteel_restack = () => import( "../components/steel/editSteel_restack.vue");
  24. const inboundDetails = () => import( "../components/steel/inboundDetails.vue");
  25. const insertCheckInventory = () => import( "../components/steel/insertCheckInventory.vue");
  26. const insertTransfer = () => import( "../components/steel/insertTransfer.vue");
  27. const steel_check = () => import( "../components/steel/steel_check.vue");
  28. const steel_close = () => import( "../components/steel/steel_close.vue");
  29. const steel_inbound = () => import( "../components/steel/steel_inbound.vue");
  30. const steel_inboundReal = () => import( "../components/steel/steel_inboundReal.vue");
  31. const steel_reserved = () => import( "../components/steel/steel_reserved.vue");
  32. const steel_outbound = () => import( "../components/steel/steel_outbound.vue");
  33. const steel_real = () => import( "../components/steel/steel_real.vue");
  34. const steel_realDown = () => import( "../components/steel/steel_realDown.vue");
  35. const steel_rebound = () => import( "../components/steel/steel_rebound.vue");
  36. const steel_restack = () => import( "../components/steel/steel_restack.vue");
  37. const steel_restackAdd = () => import( "../components/steel/steel_restackAdd.vue");
  38. const steel_sendreceive = () => import( "../components/steel/steel_sendreceive.vue");
  39. const steel_transfer = () => import( "../components/steel/steel_transfer.vue");
  40. const steel_checkWarehouse = () => import( "../components/steel/checkWarehouse.vue");
  41. const steel_addCheckWarehouse = () => import( "../components/steel/addCheckWarehouse.vue");
  42. const addSteelInbound = () => import( "../components/steel/addSteelInbound.vue");
  43. const addSteelReserved = () => import( "../components/steel/addSteelReserved.vue");
  44. const steel_outboundStatistics = () => import( "../components/steel/steel_outboundStatistics.vue");
  45. const steel_inboundStatistics = () => import( "../components/steel/steel_inboundStatistics.vue");
  46. const inboundEas03 = () => import( "../components/steel/inboundEas03.vue");
  47. // 一帮库页面配置
  48. const bar1_addTransfer = () => import( "../components/steel/bar1_steel/bar1_addTransfer.vue");
  49. const bar1_billOfLading = () => import( "../components/steel/bar1_steel/bar1_billOfLading.vue");
  50. const bar1_billOfLadingAdd = () => import( "../components/steel/bar1_steel/bar1_billOfLadingAdd.vue");
  51. const bar1_editSteel_restack = () => import( "../components/steel/bar1_steel/bar1_editSteel_restack.vue");
  52. const bar1_inboundDetails = () => import( "../components/steel/bar1_steel/bar1_inboundDetails.vue");
  53. const bar1_insertCheckInventory = () => import( "../components/steel/bar1_steel/bar1_insertCheckInventory.vue");
  54. const bar1_insertTransfer = () => import( "../components/steel/bar1_steel/bar1_insertTransfer.vue");
  55. const bar1_steel_check = () => import( "../components/steel/bar1_steel/bar1_steel_check.vue");
  56. const bar1_steel_close = () => import( "../components/steel/bar1_steel/bar1_steel_close.vue");
  57. const bar1_steel_inbound = () => import( "../components/steel/bar1_steel/bar1_steel_inbound.vue");
  58. const bar1_steel_inboundReal = () => import( "../components/steel/bar1_steel/bar1_steel_inboundReal.vue");
  59. const bar1_steel_reserved = () => import( "../components/steel/bar1_steel/bar1_steel_reserved.vue");
  60. const bar1_steel_outbound = () => import( "../components/steel/bar1_steel/bar1_steel_outbound.vue");
  61. const bar1_steel_real = () => import( "../components/steel/bar1_steel/bar1_steel_real.vue");
  62. const bar1_steel_realDown = () => import( "../components/steel/bar1_steel/bar1_steel_realDown.vue");
  63. const bar1_steel_rebound = () => import( "../components/steel/bar1_steel/bar1_steel_rebound.vue");
  64. const bar1_steel_restack = () => import( "../components/steel/bar1_steel/bar1_steel_restack.vue");
  65. const bar1_steel_restackAdd = () => import( "../components/steel/bar1_steel/bar1_steel_restackAdd.vue");
  66. const bar1_steel_sendreceive = () => import( "../components/steel/bar1_steel/bar1_steel_sendreceive.vue");
  67. const bar1_steel_transfer = () => import( "../components/steel/bar1_steel/bar1_steel_transfer.vue");
  68. const bar1_steel_checkWarehouse = () => import( "../components/steel/bar1_steel/bar1_checkWarehouse.vue");
  69. const bar1_steel_addCheckWarehouse = () => import( "../components/steel/bar1_steel/bar1_addCheckWarehouse.vue");
  70. const bar1_addSteelInbound = () => import( "../components/steel/bar1_steel/bar1_addSteelInbound.vue");
  71. const bar1_addSteelReserved = () => import( "../components/steel/bar1_steel/bar1_addSteelReserved.vue");
  72. const bar1_steel_inboundStatistics = () => import( "../components/steel/bar1_steel/bar1_steel_inboundStatistics.vue");
  73. const bar1_steel_outboundStatistics = () => import( "../components/steel/bar1_steel/bar1_steel_outboundStatistics.vue");
  74. const inboundEas01 = () => import( "../components/steel/bar1_steel/inboundEas01.vue");
  75. // 二棒库路径配置
  76. const bar2_addTransfer = () => import( "../components/steel/bar2_steel/bar2_addTransfer.vue");
  77. const bar2_billOfLading = () => import( "../components/steel/bar2_steel/bar2_billOfLading.vue");
  78. const bar2_billOfLadingAdd = () => import( "../components/steel/bar2_steel/bar2_billOfLadingAdd.vue");
  79. const bar2_editSteel_restack = () => import( "../components/steel/bar2_steel/bar2_editSteel_restack.vue");
  80. const bar2_inboundDetails = () => import( "../components/steel/bar2_steel/bar2_inboundDetails.vue");
  81. const bar2_insertCheckInventory = () => import( "../components/steel/bar2_steel/bar2_insertCheckInventory.vue");
  82. const bar2_insertTransfer = () => import( "../components/steel/bar2_steel/bar2_insertTransfer.vue");
  83. const bar2_steel_check = () => import( "../components/steel/bar2_steel/bar2_steel_check.vue");
  84. const bar2_steel_close = () => import( "../components/steel/bar2_steel/bar2_steel_close.vue");
  85. const bar2_steel_inbound = () => import( "../components/steel/bar2_steel/bar2_steel_inbound.vue");
  86. const bar2_steel_inboundReal = () => import( "../components/steel/bar2_steel/bar2_steel_inboundReal.vue");
  87. const bar2_steel_reserved = () => import( "../components/steel/bar2_steel/bar2_steel_reserved.vue");
  88. const bar2_steel_outbound = () => import( "../components/steel/bar2_steel/bar2_steel_outbound.vue");
  89. const bar2_steel_real = () => import( "../components/steel/bar2_steel/bar2_steel_real.vue");
  90. const bar2_steel_realDown = () => import( "../components/steel/bar2_steel/bar2_steel_realDown.vue");
  91. const bar2_steel_rebound = () => import( "../components/steel/bar2_steel/bar2_steel_rebound.vue");
  92. const bar2_steel_restack = () => import( "../components/steel/bar2_steel/bar2_steel_restack.vue");
  93. const bar2_steel_restackAdd = () => import( "../components/steel/bar2_steel/bar2_steel_restackAdd.vue");
  94. const bar2_steel_sendreceive = () => import( "../components/steel/bar2_steel/bar2_steel_sendreceive.vue");
  95. const bar2_steel_transfer = () => import( "../components/steel/bar2_steel/bar2_steel_transfer.vue");
  96. const bar2_steel_checkWarehouse = () => import( "../components/steel/bar2_steel/bar2_checkWarehouse.vue");
  97. const bar2_steel_addCheckWarehouse = () => import( "../components/steel/bar2_steel/bar2_addCheckWarehouse.vue");
  98. const bar2_addSteelInbound = () => import( "../components/steel/bar2_steel/bar2_addSteelInbound.vue");
  99. const bar2_addSteelReserved = () => import( "../components/steel/bar2_steel/bar2_addSteelReserved.vue");
  100. const bar2_steel_inboundStatistics = () => import( "../components/steel/bar2_steel/bar2_steel_inboundStatistics.vue");
  101. const bar2_steel_outboundStatistics = () => import( "../components/steel/bar2_steel/bar2_steel_outboundStatistics.vue");
  102. const wmsOrderDetails = () => import( "../components/billingOrder/orderDetails.vue");
  103. const inboundEas02 = () => import( "../components/steel/bar2_steel/inboundEas02.vue");
  104. Vue.use(Router);
  105. const constantRouterMap = [
  106. {
  107. path: "/",
  108. name: "main",
  109. meta: { title: "首页", code: "xtpzgl" },
  110. component: main,
  111. redirect: { name: "intrainst_real" },
  112. children: [
  113. {
  114. path: "intrainst_real",
  115. name: "intrainst_real",
  116. meta: { code: "xtpzgl-jggl" },
  117. component: intrainst_real
  118. },
  119. {
  120. path: "offsite_check",
  121. name: "offsite_check",
  122. meta: { code: "xtpzgl-yhgl" },
  123. component: offsite_check
  124. },
  125. {
  126. path: "offsite_close",
  127. name: "offsite_close",
  128. meta: { code: "xtpzgl-yhgl" },
  129. component: offsite_close
  130. },
  131. {
  132. path: "offsite_inbound",
  133. name: "offsite_inbound",
  134. meta: { code: "xtpzgl-yhgl" },
  135. component: offsite_inbound
  136. },
  137. {
  138. path: "offsite_outbound",
  139. name: "offsite_outbound",
  140. meta: { code: "xtpzgl-yhgl" },
  141. component: offsite_outbound
  142. },
  143. {
  144. path: "offsite_sendreceive",
  145. name: "offsite_sendreceive",
  146. meta: { code: "xtpzgl-yhgl" },
  147. component: offsite_sendreceive
  148. },
  149. {
  150. path: "loadPortStock",
  151. name: "loadPortStock",
  152. meta: { code: "xtpzgl-yhgl" },
  153. component: loadPortStock
  154. },
  155. {
  156. path: "port_deposit_inbound_add",
  157. name: "port_deposit_inbound_add",
  158. meta: { code: "xtpzgl-yhgl" },
  159. component: port_deposit_inbound_add
  160. },
  161. {
  162. path: "port_deposit_inbound_edit/:resultId",
  163. name: "port_deposit_inbound_edit",
  164. meta: { code: "xtpzgl-yhgl" },
  165. component: port_deposit_inbound_edit
  166. },
  167. {
  168. path: "port_deposit_inbound",
  169. name: "port_deposit_inbound",
  170. meta: { code: "xtpzgl-yhgl" },
  171. component: port_deposit_inbound
  172. },
  173. {
  174. path: "port_deposit_outbound",
  175. name: "port_deposit_outbound",
  176. meta: { code: "xtpzgl-yhgl" },
  177. component: port_deposit_outbound
  178. },
  179. {
  180. path: "unloadPortStock",
  181. name: "unloadPortStock",
  182. meta: { code: "xtpzgl-yhgl" },
  183. component: unloadPortStock
  184. },
  185. {
  186. path: "addTransfer",
  187. name: "addTransfer",
  188. meta: { code: "xtpzgl-yhgl" },
  189. component: addTransfer
  190. },
  191. {
  192. path: "billOfLading",
  193. name: "billOfLading",
  194. meta: { code: "xtpzgl-yhgl" },
  195. component: billOfLading
  196. },
  197. {
  198. path: "billOfLadingAdd/:orderId",
  199. name: "billOfLadingAdd",
  200. meta: { code: "xtpzgl-yhgl" },
  201. component: billOfLadingAdd
  202. },
  203. {
  204. path: "editSteel_restack/:resultId",
  205. name: "editSteel_restack",
  206. meta: { code: "xtpzgl-yhgl" },
  207. component: editSteel_restack
  208. },
  209. {
  210. path: "inboundDetails/:inboundId",
  211. name: "inboundDetails",
  212. meta: { code: "xtpzgl-yhgl" },
  213. component: inboundDetails
  214. },
  215. {
  216. path: "insertCheckInventory",
  217. name: "insertCheckInventory",
  218. meta: { code: "xtpzgl-yhgl" },
  219. component: insertCheckInventory
  220. },
  221. {
  222. path: "insertTransfer",
  223. name: "insertTransfer",
  224. meta: { code: "xtpzgl-yhgl" },
  225. component: insertTransfer
  226. },
  227. {
  228. path: "steel_check",
  229. name: "steel_check",
  230. meta: { code: "xtpzgl-yhgl" },
  231. component: steel_check
  232. },
  233. {
  234. path: "steel_close",
  235. name: "steel_close",
  236. meta: { code: "xtpzgl-yhgl" },
  237. component: steel_close
  238. },
  239. {
  240. path: "steel_inbound",
  241. name: "steel_inbound",
  242. meta: { code: "xtpzgl-yhgl" },
  243. component: steel_inbound
  244. },
  245. {
  246. path: "steel_inboundReal",
  247. name: "steel_inboundReal",
  248. meta: { code: "xtpzgl-yhgl" },
  249. component: steel_inboundReal
  250. },
  251. {
  252. path: "steel_reserved",
  253. name: "steel_reserved",
  254. meta: { code: "xtpzgl-yhgl" },
  255. component: steel_reserved
  256. },
  257. {
  258. path: "steel_outbound",
  259. name: "steel_outbound",
  260. meta: { code: "xtpzgl-yhgl" },
  261. component: steel_outbound
  262. },
  263. {
  264. path: "steel_real",
  265. name: "steel_real",
  266. meta: { code: "xtpzgl-yhgl" },
  267. component: steel_real
  268. },
  269. {
  270. path: "steel_realDown/gridId",
  271. name: "steel_realDown",
  272. meta: { code: "xtpzgl-yhgl" },
  273. component: steel_realDown
  274. },
  275. {
  276. path: "steel_rebound",
  277. name: "steel_rebound",
  278. meta: { code: "xtpzgl-yhgl" },
  279. component: steel_rebound
  280. },
  281. {
  282. path: "steel_restack",
  283. name: "steel_restack",
  284. meta: { code: "xtpzgl-yhgl" },
  285. component: steel_restack
  286. },
  287. {
  288. path: "steel_restackAdd",
  289. name: "steel_restackAdd",
  290. meta: { code: "xtpzgl-yhgl" },
  291. component: steel_restackAdd
  292. },
  293. {
  294. path: "steel_sendreceive",
  295. name: "steel_sendreceive",
  296. meta: { code: "xtpzgl-yhgl" },
  297. component: steel_sendreceive
  298. },
  299. {
  300. path: "steel_transfer",
  301. name: "steel_transfer",
  302. meta: { code: "xtpzgl-yhgl" },
  303. component: steel_transfer
  304. },
  305. {
  306. path: "steel_checkWarehouse",
  307. name: "steel_checkWarehouse",
  308. meta: { code: "xtpzgl-yhgl" },
  309. component: steel_checkWarehouse
  310. },
  311. {
  312. path: "steel_addCheckWarehouse",
  313. name: "steel_addCheckWarehouse",
  314. meta: { code: "xtpzgl-yhgl" },
  315. component: steel_addCheckWarehouse
  316. },
  317. {
  318. path: "addSteelInbound",
  319. name: "addSteelInbound",
  320. meta: { code: "xtpzgl-yhgl" },
  321. component: addSteelInbound
  322. },
  323. {
  324. path: "addSteelReserved",
  325. name: "addSteelReserved",
  326. meta: { code: "xtpzgl-yhgl" },
  327. component: addSteelReserved
  328. },
  329. {
  330. path: "steel_inboundStatistics",
  331. name: "steel_inboundStatistics",
  332. meta: { code: "xtpzgl-yhgl" },
  333. component: steel_inboundStatistics
  334. },
  335. {
  336. path: "steel_outboundStatistics",
  337. name: "steel_outboundStatistics",
  338. meta: { code: "xtpzgl-yhgl" },
  339. component: steel_outboundStatistics
  340. },
  341. {
  342. path: "bar1_addTransfer",
  343. name: "bar1_addTransfer",
  344. meta: { code: "xtpzgl-yhgl" },
  345. component: bar1_addTransfer
  346. },
  347. {
  348. path: "bar1_billOfLading",
  349. name: "bar1_billOfLading",
  350. meta: { code: "xtpzgl-yhgl" },
  351. component: bar1_billOfLading
  352. },
  353. {
  354. path: "bar1_billOfLadingAdd/:orderId",
  355. name: "bar1_billOfLadingAdd",
  356. meta: { code: "xtpzgl-yhgl" },
  357. component: bar1_billOfLadingAdd
  358. },
  359. {
  360. path: "bar1_editSteel_restack/:resultId",
  361. name: "bar1_editSteel_restack",
  362. meta: { code: "xtpzgl-yhgl" },
  363. component: bar1_editSteel_restack
  364. },
  365. {
  366. path: "bar1_inboundDetails/:inboundId",
  367. name: "bar1_inboundDetails",
  368. meta: { code: "xtpzgl-yhgl" },
  369. component: bar1_inboundDetails
  370. },
  371. {
  372. path: "bar1_insertCheckInventory",
  373. name: "bar1_insertCheckInventory",
  374. meta: { code: "xtpzgl-yhgl" },
  375. component: bar1_insertCheckInventory
  376. },
  377. {
  378. path: "bar1_insertTransfer",
  379. name: "bar1_insertTransfer",
  380. meta: { code: "xtpzgl-yhgl" },
  381. component: bar1_insertTransfer
  382. },
  383. {
  384. path: "bar1_steel_check",
  385. name: "bar1_steel_check",
  386. meta: { code: "xtpzgl-yhgl" },
  387. component: bar1_steel_check
  388. },
  389. {
  390. path: "bar1_steel_close",
  391. name: "bar1_steel_close",
  392. meta: { code: "xtpzgl-yhgl" },
  393. component: bar1_steel_close
  394. },
  395. {
  396. path: "bar1_steel_inbound",
  397. name: "bar1_steel_inbound",
  398. meta: { code: "xtpzgl-yhgl" },
  399. component: bar1_steel_inbound
  400. },
  401. {
  402. path: "bar1_steel_inboundReal",
  403. name: "bar1_steel_inboundReal",
  404. meta: { code: "xtpzgl-yhgl" },
  405. component: bar1_steel_inboundReal
  406. },
  407. {
  408. path: "bar1_steel_reserved",
  409. name: "bar1_steel_reserved",
  410. meta: { code: "xtpzgl-yhgl" },
  411. component: bar1_steel_reserved
  412. },
  413. {
  414. path: "bar1_steel_outbound",
  415. name: "bar1_steel_outbound",
  416. meta: { code: "xtpzgl-yhgl" },
  417. component: bar1_steel_outbound
  418. },
  419. {
  420. path: "bar1_steel_real",
  421. name: "bar1_steel_real",
  422. meta: { code: "xtpzgl-yhgl" },
  423. component: bar1_steel_real
  424. },
  425. {
  426. path: "bar1_steel_realDown/gridId",
  427. name: "bar1_steel_realDown",
  428. meta: { code: "xtpzgl-yhgl" },
  429. component: bar1_steel_realDown
  430. },
  431. {
  432. path: "bar1_steel_rebound",
  433. name: "bar1_steel_rebound",
  434. meta: { code: "xtpzgl-yhgl" },
  435. component: bar1_steel_rebound
  436. },
  437. {
  438. path: "bar1_steel_restack",
  439. name: "bar1_steel_restack",
  440. meta: { code: "xtpzgl-yhgl" },
  441. component: bar1_steel_restack
  442. },
  443. {
  444. path: "bar1_steel_restackAdd",
  445. name: "bar1_steel_restackAdd",
  446. meta: { code: "xtpzgl-yhgl" },
  447. component: bar1_steel_restackAdd
  448. },
  449. {
  450. path: "bar1_steel_sendreceive",
  451. name: "bar1_steel_sendreceive",
  452. meta: { code: "xtpzgl-yhgl" },
  453. component: bar1_steel_sendreceive
  454. },
  455. {
  456. path: "bar1_steel_transfer",
  457. name: "bar1_steel_transfer",
  458. meta: { code: "xtpzgl-yhgl" },
  459. component: bar1_steel_transfer
  460. },
  461. {
  462. path: "bar1_steel_checkWarehouse",
  463. name: "bar1_steel_checkWarehouse",
  464. meta: { code: "xtpzgl-yhgl" },
  465. component: bar1_steel_checkWarehouse
  466. },
  467. {
  468. path: "bar1_steel_addCheckWarehouse",
  469. name: "bar1_steel_addCheckWarehouse",
  470. meta: { code: "xtpzgl-yhgl" },
  471. component: bar1_steel_addCheckWarehouse
  472. },
  473. {
  474. path: "bar1_addSteelInbound",
  475. name: "bar1_addSteelInbound",
  476. meta: { code: "xtpzgl-yhgl" },
  477. component: bar1_addSteelInbound
  478. },
  479. {
  480. path: "bar1_addSteelReserved",
  481. name: "bar1_addSteelReserved",
  482. meta: { code: "xtpzgl-yhgl" },
  483. component: bar1_addSteelReserved
  484. },
  485. {
  486. path: "bar1_steel_inboundStatistics",
  487. name: "bar1_steel_inboundStatistics",
  488. meta: { code: "xtpzgl-yhgl" },
  489. component: bar1_steel_inboundStatistics
  490. },
  491. {
  492. path: "bar1_steel_outboundStatistics",
  493. name: "bar1_steel_outboundStatistics",
  494. meta: { code: "xtpzgl-yhgl" },
  495. component: bar1_steel_outboundStatistics
  496. },
  497. {
  498. path: "bar2_addTransfer",
  499. name: "bar2_addTransfer",
  500. meta: { code: "xtpzgl-yhgl" },
  501. component: bar2_addTransfer
  502. },
  503. {
  504. path: "bar2_billOfLading",
  505. name: "bar2_billOfLading",
  506. meta: { code: "xtpzgl-yhgl" },
  507. component: bar2_billOfLading
  508. },
  509. {
  510. path: "bar2_billOfLadingAdd/:orderId",
  511. name: "bar2_billOfLadingAdd",
  512. meta: { code: "xtpzgl-yhgl" },
  513. component: bar2_billOfLadingAdd
  514. },
  515. {
  516. path: "bar2_editSteel_restack/:resultId",
  517. name: "bar2_editSteel_restack",
  518. meta: { code: "xtpzgl-yhgl" },
  519. component: bar2_editSteel_restack
  520. },
  521. {
  522. path: "bar2_inboundDetails/:inboundId",
  523. name: "bar2_inboundDetails",
  524. meta: { code: "xtpzgl-yhgl" },
  525. component: bar2_inboundDetails
  526. },
  527. {
  528. path: "bar2_insertCheckInventory",
  529. name: "bar2_insertCheckInventory",
  530. meta: { code: "xtpzgl-yhgl" },
  531. component: bar2_insertCheckInventory
  532. },
  533. {
  534. path: "bar2_insertTransfer",
  535. name: "bar2_insertTransfer",
  536. meta: { code: "xtpzgl-yhgl" },
  537. component: bar2_insertTransfer
  538. },
  539. {
  540. path: "bar2_steel_check",
  541. name: "bar2_steel_check",
  542. meta: { code: "xtpzgl-yhgl" },
  543. component: bar2_steel_check
  544. },
  545. {
  546. path: "bar2_steel_close",
  547. name: "bar2_steel_close",
  548. meta: { code: "xtpzgl-yhgl" },
  549. component: bar2_steel_close
  550. },
  551. {
  552. path: "bar2_steel_inbound",
  553. name: "bar2_steel_inbound",
  554. meta: { code: "xtpzgl-yhgl" },
  555. component: bar2_steel_inbound
  556. },
  557. {
  558. path: "bar2_steel_inboundReal",
  559. name: "bar2_steel_inboundReal",
  560. meta: { code: "xtpzgl-yhgl" },
  561. component: bar2_steel_inboundReal
  562. },
  563. {
  564. path: "bar2_steel_reserved",
  565. name: "bar2_steel_reserved",
  566. meta: { code: "xtpzgl-yhgl" },
  567. component: bar2_steel_reserved
  568. },
  569. {
  570. path: "bar2_steel_outbound",
  571. name: "bar2_steel_outbound",
  572. meta: { code: "xtpzgl-yhgl" },
  573. component: bar2_steel_outbound
  574. },
  575. {
  576. path: "bar2_steel_real",
  577. name: "bar2_steel_real",
  578. meta: { code: "xtpzgl-yhgl" },
  579. component: bar2_steel_real
  580. },
  581. {
  582. path: "bar2_steel_realDown/gridId",
  583. name: "bar2_steel_realDown",
  584. meta: { code: "xtpzgl-yhgl" },
  585. component: bar2_steel_realDown
  586. },
  587. {
  588. path: "bar2_steel_rebound",
  589. name: "bar2_steel_rebound",
  590. meta: { code: "xtpzgl-yhgl" },
  591. component: bar2_steel_rebound
  592. },
  593. {
  594. path: "bar2_steel_restack",
  595. name: "bar2_steel_restack",
  596. meta: { code: "xtpzgl-yhgl" },
  597. component: bar2_steel_restack
  598. },
  599. {
  600. path: "bar2_steel_restackAdd",
  601. name: "bar2_steel_restackAdd",
  602. meta: { code: "xtpzgl-yhgl" },
  603. component: bar2_steel_restackAdd
  604. },
  605. {
  606. path: "bar2_steel_sendreceive",
  607. name: "bar2_steel_sendreceive",
  608. meta: { code: "xtpzgl-yhgl" },
  609. component: bar2_steel_sendreceive
  610. },
  611. {
  612. path: "bar2_steel_transfer",
  613. name: "bar2_steel_transfer",
  614. meta: { code: "xtpzgl-yhgl" },
  615. component: bar2_steel_transfer
  616. },
  617. {
  618. path: "bar2_steel_checkWarehouse",
  619. name: "bar2_steel_checkWarehouse",
  620. meta: { code: "xtpzgl-yhgl" },
  621. component: bar2_steel_checkWarehouse
  622. },
  623. {
  624. path: "bar2_steel_addCheckWarehouse",
  625. name: "bar2_steel_addCheckWarehouse",
  626. meta: { code: "xtpzgl-yhgl" },
  627. component: bar2_steel_addCheckWarehouse
  628. },
  629. {
  630. path: "bar2_addSteelInbound",
  631. name: "bar2_addSteelInbound",
  632. meta: { code: "xtpzgl-yhgl" },
  633. component: bar2_addSteelInbound
  634. },
  635. {
  636. path: "bar2_addSteelReserved",
  637. name: "bar2_addSteelReserved",
  638. meta: { code: "xtpzgl-yhgl" },
  639. component: bar2_addSteelReserved
  640. },
  641. {
  642. path: "bar2_steel_inboundStatistics",
  643. name: "bar2_steel_inboundStatistics",
  644. meta: { code: "xtpzgl-yhgl" },
  645. component: bar2_steel_inboundStatistics
  646. },
  647. {
  648. path: "bar2_steel_outboundStatistics",
  649. name: "bar2_steel_outboundStatistics",
  650. meta: { code: "xtpzgl-yhgl" },
  651. component: bar2_steel_outboundStatistics
  652. },
  653. {
  654. path: "editBill",
  655. name: "editBill",
  656. meta: { code: "xtpzgl-yhgl" },
  657. component: editBill
  658. },
  659. {
  660. path: "wmsOrderDetails",
  661. name: "wmsOrderDetails",
  662. meta: { code: "xtpzgl-yhgl" },
  663. component: wmsOrderDetails
  664. },
  665. {
  666. path: "inboundEas01",
  667. name: "inboundEas01",
  668. meta: { code: "xtpzgl-yhgl" },
  669. component: inboundEas01
  670. },
  671. {
  672. path: "inboundEas02",
  673. name: "inboundEas02",
  674. meta: { code: "xtpzgl-yhgl" },
  675. component: inboundEas02
  676. },
  677. {
  678. path: "inboundEas03",
  679. name: "inboundEas03",
  680. meta: { code: "xtpzgl-yhgl" },
  681. component: inboundEas03
  682. }
  683. ]
  684. }
  685. ];
  686. const router = new Router({
  687. routes: constantRouterMap
  688. });
  689. // before
  690. routerBefore(router, constantRouterMap);
  691. export default router;
  692. // constantRouterMap
  693. export const routes = constantRouterMap;