From 71790ef8fede50105a4e6dfc5430871b90a5c4b9 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 06 三月 2024 12:22:09 +0800
Subject: [PATCH] 销售订单-->提交oa
---
src/api/plan/productionschedul.js | 42 ++++++++++++++++++++++++++++++++++++++++--
1 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index 5c56f9a..5784b65 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -8,9 +8,16 @@
})
}
+export function fetchRecordsList(mId) {
+ return request({
+ url: '/mes/productionSchedul/pageRecords/'+mId,
+ method: 'get',
+ })
+}
+
export function fetchScheduleById(id) {
return request({
- url: '/mes/productionSchedul/'+id,
+ url: '/mes/productionSchedul/selTime/'+id,
method: 'get',
})
}
@@ -21,4 +28,35 @@
method: 'put',
data: data
})
-}
\ No newline at end of file
+}
+
+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
+ })
+}
--
Gitblit v1.9.3