drugs.js 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. import Layout from '@/views/layout/Layout'
  2. export default {
  3. path: '/stock/drugs',
  4. component: Layout,
  5. redirect: 'noredirect',
  6. name: 'stockDrugs',
  7. alwaysShow: true,
  8. meta: {
  9. title: 'stockDrugs',
  10. icon: 'stock',
  11. isChild: true
  12. },
  13. children: [
  14. {
  15. path: '/stock/drugs/stock/query',
  16. component: () => import('@/xt_pages/stock/drugs/query'),
  17. name: 'drugsQuery',
  18. meta: { title: 'drugsQuery', noCache: true }
  19. },
  20. {
  21. path: '/stock/drugs/stock/in',
  22. component: () => import('@/xt_pages/stock/drugs/drugStockInOrder'),
  23. name: 'drugsStockIn',
  24. meta: { title: 'drugsStockIn', noCache: true }
  25. },
  26. {
  27. path: '/stock/drugs/stock/out',
  28. component: () => import('@/xt_pages/stock/drugs/drugStockOutOrder'),
  29. name: 'drugsStockOut',
  30. meta: { title: 'drugsStockOut', noCache: true }
  31. },
  32. {
  33. path: '/stock/drugs/drugModifyPrice',
  34. component: () => import('@/xt_pages/stock/drugs/drugModifyPrice'),
  35. name: 'drugModifyPrice',
  36. meta: { title: 'drugModifyPrice', noCache: true }
  37. },
  38. {
  39. path: '/stock/drugs/drugModifyPricePrint',
  40. component: () => import('@/xt_pages/stock/drugs/drugModifyPricePrint'),
  41. name: 'drugModifyPricePrint',
  42. hidden: true,
  43. is_menu: false,
  44. meta: { title: 'drugModifyPricePrint', noCache: true }
  45. },
  46. {
  47. path: '/stock/drugs/drugDamaged',
  48. component: () => import('@/xt_pages/stock/drugs/drugDamaged'),
  49. name: 'drugDamaged',
  50. meta: { title: 'drugDamaged', noCache: true }
  51. },
  52. {
  53. path: '/stock/drugs/drugDamagePrint',
  54. component: () => import('@/xt_pages/stock/drugs/drugDamagePrint'),
  55. name: 'drugDamaged',
  56. meta: { title: 'drugDamaged', noCache: true }
  57. },
  58. {
  59. path: '/stock/drugs/drugWarning',
  60. component: () => import('@/xt_pages/stock/drugs/drugWarning'),
  61. name: 'drugWarning',
  62. meta: { title: 'drugWarning', noCache: true }
  63. },
  64. {
  65. path: '/stock/drugs/drugInventory',
  66. component: () => import('@/xt_pages/stock/drugs/drugInventory'),
  67. name: 'drugInventory',
  68. meta: { title: 'drugInventory', noCache: true }
  69. },
  70. {
  71. path: '/stock/drugs/inventoryPrint',
  72. component: () => import('@/xt_pages/stock/drugs/inventoryPrint'),
  73. name: 'inventoryPrint',
  74. hidden: true,
  75. is_menu: false,
  76. meta: { title: 'inventoryPrint', noCache: true }
  77. },
  78. // {
  79. // path: '/stock/drugs/stock/return',
  80. // component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrder'),
  81. // name: 'drugsStockReturn',
  82. // meta: { title: 'drugsStockReturn', noCache: true }
  83. // },
  84. {
  85. path: '/stock/drugs/stock/cancel',
  86. component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrder'),
  87. name: 'drugsStockCancel',
  88. meta: { title: 'drugsStockCancel', noCache: true }
  89. },
  90. {
  91. path: '/stock/drugs/stock/detail',
  92. component: () => import('@/xt_pages/stock/drugs/drugIndex'),
  93. name: 'drugDetail',
  94. meta: { title: '明细查询', noCache: true }
  95. },
  96. // {
  97. // path: '/stock/drugs/stock/adjustPrice',
  98. // component: () => import('@/xt_pages/stock/drugs/adjustPrice'),
  99. // name: 'drugsAdjustPrice',
  100. // meta: { title: 'drugsAdjustPrice', noCache: true }
  101. // },
  102. // {
  103. // path: '/stock/drugs/stock/reportLoss',
  104. // component: () => import('@/xt_pages/stock/drugs/reportLoss'),
  105. // name: 'drugsReportLoss',
  106. // meta: { title: 'drugsReportLoss', noCache: true }
  107. // },
  108. // {
  109. // path: '/stock/drugs/stock/drugsSurplus',
  110. // component: () => import('@/xt_pages/stock/drugs/drugsSurplus'),
  111. // name: 'drugsSurplus',
  112. // meta: { title: 'drugsSurplus', noCache: true }
  113. // },
  114. // {
  115. // path: '/stock/drugs/stock/drugsExpiryDate',
  116. // component: () => import('@/xt_pages/stock/drugs/drugsExpiryDate'),
  117. // name: 'drugsExpiryDate',
  118. // meta: { title: 'drugsExpiryDate', noCache: true }
  119. // },
  120. {
  121. path: '/drugstock/in/add',
  122. component: () => import('@/xt_pages/stock/drugs/drugStockInOrderAdd'),
  123. name: 'drugStockInOrderAdd',
  124. hidden: true,
  125. is_menu: false,
  126. meta: { title: 'drugStockInOrderAdd', noCache: true }
  127. },
  128. {
  129. path: '/drugstock/in/detail',
  130. component: () => import('@/xt_pages/stock/drugs/drugStockInDetail'),
  131. name: 'drugStockInDetail',
  132. hidden: true,
  133. is_menu: false,
  134. meta: { title: 'drugStockInDetail', noCache: true }
  135. }, {
  136. path: '/drugstock/return/detail',
  137. component: () => import('@/xt_pages/stock/drugs/drugSalesReturnDetail'),
  138. name: 'drugSalesReturnDetail',
  139. hidden: true,
  140. is_menu: false,
  141. meta: { title: 'drugSalesReturnDetail', noCache: true }
  142. }, {
  143. path: '/drugstock/return/add',
  144. component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrderAdd'),
  145. name: 'drugSalesReturnOrderAdd',
  146. hidden: true,
  147. is_menu: false,
  148. meta: { title: 'drugSalesReturnOrderAdd', noCache: true }
  149. }, {
  150. path: '/drugstock/out/add',
  151. component: () => import('@/xt_pages/stock/drugs/drugStockOutOrderAdd'),
  152. name: 'drugStockOutOrderAdd',
  153. hidden: true,
  154. is_menu: false,
  155. meta: { title: 'drugStockOutOrderAdd', noCache: true }
  156. }, {
  157. path: '/drugstock/out/detail',
  158. component: () => import('@/xt_pages/stock/drugs/drugStockOutDetail'),
  159. name: 'drugStockOutDetail',
  160. hidden: true,
  161. is_menu: false,
  162. meta: { title: 'drugStockOutDetail', noCache: true }
  163. }, {
  164. path: '/drugstock/cancel/add',
  165. component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrderAdd'),
  166. name: 'cancelDrugStockOrderAdd',
  167. hidden: true,
  168. is_menu: false,
  169. meta: { title: 'cancelDrugStockOrderAdd', noCache: true }
  170. }, {
  171. path: '/drugstock/cancel/detail',
  172. component: () => import('@/xt_pages/stock/drugs/cancelDrugStockDetail'),
  173. name: 'cancelDrugStockDetail',
  174. hidden: true,
  175. is_menu: false,
  176. meta: { title: 'cancelDrugStockDetail', noCache: true }
  177. },
  178. {
  179. path: '/drugstock/cancel/edit',
  180. component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrderEdit'),
  181. name: 'cancelDrugStockOrderEdit',
  182. hidden: true,
  183. is_menu: false,
  184. meta: { title: 'cancelDrugStockOrderEdit', noCache: true }
  185. },
  186. {
  187. path: '/drugstock/user/detail',
  188. component: () => import('@/xt_pages/stock/drugs/drugStockUserDetail'),
  189. name: 'drugStockUserDetail',
  190. hidden: true,
  191. is_menu: false,
  192. meta: { title: 'drugStockUserDetail', noCache: true }
  193. },
  194. // 编辑药品入库单
  195. {
  196. path: '/drugstock/in/order/edit',
  197. component: () => import('@/xt_pages/stock/drugs/drugStockInOrderEdit'),
  198. name: 'drugStockInOrderEdit',
  199. hidden: true,
  200. is_menu: false,
  201. meta: { title: 'drugStockInOrderEdit', noCache: true }
  202. },
  203. {
  204. path: '/drugstock/in/drugstockflow',
  205. component: () => import('@/xt_pages/stock/drugs/drugStockFlow'),
  206. name: 'drugStockFlow',
  207. hidden: true,
  208. is_menu: false,
  209. meta: { title: 'drugStockFlow', noCache: true }
  210. },
  211. {
  212. path: '/drugstock/in/drugbatchnumber',
  213. component: () => import('@/xt_pages/stock/drugs/drugBatchNumber'),
  214. name: 'drugBatchNumber',
  215. hidden: true,
  216. is_menu: false,
  217. meta: { title: 'drugBatchNumber', noCache: true }
  218. },
  219. {
  220. path: '/stock/stockoutorderedit',
  221. component: () => import('@/xt_pages/stock/stockOutOrderEdit'),
  222. name: 'stockOutOrderEdit',
  223. hidden: true,
  224. is_menu: false,
  225. meta: { title: 'stockOutOrderEdit', noCache: true }
  226. },
  227. {
  228. path: '/stock/in/order/edit',
  229. component: () => import('@/xt_pages/stock/stockInOrderEdit'),
  230. name: 'stockInOrderEdit',
  231. hidden: true,
  232. is_menu: false,
  233. meta: { title: 'stockInOrderEdit' }
  234. },
  235. {
  236. path: '/stock/in/stockflow',
  237. component: () => import('@/xt_pages/stock/stockFlow'),
  238. name: 'stockFlow',
  239. hidden: true,
  240. is_menu: false,
  241. meta: { title: 'stockFlow' }
  242. },
  243. {
  244. path: '/stock/in/stockbatchnumber',
  245. component: () => import('@/xt_pages/stock/stockBatchNumber'),
  246. name: 'stockBatchNumber',
  247. hidden: true,
  248. is_menu: false,
  249. meta: { title: 'stockBatchNumber' }
  250. },
  251. {
  252. path: '/drug/out/drugstockoutorderedit',
  253. component: () => import('@/xt_pages/stock/drugs/drugStockOutOrderEdit'),
  254. name: 'drugStockOutOrderEdit',
  255. hidden: true,
  256. is_menu: false,
  257. meta: { title: 'drugStockOutOrderEdit' }
  258. },
  259. {
  260. path: '/drug/cancel/print',
  261. component: () => import('@/xt_pages/stock/drugs/cancelDrugOrderPrint'),
  262. name: 'cancelDrugOrderPrint',
  263. hidden: true,
  264. is_menu: false,
  265. meta: { title: 'cancelDrugOrderPrint' }
  266. }
  267. ]
  268. }