fix: refs #8316 user-filter
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
e50b8f0094
commit
168fe4c5b1
|
@ -2,38 +2,38 @@
|
||||||
import VnCardBeta from 'components/common/VnCardBeta.vue';
|
import VnCardBeta from 'components/common/VnCardBeta.vue';
|
||||||
import InvoiceInDescriptor from './InvoiceInDescriptor.vue';
|
import InvoiceInDescriptor from './InvoiceInDescriptor.vue';
|
||||||
|
|
||||||
const filter = {
|
const filter = {
|
||||||
include: [
|
include: [
|
||||||
{
|
{
|
||||||
relation: 'supplier',
|
relation: 'supplier',
|
||||||
scope: {
|
scope: {
|
||||||
include: {
|
include: {
|
||||||
relation: 'contacts',
|
relation: 'contacts',
|
||||||
scope: { where: { email: { neq: null } } },
|
scope: { where: { email: { neq: null } } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ relation: 'invoiceInDueDay' },
|
{ relation: 'invoiceInDueDay' },
|
||||||
{ relation: 'company' },
|
{ relation: 'company' },
|
||||||
{ relation: 'currency' },
|
{ relation: 'currency' },
|
||||||
{
|
{
|
||||||
relation: 'dms',
|
relation: 'dms',
|
||||||
scope: {
|
scope: {
|
||||||
fields: [
|
fields: [
|
||||||
'dmsTypeFk',
|
'dmsTypeFk',
|
||||||
'reference',
|
'reference',
|
||||||
'hardCopyNumber',
|
'hardCopyNumber',
|
||||||
'workerFk',
|
'workerFk',
|
||||||
'description',
|
'description',
|
||||||
'hasFile',
|
'hasFile',
|
||||||
'file',
|
'file',
|
||||||
'created',
|
'created',
|
||||||
'companyFk',
|
'companyFk',
|
||||||
'warehouseFk',
|
'warehouseFk',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -42,6 +42,6 @@ const filter = {
|
||||||
data-key="InvoiceIn"
|
data-key="InvoiceIn"
|
||||||
base-url="InvoiceIns"
|
base-url="InvoiceIns"
|
||||||
:descriptor="InvoiceInDescriptor"
|
:descriptor="InvoiceInDescriptor"
|
||||||
:filter="filter"
|
:user-filter="filter"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue