优化
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user