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 @@
>
开工
+
+ 工单变更
+
确认
+
+
+
+
+
+
+