From 68b4f08c51df1cac8d92375bda4ad701919cef5e Mon Sep 17 00:00:00 2001 From: xiangxy Date: Mon, 5 Sep 2022 16:36:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=84=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData1.js | 17 ++++-- src/pages/login/Home.vue | 10 +++- src/pages/proj/GroupPallet.vue | 72 ++++++++++++++++++++++ src/pages/proj/SendMater.vue | 105 +++++---------------------------- src/router/index.js | 52 ++++++++-------- 5 files changed, 138 insertions(+), 118 deletions(-) create mode 100644 src/pages/proj/GroupPallet.vue diff --git a/src/config/getData1.js b/src/config/getData1.js index a8e9a80..3efc4b3 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -3,33 +3,33 @@ import {post, post2} from '@config/http.js' // 指令管理 // 1.1 查询未完成指令 -export const queryInstraction = (keyword, scode, ncode) => post2('api/ash/hand/insts', { +export const queryInstraction = (keyword, scode, ncode) => post2('api/hand/insts', { keyword: keyword, start_devicecode: scode, next_devicecode: ncode }) // 1.2 指令操作 -export const instOperation = (uuid, type) => post2('api/ash/hand/inst', { +export const instOperation = (uuid, type) => post2('api/hand/inst', { inst_uuid: uuid, type: type }) // 任务管理 // 1.1 查询未完成指令 -export const queryTask = (keyword, scode, ncode) => post2('api/ash/hand/tasks', { +export const queryTask = (keyword, scode, ncode) => post2('api/hand/tasks', { keyword: keyword, start_devicecode: scode, next_devicecode: ncode }) // 1.2 指令操作 -export const taskOperation = (uuid, type) => post2('api/ash/hand/taskoperation', { +export const taskOperation = (uuid, type) => post2('api/hand/taskoperation', { inst_uuid: uuid, type: type }) // 送料 // 1.1查询工序设备点位 -export const sendMaterialqueryDevice = () => post('api/pda/sendMaterial/queryDevice', {}) +export const sendMaterialqueryPoint = () => post('api/pda/sendMaterial/queryPoint', {}) // 1.2压制叫料确定 export const sendMaterialconfirm = (wid, did, pid, pcode, qty, vcode, isfull) => post('api/pda/sendMaterial/confirm', { workprocedure_id: wid, @@ -66,3 +66,10 @@ export const sendEmptyconfirm = (pid, pcode, pname, vcode) => post('api/pda/send point_name: pname, vehicle_code: vcode }) + +// 组盘-托盘数量绑定 +// 1.1托盘数量绑定确认 +export const emptyAndQtyconfirm = (vcode, qty) => post('api/pda/emptyAndQty/confirm', { + vehicle_code: vcode, + qty: qty +}) diff --git a/src/pages/login/Home.vue b/src/pages/login/Home.vue index 4c8139b..08f33e5 100644 --- a/src/pages/login/Home.vue +++ b/src/pages/login/Home.vue @@ -15,7 +15,15 @@