From be494dd761babab4a5d045d32a2d50fc602d7562 Mon Sep 17 00:00:00 2001
From: tangxuan <2233783319@qq.com>
Date: Thu, 23 Mar 2023 22:05:24 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E7=85=A7=E5=93=81=E7=9B=B8=E5=85=B3?=
=?UTF-8?q?=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 5 +-
src/api/reagent/database.js | 8 ++
src/components/ReagentForm/index.vue | 43 +++++++
src/components/UserForm/index.vue | 4 +-
src/layout/components/Navbar.vue | 3 +-
src/router/modules/consumables.js | 84 +++++++-------
src/router/modules/reagent.js | 2 +-
src/styles/index.scss | 2 +-
src/utils/request.js | 2 +-
src/views/home/index.vue | 4 +-
src/views/reagent/applymanagement/index.vue | 4 +-
src/views/reagent/buy/index.vue | 4 +-
src/views/reagent/createapply/index copy.vue | 2 +-
src/views/reagent/createapply/index.vue | 105 ++++++++++++++++--
src/views/reagent/management/data/index.vue | 43 ++++---
src/views/reagent/purchaseapproval/index.vue | 2 +-
.../reagent/receivingandreturn/index.vue | 50 ++++++---
src/views/reagent/report/index.vue | 4 +-
.../reagent/report/reagentconsum/index.vue | 4 +-
.../reagent/report/reagentinfo/index.vue | 4 +-
src/views/reagent/warehousing/index.vue | 1 +
src/views/reagent/weighing/index.vue | 8 +-
.../reagent/weightregistration/index.vue | 33 +++++-
23 files changed, 306 insertions(+), 115 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 547696a..3c09d71 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,6 +1,9 @@
-
+
+
+
+
diff --git a/src/api/reagent/database.js b/src/api/reagent/database.js
index af44e70..caaedf9 100644
--- a/src/api/reagent/database.js
+++ b/src/api/reagent/database.js
@@ -8,6 +8,14 @@ export function msds_db_list(data) {
})
}
+export function get_msds_drug(data) {
+ return request({
+ url: '/api/drug/get_msds_drug',
+ method: 'post',
+ data
+ })
+}
+
export function dangerous_db_list(data) {
return request({
url: '/api/drug/dangerous_db_list',
diff --git a/src/components/ReagentForm/index.vue b/src/components/ReagentForm/index.vue
index a4096f7..73fc10e 100644
--- a/src/components/ReagentForm/index.vue
+++ b/src/components/ReagentForm/index.vue
@@ -144,6 +144,7 @@