feat: 增加下发wcs接口

This commit is contained in:
Kelvin 2024-11-26 09:35:48 +08:00
parent bc0ac9d95c
commit 9c2d1eff43
2 changed files with 31 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import request from '@/utils/request'
import request, {requestWcs} from '@/utils/request'
// 查询出库任务列表
export function listTASK(query) {
@ -58,3 +58,22 @@ export function autoRunTASK(wmsOutTaskId) {
method: 'put'
})
}
// 下发任务至 WCS
export function issueWmsOutTaskToWcs(data) {
return requestWcs({
url: '/ToolDeliveryInfo',
method: 'post',
data
})
}
// 下发任务至 WCS 刀具库
export function issueOutTaskWcsDJ(data) {
return requestWcs({
url: '/KnifeCK',
method: 'post',
data
})
}

View File

@ -51,8 +51,8 @@ export function issueBatchWmsInTask(data) {
})
}
// 下发任务至 WCS
export function issueWmsInTaskToWcs(data) {
// 下发任务至 WCS 立体库
export function issueInTaskWcsLTK(data) {
return requestWcs({
url: '/ToolDeliveryInfo',
method: 'post',
@ -60,3 +60,12 @@ export function issueWmsInTaskToWcs(data) {
})
}
// 下发任务至 WCS 刀具库
export function issueInTaskWcsDJ(data) {
return requestWcs({
url: '/KnifeRK',
method: 'post',
data
})
}