付款申请单提交校验逻辑优化
This commit is contained in:
parent
01adcd8a8c
commit
fa4fb79d7e
|
@ -22,6 +22,7 @@ public class PaymentApplyInvoiceValidateOp extends AbstractOperationServicePlugI
|
|||
}
|
||||
|
||||
public void onAddValidators(AddValidatorsEventArgs e) {
|
||||
e.addValidator(new PaymentApplyInvoiceValidator());
|
||||
// e.addValidator(new PaymentApplyInvoiceValidator());
|
||||
e.getValidators().removeIf(validator -> validator instanceof PaymentApplyInvoiceValidator);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,9 +23,9 @@ import kd.bos.servicehelper.QueryServiceHelper;
|
|||
import kd.ec.basedata.common.enums.BillStatusEnum;
|
||||
import zcgj.zcdev.zcdev.pr.plugin.form.MaterialInbFinaceConfirmeInvoicePlugin;
|
||||
|
||||
class PaymentApplyInvoiceValidator extends AbstractValidator {
|
||||
public class PaymentApplyInvoiceValidator extends AbstractValidator {
|
||||
private static final Log log = LogFactory.getLog(PaymentApplyInvoiceValidator.class);
|
||||
PaymentApplyInvoiceValidator() {
|
||||
public PaymentApplyInvoiceValidator() {
|
||||
}
|
||||
|
||||
public void validate() {
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by FernFlower decompiler)
|
||||
//
|
||||
|
||||
package zcgj.zcdev.zcdev.pr.plugin.form;
|
||||
|
||||
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
|
||||
|
@ -10,6 +5,9 @@ import kd.bos.entity.plugin.AddValidatorsEventArgs;
|
|||
import kd.bos.entity.plugin.PreparePropertysEventArgs;
|
||||
import kd.ec.ecpf.opplugin.PaymentApplyInvoiceValidator;
|
||||
|
||||
/*
|
||||
* 付款申请单提交操作校验更改
|
||||
*/
|
||||
public class PaymentApplyInvoiceValidateOpExt extends AbstractOperationServicePlugIn {
|
||||
public PaymentApplyInvoiceValidateOpExt() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue