付款申请单无合同bug修复

This commit is contained in:
xuhaihui 2025-06-18 15:48:52 +08:00
parent ac9c03ac92
commit 2c6c2d4ec1
1 changed files with 7 additions and 1 deletions

View File

@ -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());
}