This commit is contained in:
2026-08-31 14:42:28 +08:00
parent f7328e7c60
commit d0770517dc
8 changed files with 129 additions and 20 deletions
@@ -99,8 +99,8 @@ export function toLastMileOrderListItem(dto: LastMileOrderSummaryDto): LastMileO
relabelStatus: lastMileStatusLabel(dto.relabelStatus),
consolidated: palletMergeLabel(dto.palletMergeFlag),
palletMergeFlag: String(dto.palletMergeFlag ?? '').trim(),
palletMergeRelation: Array.isArray(dto.palletMergeOrderNos) && dto.palletMergeOrderNos.length
? dto.palletMergeOrderNos.map((value) => text(value)).join('、')
palletMergeRelation: Array.isArray(dto.palletMergeInboundNos) && dto.palletMergeInboundNos.length
? dto.palletMergeInboundNos.map((value) => text(value)).join('、')
: dto.palletMergeBatchId ? `批次 ${text(dto.palletMergeBatchId)}` : '—',
status: lastMileStatusLabel(dto.currentStatus),
internalRemark: text(dto.privateRemark),