This commit is contained in:
2026-08-21 11:20:09 +08:00
parent 595c998214
commit 6e9bb6e00c
45 changed files with 1051 additions and 329 deletions
@@ -48,10 +48,10 @@ export function formatOverseasDateTime(value: unknown) {
return Number.isNaN(date.getTime()) ? raw : date.toLocaleString('zh-CN', { hour12: false })
}
export function toLastMileOrderListItem(dto: LastMileOrderSummaryDto, customerId: string): LastMileOrderListItem {
export function toLastMileOrderListItem(dto: LastMileOrderSummaryDto): LastMileOrderListItem {
return {
id: String(dto.id),
customerId,
customerId: String(dto.customerId),
orderNo: text(dto.orderNo),
warning: dto.abnormal ? '异常' : '—',
orderType: lastMileOrderTypeLabel(dto.orderType),