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"
|
v-model="data.itemMaxSize"
|
||||||
:label="t('Max m³')"
|
:label="t('Max m³')"
|
||||||
clearable
|
clearable
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
/>
|
/>
|
||||||
<VnInput
|
<VnInput
|
||||||
class="mw-10"
|
class="mw-10"
|
||||||
v-model="data.m3Max"
|
v-model="data.m3Max"
|
||||||
:label="t('Maximum m³')"
|
:label="t('Maximum m³')"
|
||||||
clearable
|
clearable
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
/>
|
/>
|
||||||
</VnRow>
|
</VnRow>
|
||||||
|
|
||||||
|
@ -67,18 +71,36 @@ const agencyOptions = ref([]);
|
||||||
v-model="data.travelingDays"
|
v-model="data.travelingDays"
|
||||||
:label="t('Traveling days')"
|
:label="t('Traveling days')"
|
||||||
clearable
|
clearable
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
/>
|
/>
|
||||||
<VnInputTime v-model="data.hour" :label="t('Closing')" clearable />
|
<VnInputTime v-model="data.hour" :label="t('Closing')" clearable />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
|
|
||||||
<VnRow class="row q-gutter-md q-mb-md">
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
<VnInput v-model="data.price" :label="t('Price')" clearable />
|
<VnInput
|
||||||
<VnInput v-model="data.bonus" :label="t('Bonus')" clearable />
|
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>
|
||||||
|
|
||||||
<VnRow class="row q-gutter-md q-mb-md">
|
<VnRow class="row q-gutter-md q-mb-md">
|
||||||
<VnInput v-model="data.inflation" :label="t('Inflation')" clearable />
|
<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>
|
</VnRow>
|
||||||
</template>
|
</template>
|
||||||
</FormModel>
|
</FormModel>
|
||||||
|
|
Loading…
Reference in New Issue