jsk
This commit is contained in:
parent
823a31ac97
commit
0bcbb6d690
|
|
@ -834,6 +834,16 @@
|
||||||
this.deptOptions = this.handleTree(response.data, 'deptId')
|
this.deptOptions = this.handleTree(response.data, 'deptId')
|
||||||
})
|
})
|
||||||
this.title = "修改";
|
this.title = "修改";
|
||||||
|
this.pickerOptionsIssueDay={
|
||||||
|
disabledDate(time) {
|
||||||
|
// 获取今天的日期
|
||||||
|
const startTime=this.baseForm.issueDay;
|
||||||
|
const today = new Date(startTime);
|
||||||
|
today.setHours(0, 0, 0, 0); // 设置时间为00:00:00,确保比较时只比较日期部分
|
||||||
|
// 比较日期,禁用今天之前的日期
|
||||||
|
return time.getTime() < today.getTime();
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleTabClick(tab, event) {
|
handleTabClick(tab, event) {
|
||||||
console.log(tab, event);
|
console.log(tab, event);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue