Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

stock.js 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. import Layout from '@/views/layout/Layout'
  2. export default {
  3. path: '/stock',
  4. component: Layout,
  5. redirect: 'noredirect',
  6. name: 'stockManage',
  7. alwaysShow: true,
  8. meta: {
  9. title: 'stockManage',
  10. icon: 'stock',
  11. isChild: true
  12. },
  13. children: [
  14. {
  15. path: '/stock/consumablesManagement',
  16. component: Layout,
  17. redirect: '/stock/in',
  18. name: 'consumablesManagement',
  19. parentNum: 1,
  20. meta: {
  21. isChild: true,
  22. title: 'consumablesManagement',
  23. noCache: true
  24. }
  25. },
  26. {
  27. path: '/stock/in',
  28. component: () => import('@/xt_pages/stock/stockInOrder'),
  29. name: 'stockInOrder',
  30. hidden: true,
  31. is_menu: false,
  32. num: 1,
  33. meta: { title: 'stockInOrder', noCache: true }
  34. },
  35. {
  36. path: '/stock/return',
  37. component: () => import('@/xt_pages/stock/salesReturnOrder'),
  38. name: 'salesReturnOrder',
  39. hidden: true,
  40. is_menu: false,
  41. num: 1,
  42. meta: { title: 'salesReturnOrder', noCache: true }
  43. },
  44. {
  45. path: '/stock/out',
  46. component: () => import('@/xt_pages/stock/stockOutOrder'),
  47. name: 'stockOutOrder',
  48. hidden: true,
  49. is_menu: false,
  50. num: 1,
  51. meta: { title: 'stockOutOrder', noCache: true }
  52. },
  53. {
  54. path: '/stock/cancel',
  55. component: () => import('@/xt_pages/stock/cancelStockOrder'),
  56. name: 'cancelStockOrder',
  57. hidden: true,
  58. is_menu: false,
  59. num: 1,
  60. meta: { title: 'cancelStockOrder', noCache: true }
  61. },
  62. {
  63. path: '/stock/in/other',
  64. component: () => import('@/xt_pages/stock/otherStockInOrder'),
  65. name: 'otherStockInOrder',
  66. hidden: true,
  67. is_menu: false,
  68. num: 1,
  69. meta: { title: 'otherStockInOrder', noCache: true }
  70. },
  71. {
  72. path: '/stock/return/other',
  73. component: () => import('@/xt_pages/stock/otherSalesReturnOrder'),
  74. name: 'otherSalesReturnOrder',
  75. hidden: true,
  76. is_menu: false,
  77. num: 1,
  78. meta: { title: 'otherSalesReturnOrder', noCache: true }
  79. },
  80. {
  81. path: '/stock/out/other',
  82. component: () => import('@/xt_pages/stock/otherStockOutOrder'),
  83. name: 'otherStockOutOrder',
  84. hidden: true,
  85. is_menu: false,
  86. num: 1,
  87. meta: { title: 'otherStockOutOrder', noCache: true }
  88. },
  89. {
  90. path: '/stock/cancel/other',
  91. component: () => import('@/xt_pages/stock/otherCancelStockOrder'),
  92. name: 'otherCancelStockOrder',
  93. hidden: true,
  94. is_menu: false,
  95. num: 1,
  96. meta: { title: 'otherCancelStockOrder', noCache: true }
  97. },
  98. // {
  99. // path: "/stock/",
  100. // component: Layout,
  101. // redirect: "noredirect",
  102. // name: "warehouseReceipt",
  103. // meta: {
  104. // isChild: true,
  105. // title: "warehouseReceipt"
  106. // },
  107. // children: [
  108. // ]
  109. // },
  110. // {
  111. // path: "stock/",
  112. // component: Layout,
  113. // redirect: "noredirect",
  114. // name: "warehouseReceiptOther",
  115. // meta: {
  116. // isChild: true,
  117. // title: "warehouseReceiptOther"
  118. // },
  119. // children: [
  120. // {
  121. // path: "/stock/in/other",
  122. // component: () => import("@/xt_pages/stock/otherStockInOrder"),
  123. // name: "otherStockInOrder",
  124. // meta: { title: "otherStockInOrder", noCache: true }
  125. // },
  126. // {
  127. // path: "/stock/return/other",
  128. // component: () => import("@/xt_pages/stock/otherSalesReturnOrder"),
  129. // name: "otherSalesReturnOrder",
  130. // meta: { title: "otherSalesReturnOrder", noCache: true }
  131. // },
  132. // {
  133. // path: "/stock/out/other",
  134. // component: () => import("@/xt_pages/stock/otherStockOutOrder"),
  135. // name: "otherStockOutOrder",
  136. // meta: { title: "otherStockOutOrder", noCache: true }
  137. // },
  138. // {
  139. // path: "/stock/cancel/other",
  140. // component: () => import("@/xt_pages/stock/otherCancelStockOrder"),
  141. // name: "otherCancelStockOrder",
  142. // meta: { title: "otherCancelStockOrder", noCache: true }
  143. // }
  144. // ]
  145. // },
  146. {
  147. path: '/stock/query',
  148. component: () => import('@/xt_pages/stock/stockQuery'),
  149. name: 'stockQuery',
  150. hidden: true,
  151. is_menu: false,
  152. num: 1,
  153. meta: { title: 'stockQuery', noCache: true }
  154. },
  155. {
  156. path: '/stock/detail',
  157. component: () => import('@/xt_pages/stock/stockDetailIndex'),
  158. name: 'stockDetail',
  159. hidden: true,
  160. is_menu: false,
  161. num: 1,
  162. meta: { title: 'stockDetail', noCache: true }
  163. },
  164. {
  165. path: '/stock/in/add',
  166. component: () => import('@/xt_pages/stock/stockInOrderAdd'),
  167. name: 'stockInOrderAdd',
  168. hidden: true,
  169. is_menu: false,
  170. meta: { title: 'stockInOrderAdd', noCache: true }
  171. },
  172. {
  173. path: '/stock/in/detail',
  174. component: () => import('@/xt_pages/stock/stockInDetail'),
  175. name: 'stockInDetail',
  176. hidden: true,
  177. is_menu: false,
  178. meta: { title: 'stockInDetail', noCache: true }
  179. },
  180. {
  181. path: '/stock/return/detail',
  182. component: () => import('@/xt_pages/stock/salesReturnDetail'),
  183. name: 'salesReturnDetail',
  184. hidden: true,
  185. is_menu: false,
  186. meta: { title: 'salesReturnDetail', noCache: true }
  187. },
  188. {
  189. path: '/stock/return/add',
  190. component: () => import('@/xt_pages/stock/salesReturnOrderAdd'),
  191. name: 'salesReturnOrderAdd',
  192. hidden: true,
  193. is_menu: false,
  194. meta: { title: 'salesReturnOrderAdd', noCache: true }
  195. },
  196. {
  197. path: '/stock/out/add',
  198. component: () => import('@/xt_pages/stock/stockOutOrderAdd'),
  199. name: 'stockOutOrderAdd',
  200. hidden: true,
  201. is_menu: false,
  202. meta: { title: 'stockOutOrderAdd', noCache: true }
  203. },
  204. {
  205. path: '/stock/out/detail',
  206. component: () => import('@/xt_pages/stock/stockOutDetail'),
  207. name: 'stockOutDetail',
  208. hidden: true,
  209. is_menu: false,
  210. meta: { title: 'stockOutDetail', noCache: true }
  211. },
  212. {
  213. path: '/stock/cancel/add',
  214. component: () => import('@/xt_pages/stock/cancelStockOrderAdd'),
  215. name: 'cancelStockOrderAdd',
  216. hidden: true,
  217. is_menu: false,
  218. meta: { title: 'cancelStockOrderAdd', noCache: true }
  219. },
  220. {
  221. path: '/stock/cancel/detail',
  222. component: () => import('@/xt_pages/stock/cancelStockDetail'),
  223. name: 'cancelStockDetail',
  224. hidden: true,
  225. is_menu: false,
  226. meta: { title: 'cancelStockDetail', noCache: true }
  227. },
  228. {
  229. path: '/stock/config',
  230. component: () => import('@/xt_pages/stock/index'),
  231. name: 'config',
  232. hidden: true,
  233. is_menu: false,
  234. num: 1,
  235. meta: { title: 'config', noCache: true }
  236. },
  237. {
  238. path: '/stock/print',
  239. component: () => import('@/xt_pages/stock/detail/print'),
  240. hidden: true,
  241. is_menu: false,
  242. name: 'stock_print',
  243. meta: {
  244. title: '库存打印',
  245. noCache: true
  246. }
  247. },
  248. {
  249. path: '/stock/user/detail',
  250. component: () => import('@/xt_pages/stock/stockUserDetail'),
  251. name: 'user_detail',
  252. hidden: true,
  253. is_menu: false,
  254. meta: { title: 'user_detail', noCache: true }
  255. },
  256. {
  257. path: '/stock/selfPreparedMedicine',
  258. component: () => import('@/xt_pages/stock/selfPreparedMedicine/index'),
  259. redirect: '/stock/selfPreparedMedicineIndex',
  260. name: 'selfPreparedMedicine',
  261. parentNum: 2,
  262. meta: {
  263. isChild: true,
  264. title: 'selfPreparedMedicine',
  265. noCache: true
  266. }
  267. },
  268. {
  269. path: '/stock/selfPreparedMedicineIndex',
  270. component: () => import('@/xt_pages/stock/selfPreparedMedicine/index'),
  271. name: 'selfPreparedMedicineIndex',
  272. hidden: true,
  273. is_menu: false,
  274. num: 2,
  275. meta: { title: 'selfPreparedMedicineIndex', noCache: true }
  276. },
  277. {
  278. path: '/stock/selfPreparedMedicineQuery',
  279. component: () => import('@/xt_pages/stock/selfPreparedMedicine/query'),
  280. name: 'selfPreparedMedicineQuery',
  281. hidden: true,
  282. is_menu: false,
  283. num: 2,
  284. meta: { title: 'selfPreparedMedicineQuery', noCache: true }
  285. },
  286. {
  287. path: '/stock/selfPreparedMedicineQueryPrint',
  288. component: () => import('@/xt_pages/stock/selfPreparedMedicine/queryPrint'),
  289. name: 'selfPreparedMedicineQueryPrint',
  290. hidden: true,
  291. is_menu: false,
  292. meta: { title: 'selfPreparedMedicineQueryPrint', noCache: true }
  293. },
  294. {
  295. path: '/stock/selfPreparedMedicineInfo',
  296. component: () => import('@/xt_pages/stock/selfPreparedMedicine/info'),
  297. name: 'selfPreparedMedicineInfo',
  298. hidden: true,
  299. is_menu: false,
  300. num: 2,
  301. meta: { title: 'selfPreparedMedicineInfo', noCache: true }
  302. },
  303. {
  304. path: '/stock/drugs',
  305. component: Layout,
  306. redirect: '/stock/drugs/stock/in',
  307. name: 'stockDrugs',
  308. parentNum: 3,
  309. meta: {
  310. isChild: true,
  311. title: 'stockDrugs',
  312. noCache: true
  313. }
  314. },
  315. {
  316. path: '/stock/drugs/stock/in',
  317. component: () => import('@/xt_pages/stock/drugs/stockIn'),
  318. name: 'drugsStockIn',
  319. hidden: true,
  320. is_menu: false,
  321. num: 3,
  322. meta: { title: 'drugsStockIn', noCache: true }
  323. },
  324. {
  325. path: '/stock/drugs/stock/out',
  326. component: () => import('@/xt_pages/stock/drugs/stockOut'),
  327. name: 'drugsStockOut',
  328. hidden: true,
  329. is_menu: false,
  330. num: 3,
  331. meta: { title: 'drugsStockOut', noCache: true }
  332. },
  333. {
  334. path: '/stock/drugs/stock/return',
  335. component: () => import('@/xt_pages/stock/drugs/stockReturn'),
  336. name: 'drugsStockReturn',
  337. hidden: true,
  338. is_menu: false,
  339. num: 3,
  340. meta: { title: 'drugsStockReturn', noCache: true }
  341. },
  342. {
  343. path: '/stock/drugs/stock/cancel',
  344. component: () => import('@/xt_pages/stock/drugs/stockCancel'),
  345. name: 'drugsStockCancel',
  346. hidden: true,
  347. is_menu: false,
  348. num: 3,
  349. meta: { title: 'drugsStockCancel', noCache: true }
  350. },
  351. {
  352. path: '/stock/drugs/stock/adjustPrice',
  353. component: () => import('@/xt_pages/stock/drugs/adjustPrice'),
  354. name: 'drugsAdjustPrice',
  355. hidden: true,
  356. is_menu: false,
  357. num: 3,
  358. meta: { title: 'drugsAdjustPrice', noCache: true }
  359. },
  360. {
  361. path: '/stock/drugs/stock/reportLoss',
  362. component: () => import('@/xt_pages/stock/drugs/reportLoss'),
  363. name: 'drugsReportLoss',
  364. hidden: true,
  365. is_menu: false,
  366. num: 3,
  367. meta: { title: 'drugsReportLoss', noCache: true }
  368. },
  369. {
  370. path: '/stock/drugs/stock/query',
  371. component: () => import('@/xt_pages/stock/drugs/query'),
  372. name: 'drugsQuery',
  373. hidden: true,
  374. is_menu: false,
  375. num: 3,
  376. meta: { title: 'drugsQuery', noCache: true }
  377. },
  378. {
  379. path: '/stock/drugs/stock/drugsSurplus',
  380. component: () => import('@/xt_pages/stock/drugs/drugsSurplus'),
  381. name: 'drugsSurplus',
  382. hidden: true,
  383. is_menu: false,
  384. num: 3,
  385. meta: { title: 'drugsSurplus', noCache: true }
  386. },
  387. {
  388. path: '/stock/drugs/stock/drugsExpiryDate',
  389. component: () => import('@/xt_pages/stock/drugs/drugsExpiryDate'),
  390. name: 'drugsExpiryDate',
  391. hidden: true,
  392. is_menu: false,
  393. num: 3,
  394. meta: { title: 'drugsExpiryDate', noCache: true }
  395. },
  396. ]
  397. }