完善尾程订单合托关联与取消操作

This commit is contained in:
2026-08-28 15:15:31 +08:00
parent 94a5dfedf6
commit f6cd60ec61
4 changed files with 24 additions and 1 deletions
@@ -99,6 +99,9 @@ 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('、')
: dto.palletMergeBatchId ? `批次 ${text(dto.palletMergeBatchId)}` : '—',
status: lastMileStatusLabel(dto.currentStatus),
internalRemark: text(dto.privateRemark),
customerRemark: text(dto.customerRemark),