人工压制上料
This commit is contained in:
@@ -135,3 +135,16 @@ export const transferCreateTask = (sp, ep, code, is) => post('api/pda/manual/tra
|
||||
vehicle_code: code,
|
||||
is_age: is
|
||||
})
|
||||
/**
|
||||
* 人工压制上料
|
||||
*/
|
||||
// 起点下拉框
|
||||
export const suppressStartPointList = () => post('api/pda/manual/suppress/startPointList', {})
|
||||
// 压制送料任务列表
|
||||
export const suppressTaskShow = () => post('api/pda/manual/suppress/taskShow', {})
|
||||
// 确认
|
||||
export const suppressCreateTask = (sp, ep, code) => post('api/pda/manual/suppress/createTask', {
|
||||
start_point: sp,
|
||||
end_point: ep,
|
||||
vehicle_code: code
|
||||
})
|
||||
|
||||
@@ -103,3 +103,17 @@ export const transferCreateTask = () => {
|
||||
let res = {code: '1', desc: 'ok'}
|
||||
return res
|
||||
}
|
||||
export const suppressStartPointList = () => {
|
||||
let res = {'result': [{'point_name': '压机1下料位1', 'point_code': 'YJ01XL01'}, {'point_name': '压机1下料位2', 'point_code': 'YJ01XL02'}, {'point_name': '压机2下料位1', 'point_code': 'YJ02XL01'}, {'point_name': '压机2下料位2', 'point_code': 'YJ02XL02'}, {'point_name': '压机3下料位1', 'point_code': 'YJ03XL01'}, {'point_name': '压机3下料位2', 'point_code': 'YJ03XL02'}, {'point_name': '压机4下料位1', 'point_code': 'YJ04XL01'}, {'point_name': '压机4下料位2', 'point_code': 'YJ04XL02'}, {'point_name': '压机5下料位1', 'point_code': 'YJ05XL01'}, {'point_name': '压机5下料位2', 'point_code': 'YJ05XL02'}, {'point_name': '压机6下料位1', 'point_code': 'YJ06XL01'}, {'point_name': '压机6下料位2', 'point_code': 'YJ06XL02'}, {'point_name': '压机7下料位1', 'point_code': 'YJ07XL01'}, {'point_name': '压机7下料位2', 'point_code': 'YJ07XL02'}, {'point_name': '压机8下料位1', 'point_code': 'YJ08XL01'}, {'point_name': '压机8下料位2', 'point_code': 'YJ08XL02'}, {'point_name': '压机9下料位1', 'point_code': 'YJ09XL01'}, {'point_name': '压机9下料位2', 'point_code': 'YJ09XL02'}, {'point_name': '压机10下料位1', 'point_code': 'YJ10XL01'}, {'point_name': '压机10下料位2', 'point_code': 'YJ10XL02'}, {'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 suppressTaskShow = () => {
|
||||
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_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': '人工布料机上料'}, {'task_name': 'ffff'}], 'code': '1', 'desc': '操作成功!'}
|
||||
return res
|
||||
}
|
||||
// 确认
|
||||
export const suppressCreateTask = () => {
|
||||
let res = {code: '1', desc: 'ok'}
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user