刻字工序

This commit is contained in:
2023-07-28 14:43:02 +08:00
parent 6ba6b814d1
commit e1797b9620
4 changed files with 217 additions and 421 deletions

View File

@@ -291,7 +291,7 @@ export const pourdeviceinstorQty = (qty, code) => post('api/pda/deviceinstorQty'
})
/**
* 刻字工序
* 刻字上料
*/
// 设备列表
export const letterDeviceList = (id) => post('api/device/list', {
@@ -360,3 +360,49 @@ export const washWashQzFinish = (id, wegiht, code) => post('api/pda/wash/washQzF
})
// 1.5呼叫空框
export const bcpInCallVehicle = () => post('api/pda/bcp/in/callVehicle', {})
/**
* 刻字工序
*/
// 1.1刻字上料物料列表
// export const bypda = (page, size) => post('api/bcp/bypda', {
// page: page,
// size: size,
// stor_id: '15286279952695336962'
// })
export const bypda = (page, size) => {
let res = {
code: 200,
content: [{struct_code: '1', canuse_qty: '200'}]
}
return res
}
// 1.2刻字机选择
// export const kzDeviceList = () => post('api/device/list', {
// product_area: 'A1'
// })
export const kzDeviceList = () => {
let res = {
code: 200,
content: [{workorder_code: '1', device_code: '1'}, {workorder_code: '11', device_code: '11'}]
}
return res
}
// 1.3确认上料
export const kzSubmitkz = (arr) => post('api/pda/kz/submitkz', arr)
// 1.1任务列表
// export const KzTasks = () => post('api/pda/kz/kzTasks', {
// product_area: 'A1'
// })
export const KzTasks = () => {
let res = {
code: 200,
content: [{task_id: '1', device_code: '1'}, {task_id: '11', device_code: '11'}]
}
return res
}
// 1.2强制完成取消
export const operation = (id, method) => post('api/task/operation', {
task_id: id,
method_name: method
})