route-wms-v3.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. import {
  2. HelloWorld,
  3. WmsSetting,
  4. GradeDefinition,
  5. GeneratePosition,
  6. InventoryPrint,
  7. InventoryPrintScan,
  8. StockOutPrepareLine,
  9. PickingCar,
  10. StockOutPrepareApproved,
  11. StockOutPrepateTemplate,
  12. StockOutPrepateTemplateRecording,
  13. StockOutPrepareTemplateApproved,
  14. StockOutPrepareLineAddProject,
  15. StockOutPrepareLineProjectReceivingAddress,
  16. StockOutPrepareLineProjectShippingAddress,
  17. PurchaseOrderLinePrint,
  18. PositionPrint,
  19. PurchaseOrderPrint,
  20. QueryPurchaseOrderLine,
  21. PackInventoryInstance,
  22. NeedPrint,
  23. Printed,
  24. PrintInventoryInstance,
  25. CheckProfit,
  26. CheckLoss,
  27. StockInLineInstance,
  28. StockOutLineInstance,
  29. PurchaseOrderLineTraceEdit,
  30. CurrentStock,
  31. StockLedger,
  32. GenerateToolRequest,
  33. AutoGenerateInventorySafeStock,
  34. AutoGenerateInventoryClassSafeStock,
  35. ProjectItemAdjust,
  36. InvoiceGenerate,
  37. BalanceInventory,
  38. VouchCheck,
  39. ExpressInquiry,
  40. RepertoryCheck,
  41. InventorySearchDetail,
  42. GenerateDocumentTool,
  43. InventoryCheckLoss,
  44. AdjustPositions,
  45. CurrentStockProjectItemManger,
  46. UploadTrainingVideo,
  47. SynchronousMaintenanceForm,
  48. QueryMaintenancePlan,
  49. LightSetting,
  50. LightStockInOrOut,
  51. ShelfBoard,
  52. } from 'client-wms-v3/dist/client-wms-v3.js';
  53. const routes = [
  54. { path: '/wms/hello-world', component: HelloWorld },
  55. // 仓库设置
  56. {
  57. path: '/wms/wmsSetting', component: WmsSetting,
  58. meta: {
  59. 'loginRequired': true,
  60. 'functionAccessArray': [
  61. {
  62. 'functionNo': '20220328_095118',
  63. 'itemNo': '1',
  64. },
  65. ],
  66. },
  67. },
  68. // 编码定义
  69. {
  70. path: '/wms/gradeDefinition', component: GradeDefinition,
  71. meta: {
  72. 'loginRequired': true,
  73. 'functionAccessArray': [
  74. {
  75. 'functionNo': '20220328_095118',
  76. 'itemNo': '1',
  77. },
  78. ],
  79. },
  80. },
  81. // 生成货位
  82. { path: '/wms/generatePosition/:uuid', component: GeneratePosition },
  83. // 采购入库打印
  84. {
  85. path: '/wms/inventoryPrint', component: InventoryPrint,
  86. meta: {
  87. 'loginRequired': true,
  88. 'functionAccessArray': [
  89. {
  90. 'functionNo': '20220328_095118',
  91. 'itemNo': '1',
  92. },
  93. ],
  94. },
  95. },
  96. // 扫描入库打印
  97. {
  98. path: '/wms/inventoryPrintScan', component: InventoryPrintScan,
  99. meta: {
  100. 'loginRequired': true,
  101. 'functionAccessArray': [
  102. {
  103. 'functionNo': '20220328_095118',
  104. 'itemNo': '1',
  105. },
  106. ],
  107. },
  108. },
  109. // 领用界面
  110. {
  111. path: '/wms/stockOutPrepareLine', component: StockOutPrepareLine,
  112. meta: {
  113. 'loginRequired': true,
  114. 'functionAccessArray': [
  115. {
  116. 'functionNo': '20220328_095537',
  117. 'itemNo': '5',
  118. },
  119. ],
  120. },
  121. },
  122. // 领料车界面
  123. {
  124. path: '/wms/pickingCar', component: PickingCar,
  125. meta: {
  126. 'loginRequired': true,
  127. 'functionAccessArray': [
  128. {
  129. 'functionNo': '20220328_095537',
  130. 'itemNo': '5',
  131. },
  132. ],
  133. },
  134. },
  135. // 领用记录,审批意见完成
  136. {
  137. path: '/wms/stockOutPrepareApproved', component: StockOutPrepareApproved,
  138. meta: {
  139. 'loginRequired': true,
  140. 'functionAccessArray': [
  141. {
  142. 'functionNo': '20220328_095537',
  143. 'itemNo': '5',
  144. },
  145. ],
  146. },
  147. },
  148. // 需求模板领料
  149. {
  150. path: '/wms/stockOutPrepateTemplate', component: StockOutPrepateTemplate,
  151. meta: {
  152. 'loginRequired': true,
  153. 'functionAccessArray': [
  154. {
  155. 'functionNo': '20220328_095537',
  156. 'itemNo': '5',
  157. },
  158. ],
  159. },
  160. },
  161. // 需求模板领料待提交记录
  162. {
  163. path: '/wms/stockOutPrepateTemplateRecording', component: StockOutPrepateTemplateRecording,
  164. meta: {
  165. 'loginRequired': true,
  166. 'functionAccessArray': [
  167. {
  168. 'functionNo': '20220328_095537',
  169. 'itemNo': '5',
  170. },
  171. ],
  172. },
  173. },
  174. // 需求模板领料已提交记录
  175. {
  176. path: '/wms/stockOutPrepareTemplateApproved', component: StockOutPrepareTemplateApproved,
  177. meta: {
  178. 'loginRequired': true,
  179. 'functionAccessArray': [
  180. {
  181. 'functionNo': '20220328_095537',
  182. 'itemNo': '5',
  183. },
  184. ],
  185. },
  186. },
  187. // 领料跳转添加项目
  188. {
  189. path: '/wms/stockOutPrepareLineAddProject', component: StockOutPrepareLineAddProject,
  190. meta: {
  191. 'loginRequired': true,
  192. 'functionAccessArray': [
  193. {
  194. 'functionNo': '20220328_095537',
  195. 'itemNo': '5',
  196. },
  197. ],
  198. },
  199. },
  200. // 项目事件收货信息
  201. // eslint-disable-next-line
  202. {
  203. path: '/wms/stockOutPrepareLineProjectReceivingAddress', component: StockOutPrepareLineProjectReceivingAddress,
  204. meta: {
  205. 'loginRequired': true,
  206. 'functionAccessArray': [
  207. {
  208. 'functionNo': '20220328_095537',
  209. 'itemNo': '5',
  210. },
  211. ],
  212. },
  213. },
  214. // 项目事件发货信息
  215. // eslint-disable-next-line
  216. {
  217. path: '/wms/stockOutPrepareLineProjectShippingAddress', component: StockOutPrepareLineProjectShippingAddress,
  218. meta: {
  219. 'loginRequired': true,
  220. 'functionAccessArray': [
  221. {
  222. 'functionNo': '20220328_095537',
  223. 'itemNo': '5',
  224. },
  225. ],
  226. },
  227. },
  228. // 采购订单明细打印
  229. { path: '/wms/purchaseOrderLinePrint', component: PurchaseOrderLinePrint },
  230. // 货位打印
  231. { path: '/wms/positionPrint/:uuid', component: PositionPrint },
  232. // 采购订单打印改
  233. { path: '/wms/purchaseOrderPrint', component: PurchaseOrderPrint },
  234. //采购订单打印
  235. { path: '/wms/queryPurchaseOrderLine', component: QueryPurchaseOrderLine },
  236. { path: '/wms/packInventoryInstance', component: PackInventoryInstance },
  237. { path: '/wms/needPrint', component: NeedPrint },
  238. { path: '/wms/printed', component: Printed },
  239. {
  240. path: '/wms/printInventoryInstance', component: PrintInventoryInstance,
  241. children: [
  242. {
  243. path: '/',
  244. redirect: 'needPrint',
  245. },
  246. {
  247. path: 'needPrint',
  248. component: NeedPrint,
  249. },
  250. {
  251. path: 'printed',
  252. component: Printed,
  253. }],
  254. },
  255. // 盘点单盘盈数据处理
  256. {
  257. path: '/wms/checkProfit/:uuid', component: CheckProfit,
  258. meta: {
  259. 'loginRequired': true,
  260. 'functionAccessArray': [
  261. {
  262. 'functionNo': '20220328_095537',
  263. 'itemNo': '4',
  264. },
  265. ],
  266. },
  267. },
  268. // 盘点单盘亏数据处理
  269. {
  270. path: '/wms/checkLoss/:uuid', component: CheckLoss,
  271. meta: {
  272. 'loginRequired': true,
  273. 'functionAccessArray': [
  274. {
  275. 'functionNo': '20220328_095537',
  276. 'itemNo': '4',
  277. },
  278. ],
  279. },
  280. },
  281. // 入库单指定存货实例
  282. { path: '/wms/stockInLineInstance/:uuid', component: StockInLineInstance },
  283. // 出库单指定存货实例
  284. { path: '/wms/stockOutLineInstance/:uuid', component: StockOutLineInstance },
  285. { path: '/wms/purchaseOrderLine-trace-edit', component: PurchaseOrderLineTraceEdit },
  286. // 西门字库存查询
  287. {
  288. path: '/wms/currentStock', component: CurrentStock,
  289. meta: {
  290. 'loginRequired': true,
  291. 'functionAccessArray': [
  292. {
  293. 'functionNo': '20220328_095537',
  294. 'itemNo': '7',
  295. },
  296. ],
  297. },
  298. },
  299. // 仓库库存台账
  300. {
  301. path: '/wms/stockLedger', component: StockLedger,
  302. meta: {
  303. 'loginRequired': true,
  304. 'functionAccessArray': [
  305. {
  306. 'functionNo': '20220328_095537',
  307. 'itemNo': '7',
  308. },
  309. ],
  310. },
  311. },
  312. // 根据工具安全库存生成通用工具月度需求
  313. // eslint-disable-next-line
  314. { path: '/wms/generateToolRequest/:uuid', component: GenerateToolRequest },
  315. // 自动生成存货安全库存
  316. // eslint-disable-next-line
  317. { path: '/wms/autoGenerateInventorySafeStock/:uuid', component: AutoGenerateInventorySafeStock },
  318. // 自动生成存货分类安全库存
  319. // eslint-disable-next-line
  320. { path: '/wms/autoGenerateInventoryClassSafeStock/:uuid', component: AutoGenerateInventoryClassSafeStock },
  321. // 调拨单
  322. { path: '/wms/projectItemAdjust', component: ProjectItemAdjust },
  323. // 发货单
  324. {
  325. path: '/wms/invoiceGenerate', component: InvoiceGenerate,
  326. meta: {
  327. 'loginRequired': true,
  328. 'functionAccessArray': [
  329. {
  330. 'functionNo': '20220328_095537',
  331. 'itemNo': '6',
  332. },
  333. ],
  334. },
  335. },
  336. // 结存
  337. {
  338. path: '/wms/balanceInventory', component: BalanceInventory,
  339. meta: {
  340. 'loginRequired': true,
  341. 'functionAccessArray': [
  342. {
  343. 'functionNo': '20220328_095537',
  344. 'itemNo': '7',
  345. },
  346. ],
  347. },
  348. },
  349. // 生成明细
  350. {
  351. path: '/wms/vouchCheck/:uuid', component: VouchCheck,
  352. meta: {
  353. 'loginRequired': true,
  354. 'functionAccessArray': [
  355. {
  356. 'functionNo': '20220328_095537',
  357. 'itemNo': '4',
  358. },
  359. ],
  360. },
  361. },
  362. // 快递物流信息查询
  363. { path: '/wms/expressInquiry/:uuid', component: ExpressInquiry },
  364. // 生成明细
  365. {
  366. path: '/wms/repertoryCheck/:uuid', component: RepertoryCheck,
  367. meta: {
  368. 'loginRequired': true,
  369. 'functionAccessArray': [
  370. {
  371. 'functionNo': '20220328_095537',
  372. 'itemNo': '4',
  373. },
  374. ],
  375. },
  376. },
  377. // 物料查询存货详情
  378. // eslint-disable-next-line
  379. { path: '/wms/inventorySearchDetail', component: InventorySearchDetail },
  380. // 生单组件
  381. // eslint-disable-next-line
  382. { path: '/wms/generate-document/:type/:infoWindowNo/:uuid', component: GenerateDocumentTool },
  383. { path: '/wms/asset-inventory-check-lose/:uuid', component: InventoryCheckLoss },
  384. {
  385. path: '/wms/adjustPositions', component: AdjustPositions,
  386. meta: {
  387. 'loginRequired': true,
  388. 'functionAccessArray': [
  389. {
  390. 'functionNo': '20220328_095537',
  391. 'itemNo': '7',
  392. },
  393. ],
  394. },
  395. },
  396. // 我管理项目的库存查询
  397. {
  398. path: '/wms/currentStockProjectItemManger', component: CurrentStockProjectItemManger,
  399. meta: {
  400. 'loginRequired': true,
  401. 'functionAccessArray': [
  402. {
  403. 'functionNo': '20220518_142645',
  404. 'itemNo': '3',
  405. },
  406. ],
  407. },
  408. },
  409. { path: '/wms/uploadTrainingVideo', component: UploadTrainingVideo },
  410. { path: '/wms/synchronousMaintenanceForm', component: SynchronousMaintenanceForm },
  411. { path: '/wms/queryMaintenancePlan', component: QueryMaintenancePlan },
  412. { path: '/wms/lightSetting', component: LightSetting },
  413. { path: '/wms/lightStockInOrOut', component: LightStockInOrOut },
  414. { path: '/wms/shelfBoard', component: ShelfBoard },
  415. ];
  416. export default routes;