This commit is contained in:
2025-09-16 11:29:06 +08:00
parent aceb3a3301
commit 6a4e67c027
5 changed files with 78 additions and 25 deletions

View File

@@ -47,8 +47,8 @@ export const selectMaterials = (blurry, page, size) => request({
data: {blurry: blurry, page: page, size: size}
})
// 1.2查询所有区域
export const getRegions = () => request({
url:'api/hand/getRegions',
export const getNextRegions = () => request({
url:'api/hand/getNextRegions',
data: {}
})
// 1.3确认下料
@@ -58,6 +58,11 @@ export const blanking = (pcode, arr, rcode) => request({
})
// 人工放货
// 1.1查询物料信息
export const rgfhSelectMaterials = (blurry, type, page, size) => request({
url:'api/hand/selectMaterials',
data: {blurry: blurry, material_type: type, page: page, size: size}
})
// 1.2物料绑定
export const materialBinding = (pcode, arr) => request({
url:'api/hand/materialBinding',
@@ -68,6 +73,11 @@ export const vehicleBinding = (pcode) => request({
url:'api/hand/vehicleBinding',
data: {point_code: pcode}
})
// 1.2查询所有物料类型
export const getMaterialTypes = () => request({
url:'api/hand/getMaterialTypes',
data: {}
})
// 人工取货
// 1.1根据点位查询物料信息
@@ -109,6 +119,17 @@ export const sendPointTask = (pcode1, pcode2) => request({
url:'api/hand/sendPointTask',
data: {point_code: pcode1, point_code2: pcode2}
})
// 1.2查询所有起点区域
export const getStartRegions = () => request({
url:'api/hand/getStartRegions',
data: {}
})
// 1.2查询所有终点区域
export const getEndRegions = () => request({
url:'api/hand/getEndRegions',
data: {}
})
// 作业管理
// 1.1查询未完成的任务
@@ -134,12 +155,12 @@ export const selectRegionInfo = (rcode) => request({
data: {region_code: rcode}
})
// 1.3进入
export const inArea = (rcode) => request({
export const inArea = (obj) => request({
url:'api/hand/inArea',
data: {region_code: rcode}
data: obj
})
// 1.3强制确认
export const outArea = (rcode) => request({
export const outArea = (obj) => request({
url:'api/hand/outArea',
data: {region_code: rcode}
data: obj
})