提交修改

pg_adapter
dshclm 6 months ago
parent f240606b12
commit 4ef4370755

@ -75,6 +75,7 @@
placeholder="选择日期" placeholder="选择日期"
v-model="postForm.checkEndTime" v-model="postForm.checkEndTime"
style="width: 100%;" style="width: 100%;"
:picker-options="pickerOptionsEnd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -237,6 +238,15 @@
] ]
}, },
}, },
computed: {
pickerOptionsEnd() {
return {
disabledDate: (time) => {
return time.getTime() < new Date(this.postForm.checkStartTime).getTime();
}
};
}
},
mounted(){ mounted(){
// 初始化地市列表 // 初始化地市列表
this.getCityList(); this.getCityList();

@ -75,6 +75,7 @@
placeholder="选择日期" placeholder="选择日期"
v-model="postForm.checkEndTime" v-model="postForm.checkEndTime"
style="width: 100%;" style="width: 100%;"
:picker-options="pickerOptionsEnd"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -244,6 +245,15 @@
] ]
}, },
}, },
computed: {
pickerOptionsEnd() {
return {
disabledDate: (time) => {
return time.getTime() < new Date(this.postForm.checkStartTime).getTime();
}
};
}
},
mounted(){ mounted(){
if([[${tdCheckReportDTO}]].checkTypeDTOS){ if([[${tdCheckReportDTO}]].checkTypeDTOS){
this.postForm = [[${tdCheckReportDTO}]] this.postForm = [[${tdCheckReportDTO}]]

Loading…
Cancel
Save