空托出入库

This commit is contained in:
2024-03-11 13:43:45 +08:00
parent 33c59564c4
commit 9bb3f00b91
24 changed files with 2771 additions and 233 deletions

View File

@@ -21,14 +21,51 @@ export const handLogin = (user, password) => request({
password: password
}
})
// 测试状态码报错接口
export const handRequest = () => request({
url:'getInfo/4',
data: {}
/**
* 空托盘出库
*/
// 1.1获取载具类型
// export const getVehicleType = () => request({
// url:'api/pda/group/getVehicleType',
// data: {}
// })
export const getVehicleType = () => {
let res = [
{
"value": "LZ",
"text": "料盅"
},
{
"value": "GTP",
"text": "钢托盘"
},
{
"value": "1",
"text": "木托盘"
}
]
return res
}
// 1.2空托盘出库确认
export const callEmptyVehicle = (type, code) => request({
url:'api/pda/callEmptyVehicle',
data: {
vehicle_type: type,
point_code: code
}
})
/**
* 空托盘入库
*/
// 1.1空托盘入库确认
export const emptyInStore = (type, vcode, code) => request({
url:'api/pda/emptyInStore',
data: {
vehicle_type: type,
vehicle_code: vcode,
point_code: code
}
})
/**
* 任务流转
*/
@@ -98,13 +135,7 @@ export const queryPoints = (type) => request({
// ]
// return res
// }
// 1.2呼叫空托
export const callEmptyVehicle = (code) => request({
url:'api/pda/callEmptyVehicle',
data: {
point_code: code
}
})
//1.3满托入库
export const fullVehicleIn = (code) => request({
url:'api/pda/fullVehicleIn',
@@ -165,31 +196,7 @@ export const fullVehicleOutConfirm = (code, vcode, num) => request({
}
})
/**
* 人工组盘
*/
// 1.1获取载具类型
export const getVehicleType = () => request({
url:'api/pda/group/getVehicleType',
data: {}
})
// export const getVehicleType = () => {
// let res = [
// {
// "value": "LZ",
// "text": "料盅"
// },
// {
// "value": "GTP",
// "text": "钢托盘"
// },
// {
// "value": "1",
// "text": "木托盘"
// }
// ]
// return res
// }
// 1.2获取物料信息
export const queryMaterial = () => request({
url:'api/pda/queryMaterial',