forked from verdnatura/salix-front
refs #5995 test
This commit is contained in:
parent
930c9cdef1
commit
0287c43b64
|
@ -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',
|
||||
|
|
|
@ -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í',
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue