This commit is contained in:
hayu 2025-09-10 17:37:00 +08:00
parent 595e8cb60b
commit 99c318a345
1 changed files with 11 additions and 2 deletions

View File

@ -460,6 +460,7 @@
return time.getTime() > Date.now();
}
}"
:clearable="false"
@change="handleCurrentCheckDateChange"
/>
</el-form-item>
@ -469,9 +470,17 @@
<el-date-picker
v-model="authForm.nextCheckDate"
type="date"
placeholder="自动生成"
placeholder="请选择日期"
value-format="yyyy-MM-dd"
disabled
:picker-options="{
disabledDate: (time) => {
if (!authForm.currentCheckDate) {
return false; //
}
return time.getTime() < new Date(authForm.currentCheckDate).getTime();
}
}"
:clearable="false"
/>
</el-form-item>