src/components/DatePicker/index.vue
@@ -129,6 +129,7 @@ CapacityPlanningOnclickSelect, CapacityPlanningSetupSearch } from '@/api/scgl' import { handleDatetime } from '@/utils/global' var time = null export default { @@ -514,7 +515,8 @@ }, getCapacityPlanningCalendar() { CapacityPlanningCalendar({ captplanid: this.rowData.CaptPlanId }).then((res) => { this.defArr = res.data const currentDate = handleDatetime(new Date()) this.defArr = res.data.filter(i => i.name >= currentDate) }) }, closeCapacityPlanningCalendar() {