64 lines
1.2 KiB
JavaScript
64 lines
1.2 KiB
JavaScript
import request from '@/utils/request'
|
||
|
||
|
||
// 根据入库明细ID查询物料信息(入库绑盘用)
|
||
export function getMaterialByDetailId(detailId) {
|
||
return request({
|
||
url: '/pda/getProductInfoByInDetailId',
|
||
method: 'get',
|
||
params: { detailId }
|
||
})
|
||
}
|
||
|
||
// 根据辊号查询物料信息(入库绑盘用)
|
||
export function getMaterialByRollerNumber(rollerNumber) {
|
||
return request({
|
||
url: '/pda/getStockinInfoByRollerNumber',
|
||
method: 'get',
|
||
params: { rollerNumber }
|
||
})
|
||
}
|
||
|
||
export function submitBindTray(data) {
|
||
return request({
|
||
url: '/pda/bindTray',
|
||
method: 'post',
|
||
data: data
|
||
})
|
||
}
|
||
|
||
export function submitBindTrayMsg(data) {
|
||
return request({
|
||
url: '/pda/bindTrayMsgs',
|
||
method: 'post',
|
||
data: data
|
||
})
|
||
}
|
||
|
||
// 获取入库待处理单据列表
|
||
export function getInboundStockList(query) {
|
||
return request({
|
||
url: '/pda/inboundStockList',
|
||
method: 'get',
|
||
params: query
|
||
})
|
||
}
|
||
|
||
// 获取入库单据子单列表
|
||
export function getDetailList(query) {
|
||
return request({
|
||
url: '/pda/getDetailListByStockinId',
|
||
method: 'get',
|
||
params: query
|
||
})
|
||
}
|
||
|
||
// 生成入库作业
|
||
export function submitAddInJob(data) {
|
||
return request({
|
||
url: '/pda/addInJob',
|
||
method: 'post',
|
||
data: data
|
||
})
|
||
}
|