付款申请单提交报错修复

This commit is contained in:
xuhaihui 2025-06-18 09:15:25 +08:00
parent d12eac307b
commit 08dcb2d4e4
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package kd.ec.ecpf.opplugin;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.AddValidatorsEventArgs;
import kd.bos.entity.plugin.PreparePropertysEventArgs;
public class PaymentApplyInvoiceValidateOp extends AbstractOperationServicePlugIn {
public PaymentApplyInvoiceValidateOp() {
}
public void onPreparePropertys(PreparePropertysEventArgs e) {
e.getFieldKeys().add("entryentity");
e.getFieldKeys().add("applyoftaxamount");
e.getFieldKeys().add("subentryentity");
e.getFieldKeys().add("invoice");
e.getFieldKeys().add("applyinvoftaxamt");
}
public void onAddValidators(AddValidatorsEventArgs e) {
e.addValidator(new PaymentApplyInvoiceValidator());
}
}