提交人:陈绍鑫

日期:2025/01/09 17:30
内容:推送共享优化
This commit is contained in:
陈绍鑫 2026-01-14 16:31:04 +08:00
parent e2550d7cbe
commit 703422f08e
1 changed files with 13 additions and 2 deletions

View File

@ -55,7 +55,8 @@ public class InterestBearingFromListPlugin extends AbstractReportFormPlugin impl
@Override @Override
public void propertyChanged(PropertyChangedArgs e) { public void propertyChanged(PropertyChangedArgs e) {
super.propertyChanged(e); super.propertyChanged(e);
if(e.getProperty().getName().equals("shkd_datasel")){ //是否是修改下拉框数据 String name = e.getProperty().getName();
if(name.equals("shkd_datasel")){ //是否是修改下拉框数据
if (e.getChangeSet()[0].getNewValue() != null) { if (e.getChangeSet()[0].getNewValue() != null) {
// this.getView().getModel().setValue("shkd_bizdate", this.getModel().getValue("shkd_bizdate")); //日期 // this.getView().getModel().setValue("shkd_bizdate", this.getModel().getValue("shkd_bizdate")); //日期
// this.getView().getModel().setValue("shkd_amtunit", this.getModel().getValue("shkd_amtunit")); //金额单位 // this.getView().getModel().setValue("shkd_amtunit", this.getModel().getValue("shkd_amtunit")); //金额单位
@ -83,6 +84,16 @@ public class InterestBearingFromListPlugin extends AbstractReportFormPlugin impl
ReportFilter filter = this.getView().getControl("reportfilterap");//调用页面的自动查询 ReportFilter filter = this.getView().getControl("reportfilterap");//调用页面的自动查询
filter.search(); filter.search();
} }
} else if ("shkd_rzpz".equals(name)){
DynamicObjectCollection newValue = (DynamicObjectCollection) e.getChangeSet()[0].getNewValue();
DynamicObjectCollection oldValue = (DynamicObjectCollection) e.getChangeSet()[0].getOldValue();
if (newValue==null){
this.getModel().setValue("shkd_finproduct",null);
}else {
if (!newValue.equals(oldValue)){
this.getModel().setValue("shkd_finproduct",null);
}
}
} }
} }
@ -270,7 +281,7 @@ public class InterestBearingFromListPlugin extends AbstractReportFormPlugin impl
public void beforeF7Select(BeforeF7SelectEvent e) { public void beforeF7Select(BeforeF7SelectEvent e) {
String key = e.getProperty().getName(); String key = e.getProperty().getName();
if ("shkd_finproduct".equals(key)){ if ("shkd_finproduct".equals(key)){
Object shkd_rzpz = this.getView().getModel().getValue("shkd_rzpz");
} }
} }
} }