载具绑定
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user