载具绑定

This commit is contained in:
2024-01-03 16:10:57 +08:00
parent 9fef242404
commit f1ea8bb00d
2 changed files with 47 additions and 6 deletions

View File

@@ -95,6 +95,9 @@ export const pdavehicleType = (func) => post('api/pda/vehicleType', {
func: func
})
// 查询点位状态
export const pdapointStatus = () => post('api/pda/pointStatus', {})
// 不合格品上报
export const pdaReport = (code, qty) => post('api/pda/report', {
device_code: code,
@@ -138,10 +141,11 @@ export const inKiln = (vcode, type) => post('api/pda/inKiln', {
})
// 载具绑定
export const vehicleBind = (code, vtype, vcode) => post('api/pda/vehicleBind', {
export const vehicleBind = (code, vtype, vcode, point) => post('api/pda/vehicleBind', {
point_code: code,
vehicle_type: vtype,
vehicle_code: vcode
vehicle_code: vcode,
point_status: point
})
// 载具解绑