From 85833af3d066b2a94edd96b6b2845306d60802e3 Mon Sep 17 00:00:00 2001
From: FCD <2453864257@qq.com>
Date: Tue, 24 Mar 2026 11:09:21 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8D=AF=E6=B6=B2=E7=AE=A1?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mes/medication.js | 51 ++++
src/views/mes/medication/index.vue | 412 +++++++++++++++++++++++++++++
2 files changed, 463 insertions(+)
create mode 100644 src/api/mes/medication.js
create mode 100644 src/views/mes/medication/index.vue
diff --git a/src/api/mes/medication.js b/src/api/mes/medication.js
new file mode 100644
index 0000000..6892ff9
--- /dev/null
+++ b/src/api/mes/medication.js
@@ -0,0 +1,51 @@
+import request from '@/utils/request'
+
+export function syncMedicationOrder(data) {
+ return request({
+ url: '/plan/medication/syncOrder',
+ method: 'post',
+ data: data
+ })
+}
+
+export function getMedicationOrderList(data) {
+ return request({
+ url: '/plan/medication/list',
+ method: 'get',
+ params: data
+ })
+}
+
+
+export function getMedicationOrderDetailList(data) {
+ return request({
+ url: '/plan/medication/detail/list',
+ method: 'get',
+ params: data
+ })
+}
+
+export function updateMedicationOrderDetailList(data) {
+ return request({
+ url: '/plan/medication/detail/list',
+ method: 'put',
+ data: data
+ })
+}
+
+
+export function updateMedication(data) {
+ return request({
+ url: '/plan/medication',
+ method: 'put',
+ data: data
+ })
+}
+
+export function reportSapMedication(data) {
+ return request({
+ url: '/plan/medication/reportSapMedication',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/views/mes/medication/index.vue b/src/views/mes/medication/index.vue
new file mode 100644
index 0000000..8fec58d
--- /dev/null
+++ b/src/views/mes/medication/index.vue
@@ -0,0 +1,412 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+ 同步SAP药液工单
+
+
+
+
+ 报工信息维护
+
+
+
+
+ 报工SAP
+
+
+
+
+
+
+
+
+ {{ codeFormatter(scope.row.orderCode) }}
+
+
+
+
+ {{ codeFormatter(scope.row.materialCode) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ parseTime
+
+ {{parseTime(scope.row.sapTime,'{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+ 查看配方
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ codeFormatter(scope.row.orderCode) }}
+
+
+
+
+ {{ codeFormatter(scope.row.materialCode) }}
+
+
+
+
+
+
+
+ {{scope.row.inputAmount}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+