diff --git a/src/config/getData2.js b/src/config/getData2.js index 5dba5a8..4d2ad45 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -162,7 +162,7 @@ export const callDefective = (code) => post('api/pda/callDefective', { export const ExceptionHandlingRegionList = () => post('api/pda/manual/ExceptionHandlingTask/regionList', {}) // 点位下拉框 export const ExceptionHandlingTaskList = () => post('api/pda/manual/ExceptionHandlingTask/list', {}) -// 任务信息 +// 任务信息列表 export const ExceptionHandlingTaskShow = (code) => post('api/pda/manual/ExceptionHandlingTask/show', { region_code: code }) @@ -171,3 +171,16 @@ export const ExceptionHandlingTask = (id, point) => post('api/pda/manual/Excepti task_id: id, end_point: point }) +/** + * 人工混碾搬运 + */ +// 混碾位置下拉框 +export const getMixingPointList = () => post('api/pda/manual/getMixingPointList', {}) +// 混碾人工任务列表 +export const getMixingTaskList = () => post('/api/pda/manual/getMixingTaskList', {}) +// 确认 +export const mixingMoveTask = (point, code, weight) => post('api/pda/manual/mixingMoveTask', { + point_code: point, + vehicle_code: code, + weight: weight +}) diff --git a/src/config/mork2.js b/src/config/mork2.js index b9c6a6d..3818ddb 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -14,3 +14,15 @@ export const ExceptionHandlingTask = () => { let res = {code: '1', desc: 'ok'} return res } +export const getMixingPointList = () => { + let res = {'result': [{'point_name': '混料机1下料位', 'point_code': 'HLJ01XL01'}, {'point_name': '混料机2下料位', 'point_code': 'HLJ02XL01'}, {'point_name': '混料机3下料位', 'point_code': 'HLJ03XL01'}, {'point_name': '混料机4下料位', 'point_code': 'HLJ04XL01'}, {'point_name': '混料机5下料位', 'point_code': 'HLJ05XL01'}, {'point_name': '混料机6下料位', 'point_code': 'HLJ06XL01'}, {'point_name': '混料机7下料位', 'point_code': 'HLJ07XL01'}, {'point_name': '混料机8下料位', 'point_code': 'HLJ08XL01'}, {'point_name': '混料机9下料位', 'point_code': 'HLJ09XL01'}, {'point_name': '混料机10下料位', 'point_code': 'HLJ10XL01'}, {'point_name': '混料机11下料位', 'point_code': 'HLJ11XL01'}, {'point_name': '混料机12下料位', 'point_code': 'HLJ12XL01'}, {'point_name': '混料机13下料位', 'point_code': 'HLJ13XL01'}, {'point_name': '混料机14下料位', 'point_code': 'HLJ14XL01'}, {'point_name': '混料机15下料位', 'point_code': 'HLJ15XL01'}, {'point_name': '混料机16下料位', 'point_code': 'HLJ16XL01'}], 'code': '1', 'desc': '操作成功!'} + return res +} +export const getMixingTaskList = () => { + let res = {'result': [{'task_name': '混料区人工送料', 'task_status': '7', 'start_point': '混料机1下料位', 'end_point': '困料虚拟库', 'task_code': '20240515000003', 'vehicle_type': '1', 'task_id': '1790570199137189888', 'vehicle_code': '1222'}], 'code': '1', 'desc': '操作成功!'} + return res +} +export const mixingMoveTask = () => { + let res = {code: '1', desc: 'ok'} + return res +} diff --git a/src/pages/manual/MixMove.vue b/src/pages/manual/MixMove.vue new file mode 100644 index 0000000..5209481 --- /dev/null +++ b/src/pages/manual/MixMove.vue @@ -0,0 +1,136 @@ + + +