From 1dcca714f362ba3adc352eebdbe22d5ecf1e566b Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 22 May 2024 15:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=BD=E5=85=B7=E8=BD=AC=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 12 ++++ src/config/mork2.js | 12 ++++ src/pages/manual/KilnMove.vue | 128 ++++++++++++++++++++++++++++++++++ src/pages/manual/KilnOut.vue | 2 +- 4 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 src/pages/manual/KilnMove.vue diff --git a/src/config/getData2.js b/src/config/getData2.js index 03939d0..5da78d4 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -171,3 +171,15 @@ export const kilnOutCreateTaskShow = () => post('api/pda/manual/kiln/out/createT export const kilnOutCreateTask = (code) => post('api/pda/manual/kiln/out/createTask', { vehicle_code: code }) +/** + * 载具转移 + */ +// 下料起点下拉框 +export const kilnMovePointList = () => post('api/pda/manual/kiln/move/pointList', {}) +// 任务列表 +export const kilnMoveCreateTaskShow = () => post('api/pda/manual/kiln/move/createTaskShow', {}) +// 确认 +export const kilnMoveCreateTask = (sp, code) => post('api/pda/manual/kiln/move/createTask', { + start_point: sp, + vehicle_code: code +}) diff --git a/src/config/mork2.js b/src/config/mork2.js index 1a0cc2b..d180b59 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -137,3 +137,15 @@ export const kilnOutCreateTask = () => { let res = {code: '1', desc: 'ok'} return res } +export const kilnMovePointList = () => { + let res = {'result': [{'point_name': '压机3上料位', 'point_code': 'YJ03SL01'}, {'point_name': '压机4上料位', 'point_code': 'YJ04SL01'}, {'point_name': '压机5上料位', 'point_code': 'YJ05SL01'}, {'point_name': '压机6上料位', 'point_code': 'YJ06SL01'}, {'point_name': '压机7上料位', 'point_code': 'YJ07SL01'}, {'point_name': '压机8上料位', 'point_code': 'YJ08SL01'}, {'point_name': '压机9上料位', 'point_code': 'YJ09SL01'}, {'point_name': '压机10上料位', 'point_code': 'YJ10SL01'}, {'point_name': '次品料对接位1', 'point_code': 'CPLDJ01'}, {'point_name': '次品料对接位2', 'point_code': 'CPLDJ02'}, {'point_name': '次品料对接位3', 'point_code': 'CPLDJ03'}, {'point_name': '次品料对接位4', 'point_code': 'CPLDJ04'}], 'code': '1', 'desc': '操作成功!'} + return res +} +export const kilnMoveCreateTaskShow = () => { + let res = {'result': [{'task_name': '人工布料机上料', 'task_status': '7', 'start_point': '困料虚拟库', 'end_point': '压机3上料位', 'task_code': '20240515000006', 'vehicle_type': '1', 'task_id': '1790612954789974016', 'vehicle_code': '1222'}, {'task_name': '人工压机下料', 'task_status': '7', 'start_point': '压机3上料位', 'end_point': '窑前虚拟库', 'task_code': '20240515000007', 'vehicle_type': '1', 'task_id': '1790619293327052800', 'vehicle_code': '8522'}], 'code': '1', 'desc': '操作成功!'} + return res +} +export const kilnMoveCreateTask = () => { + let res = {code: '1', desc: 'ok'} + return res +} diff --git a/src/pages/manual/KilnMove.vue b/src/pages/manual/KilnMove.vue new file mode 100644 index 0000000..8b30bdf --- /dev/null +++ b/src/pages/manual/KilnMove.vue @@ -0,0 +1,128 @@ + + + diff --git a/src/pages/manual/KilnOut.vue b/src/pages/manual/KilnOut.vue index 48f57e7..6db3b7c 100644 --- a/src/pages/manual/KilnOut.vue +++ b/src/pages/manual/KilnOut.vue @@ -52,7 +52,7 @@