diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index dbd905e35..43f887e67 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -38,7 +38,11 @@ async function fetchClientAddress(id) { addressOptions.value = data; } - +const exprBuilder = (_, value) => { + return { + or: [{ code: value }, { description: { like: `%${value}%` } }], + }; +}; const columns = computed(() => [ { @@ -177,7 +181,6 @@ watchEffect(selectedRows); :array-data-props="{ url: 'InvoiceOuts/filter', order: ['id DESC'], - exprBuilder, }" >