feat(拣货任务): 列表新增领料人列,读取 claim_operator/claim_operator_id

This commit is contained in:
liufumingren 2026-09-05 01:11:19 +08:00
parent fe3a963748
commit 269e74927e
3 changed files with 10 additions and 0 deletions

View File

@ -53,6 +53,9 @@ export type WavePickTaskListItem = {
pick_user_name?: string
review_user_id?: number | string
review_user_name?: string
/** 领料人:领取/认领波次的人员(order.wave.wavePickTaskList 返回) */
claim_operator_id?: number | string
claim_operator?: string
current_cart_id?: number | string
current_cart_code_snapshot?: string
device_id?: string

View File

@ -122,6 +122,10 @@
{{ row.review_user_name || row.review_user_id || '—' }}
</template>
<template #column-claim_operator="{ row }">
{{ row.claim_operator || row.claim_operator_id || '—' }}
</template>
<template #column-start_at="{ row }">
{{ formatDateTime(row.start_at || row.start_time) }}
</template>
@ -510,6 +514,8 @@ function normalizePickTaskRow(row: WavePickTaskListItem) {
pick_user_name: row.pick_user_name || '',
review_user_id: row.review_user_id,
review_user_name: row.review_user_name || '',
claim_operator_id: row.claim_operator_id,
claim_operator: row.claim_operator || '',
current_cart_id: row.current_cart_id,
current_cart_code_snapshot: row.current_cart_code_snapshot || '',
device_id: row.device_id || '',

View File

@ -1106,6 +1106,7 @@ export const pickTaskWaveColumns = applyWaveListCopyActions([
{ prop: 'operator_name', label: '操作人', minWidth: 120 },
{ prop: 'pick_user_name', label: '拣货员', minWidth: 120 },
{ prop: 'review_user_name', label: '复核人', minWidth: 120 },
{ prop: 'claim_operator', label: '领料人', minWidth: 120 },
{ prop: 'current_cart_id', label: '当前车ID', width: 100 },
{ prop: 'current_cart_code_snapshot', label: '当前车编码', minWidth: 140 },
{ prop: 'device_id', label: '设备ID', minWidth: 140 },