From 7ae568286fe7879f0d097ffb87a2cd46f175f899 Mon Sep 17 00:00:00 2001
From: wws <18630710203@163.com>
Date: Fri, 28 Jul 2023 17:16:19 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B9=BF=E6=96=99=E8=AE=A1=E5=88=92=E7=AE=A1?=
=?UTF-8?q?=E7=90=86(=E4=BF=AE=E6=94=B9init)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mes/plan.js | 13 ++-
src/views/mes/plan/index.vue | 160 ++++++++++++++++++++++++++++++-----
2 files changed, 152 insertions(+), 21 deletions(-)
diff --git a/src/api/mes/plan.js b/src/api/mes/plan.js
index 2dd6616..3440931 100644
--- a/src/api/mes/plan.js
+++ b/src/api/mes/plan.js
@@ -1,9 +1,18 @@
import request from '@/utils/request'
+// 修改-提交按钮-修改湿料计划
+export function updatePlanDetail(data) {
+ return request({
+ url:'/mes/plan/updatePlanDetail',
+ method: 'put',
+ data: data
+ })
+}
+
// 修改-通过主计划id获取湿料计划详情list
export function getPlanDetailList(id) {
return request({
- url: 'mes/plan/getPlanDetail'+'?id='+id,
+ url: '/mes/plan/getPlanDetail'+'?id='+id,
method: 'get',
})
}
@@ -20,7 +29,7 @@ export function addWetPlan(data) {
// 通过计划日期获取已分配的料罐、物料、班次信息list
export function getBMSList(planTime) {
return request({
- url:'mes/plan/getBMSList/'+'?planTime='+planTime,
+ url:'/mes/plan/getBMSList/'+'?planTime='+planTime,
method:'get'
})
}
diff --git a/src/views/mes/plan/index.vue b/src/views/mes/plan/index.vue
index 2c1e072..6589528 100644
--- a/src/views/mes/plan/index.vue
+++ b/src/views/mes/plan/index.vue
@@ -220,19 +220,19 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
- 确定
+ 确定
-
+
@@ -318,7 +318,7 @@