refactor(CustomeDms): refs #7527 use VnDmsList
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
80f987085f
commit
9d92c4c178
|
@ -0,0 +1,28 @@
|
|||
<script setup>
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import VnDmsList from 'src/components/common/VnDmsList.vue';
|
||||
import { useArrayData } from 'src/composables/useArrayData';
|
||||
const arrayData = useArrayData('Customer');
|
||||
const { t } = useI18n();
|
||||
</script>
|
||||
<template>
|
||||
<VnDmsList
|
||||
v-if="arrayData?.store?.data"
|
||||
model="ClientDms"
|
||||
update-model="Clients"
|
||||
default-dms-code="paymentsLaw"
|
||||
filter="clientFk"
|
||||
:description="
|
||||
t('ClientFileDescription', {
|
||||
clientId: $route.params.id,
|
||||
clientName: arrayData.store.data.socialName,
|
||||
})
|
||||
"
|
||||
/>
|
||||
</template>
|
||||
<i18n>
|
||||
en:
|
||||
ClientFileDescription: Payment law from client {clientName} ID {clientId}
|
||||
es:
|
||||
ClientFileDescription: Ley de pagos del cliente {clientName} ID {clientId}
|
||||
</i18n>
|
Loading…
Reference in New Issue