...
|
...
|
@@ -1549,6 +1549,8 @@ func (srv *SummaryEvaluationService) editEvaluationValue( |
|
|
newValue.SetBlankValue(evaluationData, v)
|
|
|
if isTemporary {
|
|
|
newValue.IsTemporary = 1
|
|
|
} else {
|
|
|
newValue.IsTemporary = 0
|
|
|
}
|
|
|
evaluationValueMap[v.Id] = newValue
|
|
|
evaluationItemMap[v.Id] = v
|
...
|
...
|
@@ -1573,7 +1575,7 @@ func (srv *SummaryEvaluationService) editEvaluationValue( |
|
|
if !ok {
|
|
|
continue
|
|
|
}
|
|
|
if evaluationItem.Required == domain.NodeRequiredYes {
|
|
|
if evaluationItem.Required == domain.NodeRequiredYes && !isTemporary {
|
|
|
if len(v.Value) == 0 {
|
|
|
return fmt.Errorf("%s-%s 是必填项", evaluationItem.Category, evaluationItem.Name)
|
|
|
}
|
...
|
...
|
|