From 8527b19d2b64db40db7b152ac9dcb207784a1b64 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期四, 11 一月 2024 16:07:05 +0800
Subject: [PATCH] 	modified:   src/api/plan/manufacturingorder.js 	new file:   src/views/common/processinspect-part.vue 	modified:   src/views/plan/manufacturingorder/productorder-form.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/technology/routing/routing-form.vue 	modified:   vue.config.js

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

diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index c0df5f0..55a0947 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -10,7 +10,46 @@
 
 export function fetchScheduleById(id) {
   return request({
-    url: '/mes//productionSchedul/'+id,
+    url: '/mes/productionSchedul/selTime/'+id,
     method: 'get',
   })
+}
+
+export function fillTime(data) {
+  return request({
+    url: '/mes/productionSchedul/fillTime',
+    method: 'put',
+    data: data
+  })
+}
+
+export function checkTimeLines(data) {
+  return request({
+    url: '/mes/productionSchedul/checkTimeLines',
+    method: 'post',
+    data: data
+  })
+}
+
+export function deleteSchedul(mId) {
+  return request({
+    url: '/mes/productionSchedul/'+mId,
+    method: 'delete',
+  })
+}
+
+export function updateSchedul(data) {
+  return request({
+    url: '/mes/productionSchedul/updateByMId',
+    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