From df4d3dfd66cf3bc8f4dd5433fa45de820a3bb9ad Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Sat, 10 Oct 2026 08:05:21 +0800 Subject: [PATCH] fix(admin): render appointment table actions and history --- .../AppointmentCalendarView.vue | 3 +- .../AppointmentCargoPanel.vue | 4 +- .../AppointmentFollowupDialog.vue | 2 +- .../AppointmentTableRendering.test.ts | 43 +++++++++++++++++++ 4 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 src/modules/appointment-calendar/AppointmentTableRendering.test.ts diff --git a/src/modules/appointment-calendar/AppointmentCalendarView.vue b/src/modules/appointment-calendar/AppointmentCalendarView.vue index 95ac5fc6..3928ab75 100644 --- a/src/modules/appointment-calendar/AppointmentCalendarView.vue +++ b/src/modules/appointment-calendar/AppointmentCalendarView.vue @@ -69,7 +69,7 @@ const statusLabels: Record = { PENDING: '预约中', SUCCESS: ' const columns: DataTableColumn[] = [ { key: 'selection', type: 'selection', reserveSelection: true, width: 46, selectable: (row: InboundOrderSummaryDto) => row.fbaWarehouseCode === searchedWarehouse.value && (!row.appointmentStatus || ['FAILED', 'CANCELLED'].includes(row.appointmentStatus)) }, { prop: 'inboundCode', label: '入仓码', minWidth: 150 }, - { prop: 'customerName', label: '客户', minWidth: 150 }, + { prop: 'customerName', label: '客户', slotName: 'customer', minWidth: 150 }, { prop: 'fbaWarehouseCode', label: '目的仓', width: 110 }, { prop: 'overseasWarehouseName', label: '海外仓', minWidth: 150 }, { prop: 'packageCount', label: '箱数', width: 80 }, @@ -336,6 +336,7 @@ onBeforeUnmount(() => { ++calendarRequest; ++candidateRequest; ++detailRequest;