pda界面和功能优化,完善mes下发版辊字段
This commit is contained in:
63
pda/api/warehouse/inbound/bindTray.js
Normal file
63
pda/api/warehouse/inbound/bindTray.js
Normal file
@@ -0,0 +1,63 @@
|
||||
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
|
||||
})
|
||||
}
|
||||
27
pda/api/warehouse/inbound/cancelBindTrayByRoller.js
Normal file
27
pda/api/warehouse/inbound/cancelBindTrayByRoller.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 根据入库明细ID查询物料信息(入库绑盘用)
|
||||
export function getMaterialByDetailId(detailId) {
|
||||
return request({
|
||||
url: '/pda/getProductInfoByInDetailId',
|
||||
method: 'get',
|
||||
params: { detailId }
|
||||
})
|
||||
}
|
||||
|
||||
// 根据辊号查询物料信息(入库绑盘用)
|
||||
export function getTrayMsgByRollerNumber(rollerNumber) {
|
||||
return request({
|
||||
url: '/pda/getTrayMsgByRollerNumber',
|
||||
method: 'get',
|
||||
params: { rollerNumber }
|
||||
})
|
||||
}
|
||||
|
||||
export function submitCancelTrayMsg(data) {
|
||||
return request({
|
||||
url: '/pda/cancelTrayMsgs',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
28
pda/api/warehouse/inbound/cancelBindTrayByTrayCode.js
Normal file
28
pda/api/warehouse/inbound/cancelBindTrayByTrayCode.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getTrayCodeDetail(trayCode) {
|
||||
return request({
|
||||
url: '/pda/getTrayBindMsgInfoByTrayCode',
|
||||
method: 'get',
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
|
||||
// 取消版辊绑定状态
|
||||
export function cancelTrayMsg(data) {
|
||||
return request({
|
||||
url: '/pda/cancelTrayMsg',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 取消当前托盘的所有绑定信息
|
||||
export function cancelTrayMsgAllByTrayCode(data) {
|
||||
return request({
|
||||
url: '/pda/cancelTrayMsgs',
|
||||
method: 'post',
|
||||
// data: { trayCode: trayCode }
|
||||
data: data
|
||||
})
|
||||
}
|
||||
10
pda/api/warehouse/inbound/emptyTray.js
Normal file
10
pda/api/warehouse/inbound/emptyTray.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 生成空托入库作业
|
||||
export function submitAddEmptyTrayJob(data) {
|
||||
return request({
|
||||
url: '/pda/addEmptyTrayJob',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
19
pda/api/warehouse/inbound/index.js
Normal file
19
pda/api/warehouse/inbound/index.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取入库待处理任务列表
|
||||
export function getInboundTaskList(query) {
|
||||
return request({
|
||||
url: '/pda/inboundTaskList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取入库待处理单据列表
|
||||
export function getInboundStockList(query) {
|
||||
return request({
|
||||
url: '/pda/inboundStockList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
1
pda/api/warehouse/inbound/supply.js
Normal file
1
pda/api/warehouse/inbound/supply.js
Normal file
@@ -0,0 +1 @@
|
||||
import request from '@/utils/request'
|
||||
2
pda/api/warehouse/inventory/index.js
Normal file
2
pda/api/warehouse/inventory/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
38
pda/api/warehouse/inventory/inventoryConfirm.js
Normal file
38
pda/api/warehouse/inventory/inventoryConfirm.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取盘点待处理任务列表
|
||||
export function getInventoryOutTaskList(query) {
|
||||
return request({
|
||||
url: '/pda/inventoryOutTaskList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取出库盘点任务库存
|
||||
export function getTrayCodeDetail(trayCode) {
|
||||
return request({
|
||||
url: '/pda/getInventoryOutInfoByTrayCode',
|
||||
method: 'get',
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
|
||||
// 确认版辊库存状态
|
||||
export function confirmExcetion(data) {
|
||||
return request({
|
||||
url: '/pda/inventoryStockExcetion',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 确认托盘盘点出库完成 - 盘点出库
|
||||
export function inventoryTrayCodeComplete(data) {
|
||||
return request({
|
||||
url: '/pda/inventoryTrayCodeComplete',
|
||||
method: 'post',
|
||||
// data: { trayCode: trayCode }
|
||||
data: data
|
||||
})
|
||||
}
|
||||
21
pda/api/warehouse/inventory/jobList.js
Normal file
21
pda/api/warehouse/inventory/jobList.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 获取盘点待处理任务列表
|
||||
export function getInventoryOutTaskList(query) {
|
||||
return request({
|
||||
url: '/pda/inventoryOutTaskList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 确认托盘盘点出库完成 - 盘点出库
|
||||
export function inventoryTrayCodeComplete(data) {
|
||||
return request({
|
||||
url: '/pda/inventoryTrayCodeComplete',
|
||||
method: 'post',
|
||||
// data: { trayCode: trayCode }
|
||||
data: data
|
||||
})
|
||||
}
|
||||
29
pda/api/warehouse/outbound/confirm.js
Normal file
29
pda/api/warehouse/outbound/confirm.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取出库任务详情
|
||||
export function getOutboundDetail(rollerNumber) {
|
||||
return request({
|
||||
url: '/pda/getStockoutInfoByRollerNumber',
|
||||
method: 'get',
|
||||
params: { rollerNumber }
|
||||
})
|
||||
}
|
||||
|
||||
// 确认版辊出库数量 - 单独出库确认
|
||||
export function confirmOutbound(data) {
|
||||
return request({
|
||||
url: '/pda/stockoutDetailComplete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 版辊强制出库确认
|
||||
export function rollerNumberComplete(data) {
|
||||
return request({
|
||||
url: '/pda/rollerNumberComplete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
18
pda/api/warehouse/outbound/container.js
Normal file
18
pda/api/warehouse/outbound/container.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 呼叫空托出库
|
||||
* @param {String} cargoAreaId 库区ID
|
||||
* @param {Number} palletType 托盘类型
|
||||
*/
|
||||
export function callStockOutForContainer(cargoAreaId, palletType) {
|
||||
return request({
|
||||
url: '/pda/callStockOutForContainer',
|
||||
method: 'post',
|
||||
data: {
|
||||
cargoAreaId: cargoAreaId,
|
||||
palletType: palletType
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
20
pda/api/warehouse/outbound/exception.js
Normal file
20
pda/api/warehouse/outbound/exception.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取出库任务详情
|
||||
export function getOutboundDetail(rollerNumber) {
|
||||
return request({
|
||||
url: '/pda/getStockoutInfoByRollerNumber',
|
||||
method: 'get',
|
||||
params: { rollerNumber }
|
||||
})
|
||||
}
|
||||
|
||||
// 提交出库异常确认
|
||||
export function submitOutboundException(data) {
|
||||
return request({
|
||||
url: '/wms/outbound/exception',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
10
pda/api/warehouse/outbound/index.js
Normal file
10
pda/api/warehouse/outbound/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取出库待处理任务列表
|
||||
export function getOutboundTaskList(query) {
|
||||
return request({
|
||||
url: '/pda/outboundTaskList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
40
pda/api/warehouse/outbound/trayConfirm.js
Normal file
40
pda/api/warehouse/outbound/trayConfirm.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取出库任务详情 - 拣选/常规出库
|
||||
export function getTrayCodeDetail(trayCode) {
|
||||
return request({
|
||||
url: '/pda/getStockoutInfoByTrayCode',
|
||||
method: 'get',
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
|
||||
// 确认版辊出库数量 - 单独出库确认
|
||||
export function confirmOutbound(data) {
|
||||
return request({
|
||||
url: '/pda/stockoutDetailComplete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 确认托盘出库完成 - 单据出库
|
||||
export function stockoutTrayCodeComplete(trayCode) {
|
||||
return request({
|
||||
url: '/pda/stockoutTrayCodeComplete',
|
||||
method: 'post',
|
||||
// data: { trayCode: trayCode }
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
|
||||
// 确认托盘出库完成 - 一键确认
|
||||
export function stockoutTrayCodeCompleteAll(trayCode) {
|
||||
return request({
|
||||
url: '/pda/stockoutTrayCodeCompleteAll',
|
||||
method: 'post',
|
||||
// data: { trayCode: trayCode }
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
|
||||
29
pda/api/warehouse/outbound/trayConfirmManual.js
Normal file
29
pda/api/warehouse/outbound/trayConfirmManual.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取出库任务详情 - 手动指定出库
|
||||
export function getTrayCodeDetailForManual(trayCode) {
|
||||
return request({
|
||||
url: '/pda/getManualStockoutInfoByTrayCode',
|
||||
method: 'get',
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
|
||||
// 确认版辊出库数量 - 单独出库确认
|
||||
export function confirmOutbound(data) {
|
||||
return request({
|
||||
url: '/pda/stockoutDetailComplete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 确认托盘出库完成 - 手动出库
|
||||
export function stockoutTrayCodeCompleteManual(trayCode) {
|
||||
return request({
|
||||
url: '/pda/stockoutTrayCodeCompleteManual',
|
||||
method: 'post',
|
||||
// data: { trayCode: trayCode }
|
||||
params: { trayCode }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user