refs 6157 markerlabel
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-11-24 08:41:21 +01:00
parent c3d9085a57
commit 98fa68bb80
1 changed files with 8 additions and 6 deletions

View File

@ -31,7 +31,12 @@ const selectedRows = ref([]);
const destinationTypes = ref([]); const destinationTypes = ref([]);
const totalClaimed = ref(null); const totalClaimed = ref(null);
const DEFAULT_MAX_RESPONSABILITY = 5; const DEFAULT_MAX_RESPONSABILITY = 5;
const DEFAULT_MIN_RESPONSABILITY = 1;
const arrayData = useArrayData('claimData'); const arrayData = useArrayData('claimData');
const marker_labels = [
{ value: DEFAULT_MIN_RESPONSABILITY, label: t('claim.summary.company') },
{ value: DEFAULT_MAX_RESPONSABILITY, label: t('claim.summary.person') },
];
const columns = computed(() => [ const columns = computed(() => [
{ {
@ -258,12 +263,9 @@ async function importToNewRefundTicket() {
label-always label-always
color="primary" color="primary"
markers markers
:marker-labels="[ :marker-labels="marker_labels"
{ value: 1, label: t('claim.summary.company') }, :min="DEFAULT_MIN_RESPONSABILITY"
{ value: 5, label: t('claim.summary.person') }, :max="DEFAULT_MAX_RESPONSABILITY"
]"
:min="1"
:max="5"
/> />
</QItemLabel> </QItemLabel>
</QItem> </QItem>