付款申请单无合同bug修复
This commit is contained in:
parent
ac9c03ac92
commit
2c6c2d4ec1
|
@ -53,11 +53,17 @@ public class PaymentApplyFundOpExt extends AbstractOperationServicePlugIn {
|
|||
}
|
||||
|
||||
public void onAddValidators(AddValidatorsEventArgs e) {
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentTypeValidator);
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentPlanValidator);
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentMaxAmountValidator);
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentProgressValidator);
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentDeductionValidator);
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentReferenceValidator);
|
||||
// e.getValidators().add(new PaymentTypeValidator());
|
||||
// e.getValidators().add(new PaymentPlanValidator());
|
||||
// e.getValidators().add(new PaymentMaxAmountValidator());
|
||||
// e.getValidators().add(new PaymentProgressValidator());
|
||||
e.getValidators().add(new PaymentDeductionValidator());
|
||||
// e.getValidators().add(new PaymentDeductionValidator());
|
||||
// e.getValidators().add(new PaymentReferenceValidator());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue