diff --git a/src/pages/Ticket/Negative/TicketLackDialog.vue b/src/pages/Ticket/Negative/TicketLackDialog.vue index cb6f7c40e..da471f4de 100644 --- a/src/pages/Ticket/Negative/TicketLackDialog.vue +++ b/src/pages/Ticket/Negative/TicketLackDialog.vue @@ -235,8 +235,11 @@ const columns = computed(() => [ ]); const emit = defineEmits([...useDialogPluginComponent.emits, 'selection']); -function rowsHasSelected({ keys }) { - emit('selection', keys); +function rowsHasSelected(selection) { + emit( + 'selection', + selection.map(({ ticketFk }) => ticketFk) + ); } const resultSplit = ref([]); @@ -283,12 +286,13 @@ function getIcon(key, prop) { >