[Bug #887] Fix bug
update the measurements assignment of the advance assignment whose type is quality form. FEA : ItEr71S04BugFixing
This commit is contained in:
parent
42c4948886
commit
f8cc089c4c
1 changed files with 7 additions and 1 deletions
|
|
@ -454,6 +454,7 @@ public class AssignedTaskQualityFormsToOrderElementController extends
|
||||||
@Override
|
@Override
|
||||||
public void set(Date value) {
|
public void set(Date value) {
|
||||||
item.setDate(value);
|
item.setDate(value);
|
||||||
|
updateAdvancesIfNeeded();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -479,6 +480,7 @@ public class AssignedTaskQualityFormsToOrderElementController extends
|
||||||
@Override
|
@Override
|
||||||
public void set(Boolean value) {
|
public void set(Boolean value) {
|
||||||
item.setPassed(value);
|
item.setPassed(value);
|
||||||
|
updateAdvancesIfNeeded();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -543,12 +545,16 @@ public class AssignedTaskQualityFormsToOrderElementController extends
|
||||||
// Operations to confirm and validate
|
// Operations to confirm and validate
|
||||||
|
|
||||||
public boolean confirm() {
|
public boolean confirm() {
|
||||||
assignedTaskQualityFormsToOrderElementModel.updateAdvancesIfNeeded();
|
updateAdvancesIfNeeded();
|
||||||
boolean result = validate();
|
boolean result = validate();
|
||||||
validateConstraints();
|
validateConstraints();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateAdvancesIfNeeded() {
|
||||||
|
assignedTaskQualityFormsToOrderElementModel.updateAdvancesIfNeeded();
|
||||||
|
}
|
||||||
|
|
||||||
public void validateConstraints() {
|
public void validateConstraints() {
|
||||||
ConstraintChecker.isValid(self);
|
ConstraintChecker.isValid(self);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue