fix 80121
This commit is contained in:
+9
-2
@@ -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')
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user