刻字工序

This commit is contained in:
2023-07-28 21:24:53 +08:00
parent e1797b9620
commit ab8b5e9e1b
6 changed files with 57 additions and 43 deletions

View File

@@ -365,42 +365,42 @@ 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
}
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
}
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
}
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,