This commit is contained in:
parent
039a8d1d02
commit
68a2ac385f
|
@ -50,9 +50,9 @@ const columns = computed(() => [
|
|||
align: 'left',
|
||||
columnField: {
|
||||
component: VnImg,
|
||||
attrs: (id) => {
|
||||
attrs: ({ row }) => {
|
||||
return {
|
||||
id,
|
||||
id: row.id,
|
||||
width: '50px',
|
||||
};
|
||||
},
|
||||
|
@ -102,9 +102,11 @@ const columns = computed(() => [
|
|||
name: 'typeName',
|
||||
align: 'left',
|
||||
component: 'select',
|
||||
attrs: {
|
||||
url: 'ItemTypes',
|
||||
fields: ['id', 'name'],
|
||||
columnFilter: {
|
||||
attrs: {
|
||||
url: 'ItemTypes',
|
||||
fields: ['name'],
|
||||
},
|
||||
},
|
||||
columnField: {
|
||||
component: null,
|
||||
|
|
Loading…
Reference in New Issue