supply.js 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. import Layout from '@/views/layout/Layout'
  2. export default {
  3. path: '/supply',
  4. component: Layout,
  5. redirect: 'noredirect',
  6. name: 'supplyManage',
  7. alwaysShow: true,
  8. meta: {
  9. title: 'supplyManage',
  10. icon: 'supply',
  11. isChild: true
  12. },
  13. children: [
  14. {
  15. path: '/supply/query',
  16. component: () => import('@/xt_pages/supply/supplyQuery'),
  17. name: 'supplyQuery',
  18. meta: { title: 'supplyQuery', noCache: true }
  19. },
  20. {
  21. path: '/supply/add',
  22. component: () => import('@/xt_pages/supply/components/addSupply'),
  23. name: 'addSupply',
  24. hidden: true,
  25. is_menu: false,
  26. meta: { title: 'addSupply', noCache: true },
  27. isChild: true
  28. },
  29. {
  30. path: '/supply/Popup',
  31. component: () => import('@/xt_pages/supply/components/Popup'),
  32. name: 'Popup',
  33. hidden: true,
  34. is_menu: false,
  35. meta: { title: 'Popup', noCache: true },
  36. isChild: true
  37. },
  38. {
  39. path: '/supply/edit',
  40. component: () => import('@/xt_pages/supply/components/editSupply'),
  41. name: 'editSupply',
  42. hidden: true,
  43. is_menu: false,
  44. meta: { title: 'editSupply', noCache: true },
  45. isChild: true
  46. },
  47. {
  48. path: 'purchase/order/query',
  49. component: () => import('@/xt_pages/supply/purchaseOrderQuery'),
  50. name: 'purchaseOrderQuery',
  51. meta: { title: 'purchaseOrderQuery', noCache: true }
  52. },
  53. {
  54. path: '/purchase/order/add',
  55. component: () => import('@/xt_pages/supply/components/addPurchaseOrder'),
  56. name: 'addPurchaseOrder',
  57. meta: { title: 'addPurchaseOrder', noCache: true },
  58. hidden: true,
  59. is_menu: false,
  60. isChild: true
  61. },
  62. {
  63. path: '/purchase/order/edit',
  64. component: () => import('@/xt_pages/supply/components/editPurchaseOrder'),
  65. name: 'editPurchaseOrder',
  66. meta: { title: 'editPurchaseOrder', noCache: true },
  67. hidden: true,
  68. is_menu: false,
  69. isChild: true
  70. },
  71. {
  72. path: '/purchase/order/print',
  73. component: () => import('@/xt_pages/supply/components/purchaseOrderPrint'),
  74. name: 'purchaseOrderPrint',
  75. meta: { title: 'purchaseOrderPrint', noCache: true },
  76. hidden: true,
  77. is_menu: false,
  78. isChild: true
  79. },
  80. {
  81. path: 'good/order/query',
  82. component: () => import('@/xt_pages/supply/goodOrderQuery'),
  83. name: 'goodOrderQuery',
  84. meta: { title: 'goodOrderQuery', noCache: true }
  85. },
  86. {
  87. path: '/good/order/add',
  88. component: () => import('@/xt_pages/supply/components/addGoodOrder'),
  89. name: 'addGoodOrder',
  90. meta: { title: 'addGoodOrder', noCache: true },
  91. hidden: true,
  92. is_menu: false,
  93. isChild: true
  94. },
  95. {
  96. path: '/good/order/edit',
  97. component: () => import('@/xt_pages/supply/components/editGoodOrder'),
  98. name: 'editGoodOrder',
  99. meta: { title: 'editGoodOrder', noCache: true },
  100. hidden: true,
  101. is_menu: false,
  102. isChild: true
  103. },
  104. // 退货单模块
  105. {
  106. path: '/good/return/query',
  107. component: () => import('@/xt_pages/supply/goodreturn'),
  108. name: 'goodReturnQuery',
  109. meta: { title: 'goodReturnQuery', noCache: true }
  110. },
  111. {
  112. path: '/good/return/add',
  113. component: () => import('@/xt_pages/supply/components/addGoodReturn'),
  114. name: 'addGoodReturn',
  115. meta: { title: 'addGoodReturn', noCache: true },
  116. hidden: true,
  117. is_menu: false,
  118. isChild: true
  119. },
  120. {
  121. path: '/good/return/edit',
  122. component: () => import('@/xt_pages/supply/components/editGoodReturn'),
  123. name: 'editGoodReturn',
  124. meta: { title: 'editGoodReturn', noCache: true },
  125. hidden: true,
  126. is_menu: false,
  127. isChild: true
  128. },
  129. {
  130. path: '/good/return/print',
  131. component: () => import('@/xt_pages/supply/components/goodReturnPrint'),
  132. name: 'goodReturnPrint',
  133. meta: { title: 'goodReturnPrint', noCache: true },
  134. hidden: true,
  135. is_menu: false,
  136. isChild: true
  137. },
  138. {
  139. path: '/good/order/print',
  140. component: () => import('@/xt_pages/supply/components/goodOrderPrint'),
  141. name: 'goodOrderPrint',
  142. meta: { title: 'goodOrderPrint', noCache: true },
  143. hidden: true,
  144. is_menu: false,
  145. isChild: true
  146. }
  147. ]
  148. }