fix(appointments): show full candidate business identifiers
This commit is contained in:
@@ -105,13 +105,13 @@ async function loadUnscheduled() {
|
|||||||
const statusLabels: Record<string, string> = { PENDING: '安排待确认', SUCCESS: '对方已确认', FAILED: '未约成', CANCELLED: '已取消' }
|
const statusLabels: Record<string, string> = { PENDING: '安排待确认', SUCCESS: '对方已确认', FAILED: '未约成', CANCELLED: '已取消' }
|
||||||
const columns: DataTableColumn[] = [
|
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)) },
|
{ 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: 'inboundCode', label: '入仓码', minWidth: 220, singleLine: false, showOverflowTooltip: false },
|
||||||
{ prop: 'customerName', label: '客户', slotName: 'customer', minWidth: 150 },
|
{ prop: 'customerName', label: '客户', slotName: 'customer', minWidth: 180, singleLine: false, showOverflowTooltip: false },
|
||||||
{ prop: 'fbaWarehouseCode', label: '目的仓', width: 110 },
|
{ prop: 'fbaWarehouseCode', label: '目的仓', width: 110 },
|
||||||
{ prop: 'overseasWarehouseName', label: '海外仓', minWidth: 150 },
|
{ prop: 'overseasWarehouseName', label: '海外仓', minWidth: 150, singleLine: false, showOverflowTooltip: false },
|
||||||
{ prop: 'packageCount', label: '箱数', width: 80 },
|
{ prop: 'packageCount', label: '箱数', width: 80 },
|
||||||
{ prop: 'palletCount', label: '托数', width: 80 },
|
{ prop: 'palletCount', label: '托数', width: 80 },
|
||||||
{ prop: 'appointmentNo', label: '已有预约号', minWidth: 160 },
|
{ prop: 'appointmentNo', label: '已有预约号', minWidth: 160, singleLine: false, showOverflowTooltip: false },
|
||||||
]
|
]
|
||||||
const events = computed<CalendarEvent[]>(() => [...arrivals.value.map(arrival => ({
|
const events = computed<CalendarEvent[]>(() => [...arrivals.value.map(arrival => ({
|
||||||
key: `arrival-${arrival.containerBookingId}`, type: 'arrival' as const,
|
key: `arrival-${arrival.containerBookingId}`, type: 'arrival' as const,
|
||||||
|
|||||||
Reference in New Issue
Block a user