From ebb25d434e4a20ebcd2bc19a99e4d592f51de847 Mon Sep 17 00:00:00 2001 From: duan Date: Mon, 1 Aug 2022 11:04:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/report/inventoryconsum):?= =?UTF-8?q?=20=E5=AE=8C=E6=88=90=E5=BA=93=E5=AD=98=E6=B6=88=E8=80=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/report.js | 18 +++ src/router/index.js | 14 ++ src/views/reagent/report/index.vue | 4 +- .../reagent/report/inventoryconsum/index.vue | 133 ++++++++++++++++++ 4 files changed, 167 insertions(+), 2 deletions(-) create mode 100644 src/views/reagent/report/inventoryconsum/index.vue 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 @@ + + + + +