From 6138e4435cf3736e23c68691f4d51e910a4ccf23 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期一, 25 十二月 2023 15:20:05 +0800 Subject: [PATCH] modified: src/page/PackingLedgerDetails/index.vue modified: src/views/quality/Packaging_ledger/index.vue modified: vue.config.js --- src/api/plan/productionschedul.js | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js index 5c56f9a..7b43570 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', }) } @@ -21,4 +21,27 @@ method: 'put', 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