|  |  |  | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="currentFee" | 
|---|
|  |  |  | align="center" | 
|---|
|  |  |  | label="产生费用(元)"> | 
|---|
|  |  |  | label="已产生费用(元)"> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="fee" | 
|---|
|  |  |  | 
|---|
|  |  |  | import { all } from '@/api/business/solutions' | 
|---|
|  |  |  | import { getDetail } from '@/api/business/insuranceApply' | 
|---|
|  |  |  | import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange' | 
|---|
|  |  |  | import { getDate } from '@/utils/util' | 
|---|
|  |  |  | import { getDate, compareDates, getTomorrow } from '@/utils/util' | 
|---|
|  |  |  | export default { | 
|---|
|  |  |  | name: 'additionSubtractionApplication', | 
|---|
|  |  |  | extends: BaseOpera, | 
|---|
|  |  |  | 
|---|
|  |  |  | this.form.solutionsName = res.solutionsName | 
|---|
|  |  |  | this.pickerOptions = { | 
|---|
|  |  |  | disabledDate(time) { | 
|---|
|  |  |  | // - 8.64e7 | 
|---|
|  |  |  | if (getDate()) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 当前日期大于等于生效日期并且最后一次操作时间等于空 | 
|---|
|  |  |  | if ([1,3].includes(compareDates(getDate(), res.startTime)) && !res.lastChangeDate) { | 
|---|
|  |  |  | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(getTomorrow()).getTime() | 
|---|
|  |  |  | // 当前日期小于生效日期并且最后一次操作时间等于空 | 
|---|
|  |  |  | } else if (compareDates(getDate(), res.startTime) === 2 && !res.lastChangeDate) { | 
|---|
|  |  |  | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.startTime).getTime() | 
|---|
|  |  |  | // 最后一次操作时间有值 | 
|---|
|  |  |  | } else if (res.lastChangeDate) { | 
|---|
|  |  |  | // 当前日期大于最后一次操作时间 | 
|---|
|  |  |  | if ([1,3].includes(compareDates(getDate(), res.lastChangeDate))) { | 
|---|
|  |  |  | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(getTomorrow()).getTime() | 
|---|
|  |  |  | // 当前时间小于最后一次操作时间 | 
|---|
|  |  |  | } else if (compareDates(getDate(), res.lastChangeDate) === 2) { | 
|---|
|  |  |  | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate).getTime() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate ? res.lastChangeDate : res.startTime).getTime() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | // this.changeSolution1(res.solutionId) | 
|---|
|  |  |  | 
|---|
|  |  |  | this.$message.warning('请选择员工') | 
|---|
|  |  |  | return | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.$refs.confirmJobType.open('确认工种', { solutionId: this.form.solutionId }) | 
|---|
|  |  |  | this.$refs.confirmJobType.open('确认工种', { solutionId: this.item.newVersionSolutionId }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 查询全部方案 | 
|---|
|  |  |  | getCompany() { | 
|---|