diff --git a/src/config/getData1.js b/src/config/getData1.js index 3efc4b3..6a41fe8 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -28,43 +28,47 @@ export const taskOperation = (uuid, type) => post2('api/hand/taskoperation', { }) // 送料 -// 1.1查询工序设备点位 +// 1.1查询区域点位 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, - device_id: did, +// 1.2送料确定 +export const sendMaterialconfirm = (rid, pid, pcode, qty) => post('api/pda/sendMaterial/confirm', { + region_id: rid, point_id: pid, point_code: pcode, - qty: qty, - vehicle_code: vcode, - is_full: isfull + qty: qty }) -// 压制叫料 -// 1.1查询点位 +// 叫料 +// 1.1查询区域点位 export const callMaterialqueryPoint = () => post('api/pda/callMaterial/queryPoint', {}) -// 1.2压制叫料确定 -export const callMaterialconfirm = (pid, pcode, pname, isfull) => post('api/pda/callMaterial/confirm', { +// 1.2叫料确定 +export const callMaterialconfirm = (rid, pid, pcode) => post('api/pda/callMaterial/confirm', { + region_id: rid, point_id: pid, - point_code: pcode, - point_name: pname, - is_full: isfull + point_code: pcode }) // 送空托盘 -// 1.1查询区域 -export const sendEmptyqueryArea = () => post('api/pda/sendEmpty/queryArea', {}) -// 1.2根据区域查询点位 -export const sendEmptyqueryPointByArea = (acode) => post('api/pda/sendEmpty/queryPointByArea', { - area_code: acode -}) -// 1.3 送空托盘确定 -export const sendEmptyconfirm = (pid, pcode, pname, vcode) => post('api/pda/sendEmpty/confirm', { +// 1.1查询区域点位 +export const sendEmptyqueryPoint = () => post('api/pda/sendEmpty/queryPoint', {}) +// 1.2送托盘确认 +export const sendEmptyconfirm = (rid, pid, pcode, vcode, qty) => post('api/pda/sendEmpty/confirm', { + region_id: rid, point_id: pid, point_code: pcode, - point_name: pname, - vehicle_code: vcode + vehicle_code: vcode, + qty: qty +}) + +// 呼叫空托盘 +// 1.1查询区域点位 +export const callEmptyqueryPoint = () => post('api/pda/callEmpty/queryPoint', {}) +// 1.2送料确定 +export const callEmptyconfirm = (rid, pid, pcode, qty) => post('api/pda/callEmpty/confirm', { + region_id: rid, + point_id: pid, + point_code: pcode, + qty: qty }) // 组盘-托盘数量绑定 diff --git a/src/pages/proj/CallEmptyPallet.vue b/src/pages/proj/CallEmptyPallet.vue index 1c64db6..37122a6 100644 --- a/src/pages/proj/CallEmptyPallet.vue +++ b/src/pages/proj/CallEmptyPallet.vue @@ -1,22 +1,10 @@