This commit is contained in:
2023-03-29 14:13:26 +08:00
parent 2cd3517298
commit 5da29be7d6

View File

@@ -1,6 +1,24 @@
import request from './request.js'
/** 缓存线出箱异常 */
// 初始化
// 1.1缓存线下拉框
export const getCacheLine = (area) => request({
url:'api/cacheLineHand/getCacheLine',
data: {
product_area: area
}
})
// 1.4缓存线指令状态下拉框查询:
export const instStatusQuery = (searchbar) => request({
url:'/api/cacheLineHand/instStatusQuery',
data: {
form: {
search_bar: searchbar
}
}
})
/** 缓存线异常处理 */
// 1.1缓存线异常处理:
export const cacheLineExcepOpt = (wcode, opttype) => request({
url:'/api/cacheLineHand/cacheLineExcepOpt',
@@ -12,7 +30,7 @@ export const cacheLineExcepOpt = (wcode, opttype) => request({
}
})
/** 缓存线异常处理 */
/** 缓存线出箱异常 */
// 1.1缓存线出箱异常-查询:
export const cacheLineOutBoxExceptionQuery = (wcode, pcode) => request({
url:'/api/cacheLineHand/cacheLineOutBoxExceptionQuery',
@@ -24,15 +42,36 @@ export const cacheLineOutBoxExceptionQuery = (wcode, pcode) => request({
}
})
// 1.2缓存线出箱异常-确认:
export const cacheLineOutBoxExceptionConfirm = (wcode, uuid, itype, vcode, pcode) => request({
export const cacheLineOutBoxExceptionConfirm = (wcode, uuid, itype, vcode, parea, pcode) => request({
url:'/api/cacheLineHand/cacheLineOutBoxExceptionConfirm',
data: {
form: {
wcsdevice_code: wcode,
instruct_uuid: uuid,
inOut_type: itype,
vehicle_code: vcode,
vehicle_code: vcode,
product_area: parea,
position_code: pcode
}
}
})
/** 指令操作 */
// 1.1指令分页查询:
export const instPageQuery = (form) => request({
url:'/api/cacheLineHand/instPageQuery',
data: {
form: form
}
})
// 1.2指令操作:
export const instOperation = (uuid, otype) => request({
url:'/api/cacheLineHand/instOperation',
data: {
form: {
instruct_uuid: uuid,
opt_type: otype
}
}
})