forked from verdnatura/salix-front
examples(restore)
This commit is contained in:
parent
ccbfe7e0d9
commit
f0b329c226
|
@ -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')"
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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')"
|
||||
|
|
Loading…
Reference in New Issue