forked from verdnatura/salix-front
refactor: refs #6238 use variable & link class
This commit is contained in:
parent
bd6e45d260
commit
94f4e154b0
|
@ -537,6 +537,11 @@ const getColor = (percentage) => {
|
||||||
'supplier-name':
|
'supplier-name':
|
||||||
col.name === 'cargoSupplierNickname',
|
col.name === 'cargoSupplierNickname',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
link: ['id', 'cargoSupplierNickname'].includes(
|
||||||
|
col.name
|
||||||
|
),
|
||||||
|
},
|
||||||
]"
|
]"
|
||||||
v-text="col.value"
|
v-text="col.value"
|
||||||
/>
|
/>
|
||||||
|
@ -573,11 +578,11 @@ const getColor = (percentage) => {
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<QTd>
|
<QTd>
|
||||||
<QBtn flat color="primary">{{ entry.id }} </QBtn>
|
<QBtn flat class="link">{{ entry.id }} </QBtn>
|
||||||
<EntryDescriptorProxy :id="entry.id" />
|
<EntryDescriptorProxy :id="entry.id" />
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd>
|
<QTd>
|
||||||
<QBtn flat color="primary" dense>{{ entry.supplierName }}</QBtn>
|
<QBtn flat class="link" dense>{{ entry.supplierName }}</QBtn>
|
||||||
<SupplierDescriptorProxy :id="entry.supplierFk" />
|
<SupplierDescriptorProxy :id="entry.supplierFk" />
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd />
|
<QTd />
|
||||||
|
@ -623,7 +628,7 @@ const getColor = (percentage) => {
|
||||||
|
|
||||||
.bg-travel {
|
.bg-travel {
|
||||||
background-color: var(--vn-page-color);
|
background-color: var(--vn-page-color);
|
||||||
border-bottom: 1.6px solid orange;
|
border-bottom: 2px solid $primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashed-border {
|
.dashed-border {
|
||||||
|
|
Loading…
Reference in New Issue