diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/FilingApplicationSelectPlugin.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/FilingApplicationSelectPlugin.java index 09e983b..f26a51b 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/FilingApplicationSelectPlugin.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/FilingApplicationSelectPlugin.java @@ -4,6 +4,7 @@ import kd.bos.bill.AbstractBillPlugIn; import kd.bos.dataentity.entity.DynamicObject; import kd.bos.entity.datamodel.events.PropertyChangedArgs; import kd.bos.form.field.BasedataEdit; +import kd.bos.form.field.RefBillEdit; import kd.bos.form.field.events.BeforeF7SelectEvent; import kd.bos.form.field.events.BeforeF7SelectListener; import kd.bos.list.ListShowParameter; @@ -23,9 +24,9 @@ public class FilingApplicationSelectPlugin extends AbstractBillPlugIn implements public void registerListener(EventObject e) { super.registerListener(e); - BasedataEdit materialEdit = (BasedataEdit) this.getView().getControl("shkd_baed"); - if (materialEdit != null) { - materialEdit.addBeforeF7SelectListener(this); + RefBillEdit refBillEdit = (RefBillEdit) this.getView().getControl("shkd_baed"); + if (refBillEdit != null) { + refBillEdit.addBeforeF7SelectListener(this); } }