配料任务

This commit is contained in:
蔡玲
2024-12-25 13:35:58 +08:00
parent 3bd1795234
commit f290d848a4
16 changed files with 152 additions and 1260 deletions

View File

@@ -20,78 +20,13 @@ export const handLogin = (user, password) => request({
password: password
}
})
// 区域
export const regionList = () => request({
url:'api/fab/regionList',
method: 'GET'
})
// 区域锁定
export const handheldLock = (code, status, data) => request({
url:'api/handheld/lock',
data: {region_code: code, status: status, pointCodes: data}
})
// 外协区空料架送回
export const handheldRack = (code, vcode) => request({
url:'api/handheld/rack',
data: {device_code: code, vehicle_code: vcode}
})
// 外协区空笼框送回
export const handheldCageFrame = (type, code, list) => request({
url:'api/handheld/cageFrame',
data: {type: type, device_code: code, vehicle_list: list}
})
// 物料转运
export const handheldTranshipment = (code, vcode) => request({
url:'api/handheld/transhipment',
data: {device_code: code, vehicle_code: vcode}
})
// 载具类型列表
export const vehicleType = () => request({
url:'api/fab/vehicleType',
// 配料作业查询
export const queryWorks = () => request({
url:'api/hand/queryWorks',
data: {}
})
// 补空框
export const handheldStorehouse = (code, type) => request({
url:'api/handheld/storehouse',
data: {device_code: code, vehicle_type: type}
})
// 工序下料
// export const handheldGetRegionCode = (code) => request({
// url:'api/handheld/getRegionCode',
// data: {orderCode: code}
// })
export const handheldBlanking = (type, code, rcode, vcode, material) => request({
url:'api/handheld/blanking',
data: {type: type, device_code: code, region_code: rcode, vehicle_code: vcode, material: material}
})
// 修改订单工序
export const fabOrders = (code) => request({
url:'api/fab/orders',
data: {vehicle_code: code}
})
export const updateOrder = (data) => request({
url:'api/handheld/updateOrder',
data: data
})
// 路线锁定
export const updateRouteStatus = (type, status) => request({
url:'api/handheld/updateRouteStatus',
data: {type: type, status: status}
})
// 呼叫物料
export const selectOrderByRegion = (code, code1) => request({
url:'api/fab/selectOrderByRegion?regionCode=' + code + '&deviceCode=' + code1,
method: 'GET'
})
export const fabMaterial = (code) => request({
url:'api/fab/material',
data: {vehicle_code: code}
})
export const callMater = (mater, code, vcode) => request({
url:'api/fab/callMater',
data: {mater: mater, device_code: code, vehicle_code: vcode}
})
export const selectPointByRegion = (code) => request({
url:'api/handheld/selectPointByRegion?regionCode=' + code,
method: 'GET'
// 确认配料作业
export const handConfirm = () => request({
url:'api/hand/confirm',
data: {work_code: code}
})