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}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+