diff --git a/src/components/ui/VnLv.vue b/src/components/ui/VnLv.vue index b8da70feb..9a17fca05 100644 --- a/src/components/ui/VnLv.vue +++ b/src/components/ui/VnLv.vue @@ -4,12 +4,12 @@ import { dashIfEmpty } from 'src/filters'; const $props = defineProps({ label: { type: String, default: null }, - value: { type: [Number, String, Boolean], default: null }, - titleLabel: { type: String, default: null }, - titleValue: { type: [Number, String, Boolean], default: null }, + value: { + type: [String, Boolean], + default: null, + }, info: { type: String, default: null }, dash: { type: Boolean, default: true }, - ellipsisValue: { type: Boolean, default: true }, }); const isBooleanValue = computed(() => typeof $props.value === 'boolean'); @@ -17,10 +17,10 @@ const isBooleanValue = computed(() => typeof $props.value === 'boolean');
- {{ $props.label }} + {{ $props.label }}
-
+
typeof $props.value === 'boolean');
- diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 83893ece4..7fcd2e9c6 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -405,7 +405,7 @@ export default { pageTitles: { invoiceIns: 'Fact. recibidas', list: 'Listado', - createInvoiceOut: 'Crear fact. recibida', + createInvoiceIn: 'Crear fact. recibida', summary: 'Resumen', basicData: 'Datos básicos', vat: 'IVA', diff --git a/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue b/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue index 20144d8ca..4572c4c16 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue @@ -37,6 +37,10 @@ const inputFileRef = ref(); const editDmsRef = ref(); const createDmsRef = ref(); +const requiredFieldRule = (val) => val || t('Required field'); +const dateMask = '####-##-##'; +const fillMask = '_'; + async function checkFileExists(dmsId) { if (!dmsId) return; try { @@ -212,10 +216,14 @@ async function upsert() {