salix-front/src/components/CreateBankEntityForm.vue

33 lines
675 B
Vue
Raw Normal View History

2023-12-12 14:58:44 +00:00
<script setup>
import { reactive } from 'vue';
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
const formData = reactive({
name: null,
bic: null,
countryFk: null,
id: null,
});
</script>
<template>
2023-12-12 17:00:56 +00:00
<QCard class="q-pa-xl column">
<span>{{ t('title') }}</span>
<span>{{ t('subtitle') }}</span>
2023-12-12 14:58:44 +00:00
<QInput :label="t('name')" v-model="formData.name" />
2023-12-12 17:00:56 +00:00
</QCard>
2023-12-12 14:58:44 +00:00
</template>
<i18n>
en:
name: Name *
2023-12-12 17:00:56 +00:00
title: New bank entity
subtitle: Please, ensure you put the correct data!
2023-12-12 14:58:44 +00:00
es:
name: Nombre *
2023-12-12 17:00:56 +00:00
title: Nueva entidad bancaria
subtitle: ¡Por favor, asegúrate de poner los datos correctos!
2023-12-12 14:58:44 +00:00
</i18n>