forked from verdnatura/salix-front
refs #5995 test
This commit is contained in:
parent
930c9cdef1
commit
0287c43b64
|
@ -455,7 +455,7 @@ export default {
|
||||||
},
|
},
|
||||||
cmr: {
|
cmr: {
|
||||||
list: {
|
list: {
|
||||||
total: 'Total {length} records',
|
total: 'Total {0} records',
|
||||||
cmrFk: 'Cmr id',
|
cmrFk: 'Cmr id',
|
||||||
hasCmrDms: `Attached in gestdoc`,
|
hasCmrDms: `Attached in gestdoc`,
|
||||||
true: 'Yes',
|
true: 'Yes',
|
||||||
|
|
|
@ -455,7 +455,7 @@ export default {
|
||||||
},
|
},
|
||||||
cmr: {
|
cmr: {
|
||||||
list: {
|
list: {
|
||||||
total: 'Total {length} registros',
|
total: 'Total {0} registros',
|
||||||
cmrFk: 'Id cmr',
|
cmrFk: 'Id cmr',
|
||||||
hasCmrDms: 'Adjuntado en gestdoc',
|
hasCmrDms: 'Adjuntado en gestdoc',
|
||||||
true: 'Sí',
|
true: 'Sí',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from 'vue';
|
import { computed, ref } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useStateStore } from 'stores/useStateStore';
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
import VnPaginate from 'components/ui/VnPaginate.vue';
|
import VnPaginate from 'components/ui/VnPaginate.vue';
|
||||||
|
@ -58,6 +58,8 @@ const columns = computed(() => [
|
||||||
function getProjectUrl() {
|
function getProjectUrl() {
|
||||||
return new URL(window.location).origin;
|
return new URL(window.location).origin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const my = ref((x) => x);
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="column items-center">
|
<div class="column items-center">
|
||||||
|
@ -80,7 +82,7 @@ function getProjectUrl() {
|
||||||
auto-load
|
auto-load
|
||||||
>
|
>
|
||||||
<template #top>
|
<template #top>
|
||||||
{{ t('route.cmr.list.total', { length: rows.length }) }}
|
{{ t('route.cmr.list.total', [my(rows.length)]) }}
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-cmrFk="{ value }">
|
<template #body-cell-cmrFk="{ value }">
|
||||||
<QTd align="right" class="text-primary">
|
<QTd align="right" class="text-primary">
|
||||||
|
|
Loading…
Reference in New Issue