人工压制下料
This commit is contained in:
@@ -148,3 +148,26 @@ export const suppressCreateTask = (sp, ep, code) => post('api/pda/manual/suppres
|
||||
end_point: ep,
|
||||
vehicle_code: code
|
||||
})
|
||||
/**
|
||||
* 人工压制下料
|
||||
*/
|
||||
// 下料起点下拉框
|
||||
export const suppressDownPointList = () => post('api/pda/manual/suppress/down/pointList', {})
|
||||
// 压制送料任务列表
|
||||
export const suppressDownShow = () => post('api/pda/manual/suppress/down/show', {})
|
||||
// 确认
|
||||
export const suppressDownCreateTask = (sp, code, qty, is) => post('api/pda/manual/suppress/down/createTask', {
|
||||
start_point: sp,
|
||||
vehicle_code: code,
|
||||
qty: qty,
|
||||
is_full: is
|
||||
})
|
||||
/**
|
||||
* 人工出窑
|
||||
*/
|
||||
// 出窑任务列表
|
||||
export const kilnOutCreateTaskShow = () => post('api/pda/manual/kiln/out/createTaskShow', {})
|
||||
// 确认
|
||||
export const kilnOutCreateTask = (code) => post('api/pda/manual/kiln/out/createTask', {
|
||||
vehicle_code: code
|
||||
})
|
||||
|
||||
@@ -117,3 +117,23 @@ export const suppressCreateTask = () => {
|
||||
let res = {code: '1', desc: 'ok'}
|
||||
return res
|
||||
}
|
||||
export const suppressDownPointList = () => {
|
||||
let res = {'result': [{'point_name': '压机3上料位', 'point_code': 'YJ03SL01'}, {'point_name': '压机4上料位', 'point_code': 'YJ04SL01'}, {'point_name': '压机5上料位', 'point_code': 'YJ05SL01'}, {'point_name': '压机6上料位', 'point_code': 'YJ06SL01'}, {'point_name': '压机7上料位', 'point_code': 'YJ07SL01'}, {'point_name': '压机8上料位', 'point_code': 'YJ08SL01'}, {'point_name': '压机9上料位', 'point_code': 'YJ09SL01'}, {'point_name': '压机10上料位', 'point_code': 'YJ10SL01'}, {'point_name': '次品料对接位1', 'point_code': 'CPLDJ01'}, {'point_name': '次品料对接位2', 'point_code': 'CPLDJ02'}, {'point_name': '次品料对接位3', 'point_code': 'CPLDJ03'}, {'point_name': '次品料对接位4', 'point_code': 'CPLDJ04'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
export const suppressDownShow = () => {
|
||||
let res = {'result': [{'task_name': '人工布料机上料', 'task_status': '7', 'start_point': '困料虚拟库', 'end_point': '压机3上料位', 'task_code': '20240515000006', 'vehicle_type': '1', 'task_id': '1790612954789974016', 'vehicle_code': '1222'}, {'task_name': '人工压机下料', 'task_status': '7', 'start_point': '压机3上料位', 'end_point': '窑前虚拟库', 'task_code': '20240515000007', 'vehicle_type': '1', 'task_id': '1790619293327052800', 'vehicle_code': '8522'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
export const suppressDownCreateTask = () => {
|
||||
let res = {code: '1', desc: 'ok'}
|
||||
return res
|
||||
}
|
||||
export const kilnOutCreateTaskShow = () => {
|
||||
let res = {'result': [{'task_name': '人工布料机上料', 'task_status': '7', 'start_point': '困料虚拟库', 'end_point': '压机3上料位', 'task_code': '20240515000006', 'vehicle_type': '1', 'task_id': '1790612954789974016', 'vehicle_code': '1222'}, {'task_name': '人工压机下料', 'task_status': '7', 'start_point': '压机3上料位', 'end_point': '窑前虚拟库', 'task_code': '20240515000007', 'vehicle_type': '1', 'task_id': '1790619293327052800', 'vehicle_code': '8522'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
export const kilnOutCreateTask = () => {
|
||||
let res = {code: '1', desc: 'ok'}
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user