<el-date-picker
v-model="ruleForm.startTime"
type="date"
placeholder="请选择"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
:disabled-date="pickerOptions"
clearable
/>
const pickerOptions = (time) => {
if (!tiemFrame.value[0]) return
const popTime = new Date(tiemFrame.value[0].startTime)
const shiftTime = new Date(tiemFrame.value[0].endTime)
return time.getTime() < popTime.getTime() - 8.64e7 || time.getTime() > shiftTime.getTime()
}