Files
hht-ruitaimagang-uni/utils/getData1.js
2023-09-27 14:06:43 +08:00

43 lines
822 B
JavaScript

import request from './request.js'
/**
* 人工组盘
*/
// 点位编码
export const getPressCode = () => request({
url:'api/pda/group/getPressCode',
data: {}
})
// 获取载具类型
export const getVehicleType = () => request({
url:'api/pda/group/getVehicleType',
data: {}
})
// 人工组盘-确认
export const groupmanual = (vcode, vtype, pcode, weight) => request({
url:'api/pda/group/manual',
data: {
vehicle_code: vcode,
vehicle_type: vtype,
point_code: pcode,
material_weight: weight
}
})
/**
* 混碾搬运
*/
// 获取混碾机数据
export const getBlendingCode = () => request({
url:'api/pda/move/getBlendingCode',
data: {}
})
// 确认
export const sendTask = (vcode, spcode) => request({
url:'api/pda/move/sendTask',
data: {
vehicle_code: vcode,
start_point_code: spcode,
}
})