放货确认

This commit is contained in:
2024-08-07 14:44:11 +08:00
parent 791a52ef94
commit b18d5834c9
16 changed files with 96 additions and 42 deletions

View File

@@ -84,45 +84,15 @@ export const handTaskoperation = (type, id) => request({
task_uuid: id
}
})
/**
* 生箔站点管理
* 放货确认
*/
// 1.1根据区域查询设备编号及状态
export const queryDevices = () => request({
url:'api/hands/queryDevices',
data: {}
})
// 1.3更新设备状态操作
export const updateDeviceStatus = (code, option) => request({
url:'api/hands/updateDeviceStatus',
export const updateTask = (code1,code2,type) => request({
url:'api/wms/updateTask',
data: {
device_code: code,
option: option
}
})
/**
* agv呼叫管理
*/
// 1.1查询所有区域信息
export const agvqueryArea = () => request({
url:'api/hands/queryArea',
data: {}
})
// 1.2根据区域查询设备编号及状态
export const agvqueryPointByArea = (code) => request({
url:'api/hands/queryPointByArea',
data: {
region_code: code
}
})
// 1.2创建任务(生成任务号为-开头)
export const agvcallTask = (scode1, ncode1, scode2, ncode2,type) => request({
url:'api/hands/callTask',
data: {
start_device_code1: scode1,
next_device_code1: ncode1,
start_device_code2: scode2,
next_device_code2: ncode2,
task_type: type
device_code: code1,
task_code: code2,
option: type
}
})