See999 4 years ago
parent
commit
4068f579c2
1 changed files with 83 additions and 27 deletions
  1. 83 27
      src/router/modules/drugs.js

+ 83 - 27
src/router/modules/drugs.js View File

@@ -20,52 +20,108 @@ export default {
20 20
     },
21 21
     {
22 22
         path: '/stock/drugs/stock/in',
23
-        component: () => import('@/xt_pages/stock/drugs/stockIn'),
23
+        component: () => import('@/xt_pages/stock/drugs/drugStockInOrder'),
24 24
         name: 'drugsStockIn',
25 25
         meta: { title: 'drugsStockIn', noCache: true }
26 26
     },
27 27
     {
28 28
         path: '/stock/drugs/stock/out',
29
-        component: () => import('@/xt_pages/stock/drugs/stockOut'),
29
+        component: () => import('@/xt_pages/stock/drugs/drugStockOutOrder'),
30 30
         name: 'drugsStockOut',
31 31
         meta: { title: 'drugsStockOut', noCache: true }
32 32
     },
33 33
     {
34 34
         path: '/stock/drugs/stock/return',
35
-        component: () => import('@/xt_pages/stock/drugs/stockReturn'),
35
+        component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrder'),
36 36
         name: 'drugsStockReturn',
37 37
         meta: { title: 'drugsStockReturn', noCache: true }
38 38
     },
39 39
     {
40 40
         path: '/stock/drugs/stock/cancel',
41
-        component: () => import('@/xt_pages/stock/drugs/stockCancel'),
41
+        component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrder'),
42 42
         name: 'drugsStockCancel',
43 43
         meta: { title: 'drugsStockCancel', noCache: true }
44 44
     },
45
+    // {
46
+    //     path: '/stock/drugs/stock/adjustPrice',
47
+    //     component: () => import('@/xt_pages/stock/drugs/adjustPrice'),
48
+    //     name: 'drugsAdjustPrice',
49
+    //     meta: { title: 'drugsAdjustPrice', noCache: true }
50
+    // },
51
+    // {
52
+    //     path: '/stock/drugs/stock/reportLoss',
53
+    //     component: () => import('@/xt_pages/stock/drugs/reportLoss'),
54
+    //     name: 'drugsReportLoss',
55
+    //     meta: { title: 'drugsReportLoss', noCache: true }
56
+    // },
57
+    // {
58
+    //     path: '/stock/drugs/stock/drugsSurplus',
59
+    //     component: () => import('@/xt_pages/stock/drugs/drugsSurplus'),
60
+    //     name: 'drugsSurplus',
61
+    //     meta: { title: 'drugsSurplus', noCache: true }
62
+    // },
63
+    // {
64
+    //     path: '/stock/drugs/stock/drugsExpiryDate',
65
+    //     component: () => import('@/xt_pages/stock/drugs/drugsExpiryDate'),
66
+    //     name: 'drugsExpiryDate',
67
+    //     meta: { title: 'drugsExpiryDate', noCache: true }
68
+    // },
45 69
     {
46
-        path: '/stock/drugs/stock/adjustPrice',
47
-        component: () => import('@/xt_pages/stock/drugs/adjustPrice'),
48
-        name: 'drugsAdjustPrice',
49
-        meta: { title: 'drugsAdjustPrice', noCache: true }
50
-    },
51
-    {
52
-        path: '/stock/drugs/stock/reportLoss',
53
-        component: () => import('@/xt_pages/stock/drugs/reportLoss'),
54
-        name: 'drugsReportLoss',
55
-        meta: { title: 'drugsReportLoss', noCache: true }
56
-    },
57
-    
58
-    {
59
-        path: '/stock/drugs/stock/drugsSurplus',
60
-        component: () => import('@/xt_pages/stock/drugs/drugsSurplus'),
61
-        name: 'drugsSurplus',
62
-        meta: { title: 'drugsSurplus', noCache: true }
63
-    },
64
-    {
65
-        path: '/stock/drugs/stock/drugsExpiryDate',
66
-        component: () => import('@/xt_pages/stock/drugs/drugsExpiryDate'),
67
-        name: 'drugsExpiryDate',
68
-        meta: { title: 'drugsExpiryDate', noCache: true }
70
+      path: '/drugstock/in/add',
71
+      component: () => import('@/xt_pages/stock/drugs/drugStockInOrderAdd'),
72
+      name: 'drugStockInOrderAdd',
73
+      hidden: true,
74
+      is_menu: false,
75
+      meta: { title: 'drugStockInOrderAdd', noCache: true }
76
+    },{
77
+      path: '/drugstock/in/detail',
78
+      component: () => import('@/xt_pages/stock/drugs/drugStockInDetail'),
79
+      name: 'drugStockInDetail',
80
+      hidden: true,
81
+      is_menu: false,
82
+      meta: { title: 'drugStockInDetail', noCache: true }
83
+    }, {
84
+      path: '/drugstock/return/detail',
85
+      component: () => import('@/xt_pages/stock/drugs/drugSalesReturnDetail'),
86
+      name: 'drugSalesReturnDetail',
87
+      hidden: true,
88
+      is_menu: false,
89
+      meta: { title: 'drugSalesReturnDetail', noCache: true }
90
+    }, {
91
+      path: '/drugstock/return/add',
92
+      component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrderAdd'),
93
+      name: 'drugSalesReturnOrderAdd',
94
+      hidden: true,
95
+      is_menu: false,
96
+      meta: { title: 'drugSalesReturnOrderAdd', noCache: true }
97
+    }, {
98
+      path: '/drugstock/out/add',
99
+      component: () => import('@/xt_pages/stock/drugs/drugStockOutOrderAdd'),
100
+      name: 'drugStockOutOrderAdd',
101
+      hidden: true,
102
+      is_menu: false,
103
+      meta: { title: 'drugStockOutOrderAdd', noCache: true }
104
+    }, {
105
+      path: '/drugstock/out/detail',
106
+      component: () => import('@/xt_pages/stock/drugs/drugStockOutDetail'),
107
+      name: 'drugStockOutDetail',
108
+      hidden: true,
109
+      is_menu: false,
110
+      meta: { title: 'drugStockOutDetail', noCache: true }
111
+    }, {
112
+      path: '/drugstock/cancel/add',
113
+      component: () => import('@/xt_pages/stock/drugs/cancelDrugStockOrderAdd'),
114
+      name: 'cancelDrugStockOrderAdd',
115
+      hidden: true,
116
+      is_menu: false,
117
+      meta: { title: 'cancelDrugStockOrderAdd', noCache: true }
118
+    },{
119
+      path: '/drugstock/cancel/detail',
120
+      component: () => import('@/xt_pages/stock/drugs/cancelDrugStockDetail'),
121
+      name: 'cancelDrugStockDetail',
122
+      hidden: true,
123
+      is_menu: false,
124
+      meta: { title: 'cancelDrugStockDetail', noCache: true }
69 125
     },
70 126
   ]
71 127
 }