This commit is contained in:
2025-05-13 18:09:14 +08:00
parent 6b39159b16
commit 5c10c86068
11 changed files with 155 additions and 854 deletions

View File

@@ -24,102 +24,43 @@ export const handLogin = (user, password) => request({
/**
* 混碾搬运
*/
// 查询货架上未拆包料盅信息
export const unpackShelfInfo = () => request({
url:'api/pda/unpackShelfInfo',
data: {}
})
// 查询拆包机点位
export const getCbjPoint = () => request({
url:'api/pda/getCbjPoint',
data: {}
})
// 拆包机叫料
export const cbjqlTask = (sp, ep) => request({
url:'api/pda/cbjqlTask',
export const pdaHnby = (sp, ep, weight) => request({
url:'api/pda/hnby',
data: {
startPoint: sp,
endPoint: ep
endPoint: ep,
weight: weight
}
})
// 查询混碾工单
export const hnWorkOrder = () => request({
url:'api/pda/hnWorkOrder',
data: {}
})
// 拆包机下料位满料入货架
export const cbjmlTask = (code, bcode, sp) => request({
url:'api/pda/cbjmlTask',
data: {orderCode: code,barCode: bcode,startPoint: sp}
})
// 拆包机下料位叫空蛊
export const cbjqkTask = (ep) => request({
url:'api/pda/cbjqkTask',
data: {endPoint: ep}
})
// 拆包机空料位送空蛊
export const cbjskTask = (type, sp) => request({
url:'api/pda/cbjskTask',
data: {nextType: type, startPoint: sp}
})
/**
* 压机搬运
* 扫码出库
*/
// 压机上料位下拉框
export const yjslwPointList = () => request({
url:'api/pda/yjslwPointList',
data: {}
})
// 压机上料位强制回货架
export const qzhhjTask = (code) => request({
url:'api/pda/qzhhjTask',
data: {deviceCode: code}
})
// 查询货架上已拆包料盅信息
export const packShelfInfo = () => request({
url:'api/pda/packShelfInfo',
data: {}
})
// 困料货架点对点到布料机上料位
export const yzqlTask = (sp, ep) => request({
url:'api/pda/yzqlTask',
data: {startPoint: sp, endPoint: ep}
})
/**
* 物料报废
*/
// 物料报废
export const materialScrap = (code) => request({
url:'api/pda/materialScrap',
export const pdaSmck = (code) => request({
url:'api/pda/smck',
data: {
barCode: code
}
})
/**
* 人工分拣
* 压制满料搬运
*/
// 查询人工分拣点位
export const rgfjPoint = () => request({
url:'api/pda/rgfjPoint',
data: {}
export const mlTask = (code, vcode, weight, qty) => request({
url:'api/pda/mlTask',
data: {
deviceCode: code,
vehicle_code: vcode,
weight: weight,
qty: qty
}
})
// 查询缓存货架点位
export const hchjPoint = () => request({
url:'api/pda/hchjPoint',
data: {}
})
// 人工分拣叫料
export const rgfjqlTask = (sp, code) => request({
url:'api/pda/rgfjqlTask',
data: {startPoint: sp, deviceCode: code}
})
// 人工分拣送空盘
export const rgfjskTask = (code) => request({
url:'api/pda/rgfjskTask',
data: {deviceCode: code}
/**
* 半成品解绑
*/
export const vehicleUnbind = (code) => request({
url:'api/pda/vehicleUnbind',
data: {
point_code: code
}
})
/**
@@ -159,36 +100,3 @@ export const handInst = (type, id) => request({
inst_uuid: id
}
})
/**
* 压制混碾满料搬运
*/
export const mlTask = (code, vcode, weight, qty) => request({
url:'api/pda/mlTask',
data: {
deviceCode: code,
vehicle_code: vcode,
weight: weight,
qty: qty
}
})
/**
* 条码解绑
*/
export const vehicleUnbind = (code) => request({
url:'api/pda/vehicleUnbind',
data: {
point_code: code
}
})
/**
* 组盘查看
*/
export const zpxxTask = (code) => request({
url:'api/pda/zpxxTask',
data: {
vehicle_code: code
}
})