Files
pad-hl-hcx-new/utils/getData2.js

37 lines
742 B
JavaScript
Raw Normal View History

2023-03-21 17:56:02 +08:00
import request from './request.js'
// 登录
export const handLogin = (user, password) => request({
url:'mobile/auth/login',
data: {
username: user,
password: password
}
2023-03-22 16:18:48 +08:00
})
2023-03-28 17:41:35 +08:00
/** 扫码异常 */
// 1.1缓存线下拉框
export const getCacheLine = (area) => request({
url:'api/cacheLineHand/getCacheLine',
2023-03-22 16:18:48 +08:00
data: {
2023-03-28 17:41:35 +08:00
product_area: area
2023-03-22 16:18:48 +08:00
}
})
2023-03-28 17:41:35 +08:00
// 1.2指令查询
export const inOutExceptionInstQuery = (type, wcode, vcode) => request({
url:'api/cacheLineHand/inOutExceptionInstQuery',
2023-03-22 16:18:48 +08:00
data: {
2023-03-28 17:41:35 +08:00
form: {
inOut_type: type,
wcsdevice_code: wcode,
vehicle_code: vcode
}
}
})
// 1.3确认
export const inOutExceptionInstConfirm = (obj) => request({
url:'api/cacheLineHand/inOutExceptionInstConfirm',
data: {
form: obj
2023-03-22 16:18:48 +08:00
}
2023-03-21 17:56:02 +08:00
})