refactor: refs #7356 fixed VnTable filters
This commit is contained in:
parent
cb610608df
commit
1e959307d8
|
@ -68,9 +68,12 @@ const columns = computed(() => [
|
|||
label: t('weeklyTickets.shipment'),
|
||||
cardVisible: true,
|
||||
columnFilter: {
|
||||
component: 'input',
|
||||
optionLabel: weekdays.name,
|
||||
optionValue: weekdays.id,
|
||||
component: 'select',
|
||||
attrs: {
|
||||
options: weekdays,
|
||||
optionLabel: weekdays.name,
|
||||
optionValue: weekdays.id,
|
||||
},
|
||||
inWhere: true,
|
||||
},
|
||||
},
|
||||
|
@ -81,6 +84,7 @@ const columns = computed(() => [
|
|||
cardVisible: true,
|
||||
columnFilter: {
|
||||
component: 'select',
|
||||
alias: 'tw',
|
||||
attrs: {
|
||||
url: 'AgencyModes',
|
||||
fields: ['id', 'name'],
|
||||
|
@ -112,10 +116,11 @@ const columns = computed(() => [
|
|||
},
|
||||
{
|
||||
align: 'left',
|
||||
name: 'workerFk',
|
||||
name: 'id',
|
||||
label: t('weeklyTickets.salesperson'),
|
||||
columnFilter: {
|
||||
component: 'select',
|
||||
alias: 'u',
|
||||
attrs: {
|
||||
url: 'Workers/activeWithInheritedRole',
|
||||
fields: ['id', 'name'],
|
||||
|
@ -230,7 +235,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
<CustomerDescriptorProxy :id="row.clientFk" />
|
||||
</span>
|
||||
</template>
|
||||
<template #column-workerFk="{ row }">
|
||||
<template #column-id="{ row }">
|
||||
<span class="link" @click.stop>
|
||||
{{ row.userName }}
|
||||
<WorkerDescriptorProxy :id="row.workerFk" />
|
||||
|
|
Loading…
Reference in New Issue