0
0
Fork 0
This commit is contained in:
Alex Moreno 2023-08-10 14:33:25 +02:00
parent 930c9cdef1
commit 0287c43b64
3 changed files with 6 additions and 4 deletions

View File

@ -455,7 +455,7 @@ export default {
},
cmr: {
list: {
total: 'Total {length} records',
total: 'Total {0} records',
cmrFk: 'Cmr id',
hasCmrDms: `Attached in gestdoc`,
true: 'Yes',

View File

@ -455,7 +455,7 @@ export default {
},
cmr: {
list: {
total: 'Total {length} registros',
total: 'Total {0} registros',
cmrFk: 'Id cmr',
hasCmrDms: 'Adjuntado en gestdoc',
true: 'Sí',

View File

@ -1,5 +1,5 @@
<script setup>
import { computed } from 'vue';
import { computed, ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { useStateStore } from 'stores/useStateStore';
import VnPaginate from 'components/ui/VnPaginate.vue';
@ -58,6 +58,8 @@ const columns = computed(() => [
function getProjectUrl() {
return new URL(window.location).origin;
}
const my = ref((x) => x);
</script>
<template>
<div class="column items-center">
@ -80,7 +82,7 @@ function getProjectUrl() {
auto-load
>
<template #top>
{{ t('route.cmr.list.total', { length: rows.length }) }}
{{ t('route.cmr.list.total', [my(rows.length)]) }}
</template>
<template #body-cell-cmrFk="{ value }">
<QTd align="right" class="text-primary">