diff --git a/src/api/report.js b/src/api/report.js index fbb4935..5589a1e 100644 --- a/src/api/report.js +++ b/src/api/report.js @@ -17,3 +17,21 @@ export function drug_details_info(data) { data }) } + +// /api/report/stock_loss_info +export function stock_loss_info(data) { + return request({ + url: '/api/report/stock_loss_info', + method: 'post', + data + }) +} + +// /api/report/drug_use_expend +export function drug_use_expend(data) { + return request({ + url: '/api/report/drug_use_expend', + method: 'post', + data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 39a25bf..75fab8c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -100,6 +100,20 @@ export const constantRoutes = [ component: () => import('@/views/reagent/report/warehousinginfo/index'), hidden: true, meta: { title: '入库信息查询', icon: '报表统计' } + }, + { + path: 'inventoryconsuminfo', + name: 'InventoryConsumInfo', + component: () => import('@/views/reagent/report/inventoryconsum/index'), + hidden: true, + meta: { title: '库存消耗', icon: '报表统计' } + }, + { + path: 'reagentconsuminfo', + name: 'ReagentConsumInfo', + component: () => import('@/views/reagent/report/reagentconsum/index'), + hidden: true, + meta: { title: '试剂消耗', icon: '报表统计' } } ] }, diff --git a/src/views/reagent/report/index.vue b/src/views/reagent/report/index.vue index ce43614..f96644b 100644 --- a/src/views/reagent/report/index.vue +++ b/src/views/reagent/report/index.vue @@ -51,7 +51,7 @@
试剂消耗用量
-
+
试剂库存消耗
@@ -80,7 +80,7 @@
-
+
试剂用量消耗
diff --git a/src/views/reagent/report/inventoryconsum/index.vue b/src/views/reagent/report/inventoryconsum/index.vue new file mode 100644 index 0000000..8a3efd0 --- /dev/null +++ b/src/views/reagent/report/inventoryconsum/index.vue @@ -0,0 +1,133 @@ + + + + +