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 @@ 操作 - + {{ index }} {{ item.id }} @@ -75,19 +85,24 @@ {{ item.priority }} {{ item.color }} {{ item.isarrange }} - {{ item.isProduction }} + {{ item.isproduction }} {{ item.order }} - 取消排程 + + + 下达生产 + 取消排程 + + + 生产中 + + + 结束生产 + + - @@ -154,7 +169,14 @@