fix 80121

This commit is contained in:
赵霄
2024-01-02 13:32:52 +08:00
parent 4ae9bd18ab
commit 5e6a6224d6
2 changed files with 11 additions and 2 deletions
@@ -343,6 +343,7 @@ import {
rejectProjectComplianceEvaluation
} from '../../../api/workCenter'
import SplitClauseDetail from '../../documentTool/documentSplit/modules/SplitClauseDetail'
import moment from 'moment'
export default {
name: 'ProjectComplianceEvaluationProcess',
@@ -545,7 +546,10 @@ export default {
{
fieldShowType: 3,
dbFieldTxt: this.$t('projectLibrary.vehicleItemLibrary.estimatedDateOfCompletionOfRectification'),
dbFieldName: 'expectedTime'
dbFieldName: 'expectedTime',
disabledDate: (current) => {
return current && current < moment().subtract(1, 'days').endOf('day')
}
}
]
},
@@ -585,7 +589,10 @@ export default {
{
fieldShowType: 3,
dbFieldTxt: this.$t('projectLibrary.vehicleItemLibrary.estimatedDateOfCompletionOfRectification'),
dbFieldName: 'expectedTime'
dbFieldName: 'expectedTime',
disabledDate: (current) => {
return current && current < moment().subtract(1, 'days').endOf('day')
}
}
]
},