From 0aef31b49fa2e307631358983ae6fa005423acbe Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Wed, 15 May 2024 16:39:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A5=E5=8D=95=E8=BD=AC=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lms/nladmin-ui/src/api/wms/pdm/device.js | 8 ++- lms/nladmin-ui/src/api/wms/pdm/workorder.js | 9 ++- .../src/views/wms/pdm/workerorder/index.vue | 64 ++++++++++++++++++- 3 files changed, 77 insertions(+), 4 deletions(-) diff --git a/lms/nladmin-ui/src/api/wms/pdm/device.js b/lms/nladmin-ui/src/api/wms/pdm/device.js index 25adbd4..cfe7e1a 100644 --- a/lms/nladmin-ui/src/api/wms/pdm/device.js +++ b/lms/nladmin-ui/src/api/wms/pdm/device.js @@ -77,5 +77,11 @@ export function changeActive(data) { data }) } +export function getYZDevice() { + return request({ + url: 'api/device/getYZDevice', + method: 'post' + }) +} -export default { add, edit, del, getWorkprocedure, getItemByDeviceId, copyAdd, changeActive, getAllRegions } +export default { add, edit, del, getWorkprocedure, getItemByDeviceId, copyAdd, changeActive, getAllRegions, getYZDevice } diff --git a/lms/nladmin-ui/src/api/wms/pdm/workorder.js b/lms/nladmin-ui/src/api/wms/pdm/workorder.js index 00a7e76..bc7fe1b 100644 --- a/lms/nladmin-ui/src/api/wms/pdm/workorder.js +++ b/lms/nladmin-ui/src/api/wms/pdm/workorder.js @@ -103,4 +103,11 @@ export function getMaterial() { }) } -export default { add, edit, del, submits, getDevice, getTable, openStart, saveReport, finish, getReportWork, forceFinish, getDtl, getMaterial } +export function changeDevice(data) { + return request({ + url: 'api/workorder/changeDevice', + method: 'post', + data + }) +} +export default { add, edit, del, submits, getDevice, getTable, openStart, saveReport, finish, getReportWork, forceFinish, getDtl, getMaterial, changeDevice } diff --git a/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue b/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue index 837eddf..6d172ef 100644 --- a/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue +++ b/lms/nladmin-ui/src/views/wms/pdm/workerorder/index.vue @@ -86,6 +86,17 @@ > 开工 + + 工单变更 + 确认 + + + + + + + 取消 + 确定 + +