index.js 14 KB

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