update for Warranty plugin
This commit is contained in:
parent
68bd621a58
commit
65c6f38ef3
|
@ -82,6 +82,7 @@
|
||||||
v-model="item.warrantyStartDate"
|
v-model="item.warrantyStartDate"
|
||||||
label="شروع گارانتی"
|
label="شروع گارانتی"
|
||||||
:rules="[rules.date]"
|
:rules="[rules.date]"
|
||||||
|
:ignore-year-range="true"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" md="6">
|
<v-col cols="12" md="6">
|
||||||
|
@ -89,6 +90,7 @@
|
||||||
v-model="item.warrantyEndDate"
|
v-model="item.warrantyEndDate"
|
||||||
label="پایان گارانتی"
|
label="پایان گارانتی"
|
||||||
:rules="[rules.date, (value: any) => rules.endDate(value, item.warrantyStartDate)]"
|
:rules="[rules.date, (value: any) => rules.endDate(value, item.warrantyStartDate)]"
|
||||||
|
:ignore-year-range="true"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" md="6">
|
<v-col cols="12" md="6">
|
||||||
|
|
|
@ -33,13 +33,13 @@
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" md="6">
|
<v-col cols="12" md="6">
|
||||||
<h-date-picker v-model="formData.warrantyStartDate" label="تاریخ شروع گارانتی" :rules="[rules.date]" dense
|
<h-date-picker v-model="formData.warrantyStartDate" label="تاریخ شروع گارانتی" :rules="[rules.date]" :ignore-year-range="true" dense
|
||||||
outlined hide-details="auto" />
|
outlined hide-details="auto" />
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" md="6">
|
<v-col cols="12" md="6">
|
||||||
<h-date-picker v-model="formData.warrantyEndDate" label="تاریخ پایان گارانتی"
|
<h-date-picker v-model="formData.warrantyEndDate" label="تاریخ پایان گارانتی"
|
||||||
:rules="[(v: any) => rules.endDate(v, formData.warrantyStartDate)]" dense outlined
|
:rules="[(v: any) => rules.endDate(v, formData.warrantyStartDate)]" :ignore-year-range="true" dense outlined
|
||||||
hide-details="auto" />
|
hide-details="auto" />
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue