feat: input validations
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
20f9b53afb
commit
c443b0a00f
|
@ -53,12 +53,16 @@ const agencyOptions = ref([]);
|
|||
v-model="data.itemMaxSize"
|
||||
:label="t('Max m³')"
|
||||
clearable
|
||||
type="number"
|
||||
min="0"
|
||||
/>
|
||||
<VnInput
|
||||
class="mw-10"
|
||||
v-model="data.m3Max"
|
||||
:label="t('Maximum m³')"
|
||||
clearable
|
||||
type="number"
|
||||
min="0"
|
||||
/>
|
||||
</VnRow>
|
||||
|
||||
|
@ -67,18 +71,36 @@ const agencyOptions = ref([]);
|
|||
v-model="data.travelingDays"
|
||||
:label="t('Traveling days')"
|
||||
clearable
|
||||
type="number"
|
||||
min="0"
|
||||
/>
|
||||
<VnInputTime v-model="data.hour" :label="t('Closing')" clearable />
|
||||
</VnRow>
|
||||
|
||||
<VnRow class="row q-gutter-md q-mb-md">
|
||||
<VnInput v-model="data.price" :label="t('Price')" clearable />
|
||||
<VnInput v-model="data.bonus" :label="t('Bonus')" clearable />
|
||||
<VnInput
|
||||
v-model="data.price"
|
||||
:label="t('Price')"
|
||||
type="number"
|
||||
min="0"
|
||||
clearable
|
||||
/>
|
||||
<VnInput
|
||||
v-model="data.bonus"
|
||||
:label="t('Bonus')"
|
||||
type="number"
|
||||
min="0"
|
||||
clearable
|
||||
/>
|
||||
</VnRow>
|
||||
|
||||
<VnRow class="row q-gutter-md q-mb-md">
|
||||
<VnInput v-model="data.inflation" :label="t('Inflation')" clearable />
|
||||
<QCheckbox v-model="data.isVolumetric" :label="t('Volumetric')" />
|
||||
<QCheckbox
|
||||
v-model="data.isVolumetric"
|
||||
:label="t('Volumetric')"
|
||||
:toggle-indeterminate="false"
|
||||
/>
|
||||
</VnRow>
|
||||
</template>
|
||||
</FormModel>
|
||||
|
|
Loading…
Reference in New Issue