This commit is contained in:
2023-03-30 16:14:01 +08:00
parent 68257c3175
commit 4529bd6476
4 changed files with 126 additions and 74 deletions

View File

@@ -12,9 +12,7 @@ export const getCacheLine = (area) => request({
export const instStatusQuery = (searchbar) => request({
url:'/api/cacheLineHand/instStatusQuery',
data: {
form: {
search_bar: searchbar
}
search_bar: searchbar
}
})
@@ -23,10 +21,8 @@ export const instStatusQuery = (searchbar) => request({
export const cacheLineExcepOpt = (wcode, opttype) => request({
url:'/api/cacheLineHand/cacheLineExcepOpt',
data: {
form: {
wcsdevice_code: wcode,
opt_type: opttype
}
wcsdevice_code: wcode,
opt_type: opttype
}
})
@@ -35,43 +31,35 @@ export const cacheLineExcepOpt = (wcode, opttype) => request({
export const cacheLineOutBoxExceptionQuery = (wcode, pcode) => request({
url:'/api/cacheLineHand/cacheLineOutBoxExceptionQuery',
data: {
form: {
wcsdevice_code: wcode,
position_code: pcode
}
wcsdevice_code: wcode,
position_code: pcode
}
})
// 1.2缓存线出箱异常-确认:
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,
product_area: parea,
position_code: pcode
}
wcsdevice_code: wcode,
instruct_uuid: uuid,
inOut_type: itype,
vehicle_code: vcode,
product_area: parea,
position_code: pcode
}
})
/** 指令操作 */
// 1.1指令分页查询:
export const instPageQuery = (form) => request({
export const instPageQuery = (data) => request({
url:'/api/cacheLineHand/instPageQuery',
data: {
form: form
}
data: data
})
// 1.2指令操作:
export const instOperation = (uuid, otype) => request({
url:'/api/cacheLineHand/instOperation',
data: {
form: {
instruct_uuid: uuid,
opt_type: otype
}
instruct_uuid: uuid,
opt_type: otype
}
})