载具绑定

This commit is contained in:
2023-06-02 13:47:54 +08:00
parent a3d6bb2b82
commit 4bdac92cd3
4 changed files with 327 additions and 0 deletions

View File

@@ -89,6 +89,12 @@ export const pdaDevice = (func) => post('api/pda/device', {
// }
// return res
// }
// 查询载具类型
export const pdavehicleType = (func) => post('api/pda/vehicleType', {
func: func
})
// 不合格品上报
export const pdaReport = (code, qty) => post('api/pda/report', {
device_code: code,
@@ -120,6 +126,13 @@ export const callEmpty = (code) => post('api/pda/callEmpty', {
point_code: code
})
// 载具绑定
export const vehicleBind = (code, vtype, vcode) => post('api/pda/vehicleBind', {
point_code: code,
vehicle_type: vtype,
vehicle_code: vcode
})
// 载具解绑
export const vehicleUnbind = (code) => post('api/pda/vehicleUnbind', {
point_code: code