0
0
Fork 0

examples(restore)

This commit is contained in:
Javier Segarra 2024-06-21 15:04:55 +02:00
parent ccbfe7e0d9
commit f0b329c226
4 changed files with 11 additions and 9 deletions

View File

@ -53,12 +53,7 @@ onMounted(async () => {
>
<template #form-inputs="{ data, validate }">
<VnRow class="row q-gutter-md q-mb-md">
<VnInput
:label="t('name')"
v-model="data.name"
:required="true"
:rules="validate('bankEntity.name')"
/>
<VnInput :label="t('name')" v-model="data.name" :required="true" />
<VnInput
ref="bicInputRef"
:label="t('swift')"

View File

@ -56,7 +56,12 @@ const getBankEntities = (data, formData) => {
option-value="id"
v-model="data.payMethod"
/>
<VnInput :label="t('Due day')" clearable v-model="data.dueDay" />
<VnInput
:label="t('Due day')"
clearable
v-model="data.dueDay"
:required="true"
/>
</VnRow>
<VnRow class="row q-gutter-md q-mb-md">

View File

@ -88,7 +88,6 @@ const redirectToEntryBasicData = (_, { id }) => {
option-label="nickname"
hide-selected
:required="true"
:rules="validate('entry.supplierFk')"
>
<template #option="scope">
<QItem v-bind="scope.itemProps">

View File

@ -80,6 +80,7 @@ const onIntrastatCreated = (response, formData) => {
option-label="name"
hide-selected
map-options
:required="true"
>
<template #option="scope">
<QItem v-bind="scope.itemProps">
@ -156,13 +157,14 @@ const onIntrastatCreated = (response, formData) => {
</VnSelectDialog>
<div class="col">
<VnSelect
:label="t('basicData.expense')"
:label="t('basicData.expfense')"
v-model="data.expenseFk"
:options="expensesOptions"
option-value="id"
option-label="name"
hide-selected
map-options
:required="true"
/>
</div>
</VnRow>
@ -172,6 +174,7 @@ const onIntrastatCreated = (response, formData) => {
v-model.number="data.weightByPiece"
:min="0"
type="number"
:required="true"
/>
<VnInput
:label="t('basicData.boxUnits')"