jiekou
This commit is contained in:
@@ -1,6 +1,24 @@
|
|||||||
import request from './request.js'
|
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缓存线异常处理:
|
// 1.1缓存线异常处理:
|
||||||
export const cacheLineExcepOpt = (wcode, opttype) => request({
|
export const cacheLineExcepOpt = (wcode, opttype) => request({
|
||||||
url:'/api/cacheLineHand/cacheLineExcepOpt',
|
url:'/api/cacheLineHand/cacheLineExcepOpt',
|
||||||
@@ -12,7 +30,7 @@ export const cacheLineExcepOpt = (wcode, opttype) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
/** 缓存线异常处理 */
|
/** 缓存线出箱异常 */
|
||||||
// 1.1缓存线出箱异常-查询:
|
// 1.1缓存线出箱异常-查询:
|
||||||
export const cacheLineOutBoxExceptionQuery = (wcode, pcode) => request({
|
export const cacheLineOutBoxExceptionQuery = (wcode, pcode) => request({
|
||||||
url:'/api/cacheLineHand/cacheLineOutBoxExceptionQuery',
|
url:'/api/cacheLineHand/cacheLineOutBoxExceptionQuery',
|
||||||
@@ -24,7 +42,7 @@ export const cacheLineOutBoxExceptionQuery = (wcode, pcode) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 1.2缓存线出箱异常-确认:
|
// 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',
|
url:'/api/cacheLineHand/cacheLineOutBoxExceptionConfirm',
|
||||||
data: {
|
data: {
|
||||||
form: {
|
form: {
|
||||||
@@ -32,7 +50,28 @@ export const cacheLineOutBoxExceptionConfirm = (wcode, uuid, itype, vcode, pcode
|
|||||||
instruct_uuid: uuid,
|
instruct_uuid: uuid,
|
||||||
inOut_type: itype,
|
inOut_type: itype,
|
||||||
vehicle_code: vcode,
|
vehicle_code: vcode,
|
||||||
|
product_area: parea,
|
||||||
position_code: pcode
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user