diff --git a/src/pages/InvoiceIn/Card/InvoiceInVat.vue b/src/pages/InvoiceIn/Card/InvoiceInVat.vue index f7ef7d525..74fd02816 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInVat.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInVat.vue @@ -25,6 +25,7 @@ const sageTaxTypes = ref([]); const sageTransactionTypes = ref([]); const rowsSelected = ref([]); const invoiceInFormRef = ref(); +const expenseRef = ref(); defineProps({ actionIcon: { @@ -128,7 +129,7 @@ function autocompleteExpense(evt, row, col) { ({ id }) => id == useAccountShortToStandard(param) ); - if (lookup) row[col.model] = lookup; + expenseRef.value.vnSelectDialogRef.vnSelectRef.toggleOption(lookup); }