From 75740b73ae1050e7df006b05d4314715e1369cdd Mon Sep 17 00:00:00 2001 From: duan Date: Tue, 30 Aug 2022 08:56:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/weighing):=20=E7=A7=B0?= =?UTF-8?q?=E9=87=8Dapi=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reagent/weight.js | 8 ++++++++ src/views/reagent/weighing/index.vue | 29 ++++++++++++++-------------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/src/api/reagent/weight.js b/src/api/reagent/weight.js index 553f1c9..85f22eb 100644 --- a/src/api/reagent/weight.js +++ b/src/api/reagent/weight.js @@ -15,3 +15,11 @@ export function update_drug_remain(data) { data }) } + +export function get_drug_info(data) { + return request({ + url: '/api/drug/get_drug_info', + method: 'post', + data + }) +} diff --git a/src/views/reagent/weighing/index.vue b/src/views/reagent/weighing/index.vue index faca264..c57ec65 100644 --- a/src/views/reagent/weighing/index.vue +++ b/src/views/reagent/weighing/index.vue @@ -23,7 +23,7 @@ 用量称重 开始称重 去皮(初始化天平) - + 设置为空 @@ -31,12 +31,12 @@
详情信息
- {{ infoData.name }} - {{ infoData.english_name }}} + {{infoData.name }} + {{ infoData.english_name }} {{ infoData.bar_code }} - {{ infoData.cas_number }} + {{ infoData.cas_number }} {{ infoData.purity }} - 578 + {{ infoData.remain }} {{ infoData.production_date }} {{ infoData.expiration_date }} {{ infoData.manufacturer }} @@ -49,7 +49,7 @@ {{ infoData.is_supervise }} {{ infoData.client_id }} - {{ infoData.by_user_name }} + {{ infoData.by_user_name }}
@@ -59,18 +59,17 @@