二开系统插件标识
This commit is contained in:
parent
8cca233a97
commit
01adcd8a8c
|
@ -0,0 +1,28 @@
|
||||||
|
//
|
||||||
|
// 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;
|
||||||
|
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() {
|
||||||
|
}
|
||||||
|
|
||||||
|
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());
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue