parent
e2550d7cbe
commit
703422f08e
|
|
@ -55,7 +55,8 @@ public class InterestBearingFromListPlugin extends AbstractReportFormPlugin impl
|
|||
@Override
|
||||
public void propertyChanged(PropertyChangedArgs 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) {
|
||||
// this.getView().getModel().setValue("shkd_bizdate", this.getModel().getValue("shkd_bizdate")); //日期
|
||||
// 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");//调用页面的自动查询
|
||||
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) {
|
||||
String key = e.getProperty().getName();
|
||||
if ("shkd_finproduct".equals(key)){
|
||||
|
||||
Object shkd_rzpz = this.getView().getModel().getValue("shkd_rzpz");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue