This commit is contained in:
2021-05-05 22:38:55 +00:00
parent a9f4299a06
commit c3f3d06caa

View File

@@ -56,6 +56,13 @@
:show-select="$vuetify.breakpoint.xs" :show-select="$vuetify.breakpoint.xs"
single-select single-select
> >
<template v-slot:[`item.status`]="{ item }">
<template v-if="item.status.id != null">
<v-icon class="mr-3" :color="item.status.color"
>$ayiCircle</v-icon
>{{ item.status.name }}
</template>
</template>
</v-data-table> </v-data-table>
</v-col> </v-col>
</template> </template>
@@ -479,11 +486,7 @@ and it's probably not a big list to fill anyway
id: x.id, id: x.id,
sequence: x.sequence, sequence: x.sequence,
notes: x.notes, notes: x.notes,
quantityReceived: window.$gz.locale.decimalLocalized( status: stat,
x.quantityReceived,
this.pvm.languageName
),
status: stat.name,
requestDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized( requestDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
x.requestDate, x.requestDate,
this.pvm.timeZoneName, this.pvm.timeZoneName,