Commit b73d2f48 authored by 华国豪's avatar 华国豪 🙄

1

parent 521c68f4
......@@ -266,6 +266,7 @@
</el-form-item>
<el-form-item label="计划日期" prop="TimeRanges">
<el-date-picker
:picker-options="pickerOptions"
v-model="addMsg.TimeRanges"
type="datetimerange"
class="wd100"
......@@ -363,7 +364,13 @@ export default {
inputValue: "",
datas: [],
tempList: [],
examineStatusValue: "-2"
examineStatusValue: "-2",
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7; //禁用以前的日期,今天不禁用
// return date.getTime() <= Date.now(); //禁用今天以及以前的日期
}
}
};
},
mounted() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment