From 5fa75e4daaa9bf549b8d8591b020643ae92813bd Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 12 一月 2024 09:19:55 +0800
Subject: [PATCH] 包装检验模板管理-修改2

---
 src/api/plan/productionschedul.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index 6ab0eeb..55a0947 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -10,7 +10,7 @@
 
 export function fetchScheduleById(id) {
   return request({
-    url: '/mes/productionSchedul/'+id,
+    url: '/mes/productionSchedul/selTime/'+id,
     method: 'get',
   })
 }
@@ -19,6 +19,14 @@
   return request({
     url: '/mes/productionSchedul/fillTime',
     method: 'put',
+    data: data
+  })
+}
+
+export function checkTimeLines(data) {
+  return request({
+    url: '/mes/productionSchedul/checkTimeLines',
+    method: 'post',
     data: data
   })
 }
@@ -36,4 +44,12 @@
     method: 'post',
     data: data
   })
+}
+
+export function updateState(data) {
+  return request({
+    url: '/mes/productionSchedul/updateState',
+    method: 'post',
+    data: data
+  })
 }
\ No newline at end of file

--
Gitblit v1.9.3