From 5981dfdb6b305352d5469c48123b25d68682e633 Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Thu, 23 Nov 2023 16:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E7=A8=8B=E6=A8=A1=E5=9D=97=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/productManagement/workorder.js | 16 ++++ src/views/productManagement/workorder.vue | 109 ++++++++++++++++++---- 2 files changed, 107 insertions(+), 18 deletions(-) diff --git a/src/api/productManagement/workorder.js b/src/api/productManagement/workorder.js index c8a3f14..c293c84 100644 --- a/src/api/productManagement/workorder.js +++ b/src/api/productManagement/workorder.js @@ -31,3 +31,19 @@ export function CancelScheduling(id) { method: 'get', }) } + +export function releaseProduction(id) { + return request({ + url: '/mes/pro/workorder/releaseProduction/' + id, + method: 'get', + }) +} + +export function saveSrotResults(data) { + return request({ + url: '/mes/pro/workorder/sortschedule', + method: 'post', + data: data, + contextType: 'application/json', + }) +} diff --git a/src/views/productManagement/workorder.vue b/src/views/productManagement/workorder.vue index 88bee4c..76b7d41 100644 --- a/src/views/productManagement/workorder.vue +++ b/src/views/productManagement/workorder.vue @@ -10,13 +10,13 @@ - 周一 - 周二 - 周三 - 周四 - 周五 - 周六 - 周日 + 周一 + 周二 + 周三 + 周四 + 周五 + 周六 + 周日 @@ -24,8 +24,10 @@ + 开启拖拽 + 结束并保存拖拽结果
- +
@@ -53,7 +55,15 @@ - + @@ -75,19 +85,24 @@ - + - +
#操作
{{ index }} {{ item.id }}{{ item.priority }} {{ item.color }} {{ item.isarrange }}{{ item.isProduction }}{{ item.isproduction }} {{ item.order }}取消排程 + + + +
-
@@ -154,7 +169,14 @@