From 30a4bcf9bfca36feb9cb6c7fccfbbad76450db6c Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Thu, 13 Jul 2023 17:02:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E6=B4=97=E4=B8=8A=E6=96=99=E4=B8=8B?= =?UTF-8?q?=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 50 ++++ src/pages/modules/clean/cleaning-cutting.vue | 257 ++++++++++++------ src/pages/modules/clean/cleaning-loading.vue | 146 +++++----- .../semifinished/semi-finished-check.vue | 2 +- 4 files changed, 291 insertions(+), 164 deletions(-) diff --git a/src/config/getData2.js b/src/config/getData2.js index 22d6db6..fc97036 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -301,3 +301,53 @@ export const letterDeviceList = (id) => post('api/device/list', { export const letterCallVechile = (id) => post('api/pda/callVechile', { device_code: id }) + +/** + * 清洗上料 + */ +// 1.1车间列表 +export const dictAll = () => post('api/dict/all', {}) +// 1.1规格列表 +export const washSpecList = () => post('api/pda/wash/specList', {}) +// 1.2查询列表 +export const washQuery = (area, id) => post('api/pda/wash/query', { + product_area: area, + material_id: id +}) +// 1.3确认上料 +export const washSubmitWash = (arr) => post('api/pda/wash/submitWash', arr) + +/** + * 清洗下料 + */ +// 1.1查询列表 +// export const washWashTasks = (area) => post('api/pda/wash/washTasks', { +// product_area: area +// }) +export const washWashTasks = (area) => { + let res = { + code: 200, + content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2'}] + } + return res +} +// 1.2获取信息 +export const washWashVechileInfo = (area) => post('api/pda/wash/washVechileInfo', { + product_area: area +}) +// 1.2确认下料 +export const washWashFinish = (id) => post('api/pda/wash/washFinish', { + task_id: id +}) +// 1.3强制完成 +export const washWashTaskFinish = (id) => post('api/pda/wash/washTaskFinish', { + task_id: id +}) +// 1.4强制下料 +export const washWashQzFinish = (id, wegiht, code) => post('api/pda/wash/washQzFinish', { + task_id: id, + wegiht: wegiht, + vechile_code: code +}) +// 1.5呼叫空框 +export const bcpInCallVehicle = () => post('api/pda/bcp/in/callVehicle', {}) diff --git a/src/pages/modules/clean/cleaning-cutting.vue b/src/pages/modules/clean/cleaning-cutting.vue index c3bb574..9da8e3c 100644 --- a/src/pages/modules/clean/cleaning-cutting.vue +++ b/src/pages/modules/clean/cleaning-cutting.vue @@ -18,22 +18,22 @@
下料重量
- +
料框条码
- +
- - - - - - + + + + + +
@@ -49,124 +49,217 @@ 上料重量(kg) 单重 数量 - 存在任务 物料名称 - - {{ e.sect_name }} - {{e.struct_name}} + + {{ e.sep_on }} + {{ e.create_time }} + {{e.task_id}} {{e.material_code}} {{e.material_spec}} - {{e.canuse_qty | numeric(3)}} - {{ e.qty | numeric(3) }} - {{ e.storagevehicle_code }} + {{e.material_qty | numeric(3)}} + + + {{ e.material_name }} + +
当前任务号不是第一个任务是否确认下料?
+