refactor: handleDate
This commit is contained in:
parent
bb8d007b2d
commit
71ccf65f9d
4 changed files with 26 additions and 1 deletions
|
|
@ -177,6 +177,11 @@ watch(
|
|||
:readonly="readonly"
|
||||
:label="$t('personnel.form.retireDate')"
|
||||
v-model="retireDate"
|
||||
:disabled-dates="
|
||||
(date: Date) =>
|
||||
date.getTime() <
|
||||
((startDate && new Date(startDate).getTime()) || Date.now())
|
||||
"
|
||||
clearable
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue