修改拣货模块

This commit is contained in:
zm2000 2026-06-04 21:20:49 +08:00
parent 68adb6ade0
commit 99f7c15f6c
6 changed files with 936 additions and 23 deletions

View File

@ -236,6 +236,18 @@ export default {
method: "POST", method: "POST",
isSystemApi: true isSystemApi: true
}, },
wavePickTaskSubmit: {
path: "pick.wavePickTaskSubmit",
auth: true,
method: "POST",
isSystemApi: true
},
wavePickTaskComplete: {
path: "pick.wavePickTaskComplete",
auth: true,
method: "POST",
isSystemApi: true
},
items: { items: {
path: "pick.items", path: "pick.items",
auth: true, auth: true,
@ -249,6 +261,26 @@ export default {
isSystemApi: true isSystemApi: true
} }
}, },
pickCart: {
scan: {
path: "pickCart.scan",
auth: true,
method: "POST",
isSystemApi: true
},
list: {
path: "pickCart.list",
auth: true,
method: "POST",
isSystemApi: true
},
bindTaskCart: {
path: "pickCart.bindTaskCart",
auth: true,
method: "POST",
isSystemApi: true
}
},
order: { order: {
print: { print: {
getWavePlatformPrintData: { getWavePlatformPrintData: {

View File

@ -143,8 +143,8 @@
page: Number(page || 1), page: Number(page || 1),
pageSize: Number(this.pageSize || 20) pageSize: Number(this.pageSize || 20)
}, },
only_todo: 1,
where: { where: {
source: 0,
wave_type: 1 wave_type: 1
} }
}; };

File diff suppressed because it is too large Load Diff

View File

@ -183,7 +183,6 @@
methods: { methods: {
buildBatchListParams(page = this.currentPage) { buildBatchListParams(page = this.currentPage) {
const where = { const where = {
source: 0,
wave_type: 2 wave_type: 2
}; };
if (this.onlyMine && this.currentUserId) { if (this.onlyMine && this.currentUserId) {
@ -194,6 +193,7 @@
page: Math.max(1, Number(page || 1)), page: Math.max(1, Number(page || 1)),
pageSize: Math.max(1, Number(this.pageSize || 20)) pageSize: Math.max(1, Number(this.pageSize || 20))
}, },
only_todo: 1,
where where
}; };
}, },

View File

@ -336,9 +336,7 @@
const strategyId = Number(this.currentStrategy?.id || 0); const strategyId = Number(this.currentStrategy?.id || 0);
return { return {
strategy_id: strategyId, strategy_id: strategyId,
strategyId, source: 'pda'
source: 'pda',
operation_source: 'pda'
}; };
}, },
buildPickingRouteParams(payload) { buildPickingRouteParams(payload) {

View File

@ -336,9 +336,7 @@
const strategyId = Number(this.currentStrategy?.id || 0); const strategyId = Number(this.currentStrategy?.id || 0);
return { return {
strategy_id: strategyId, strategy_id: strategyId,
strategyId, source: 'pda'
source: 'pda',
operation_source: 'pda'
}; };
}, },
buildPickingRouteParams(payload) { buildPickingRouteParams(payload) {