支付公司初始化及成本中心过滤通用插件
This commit is contained in:
parent
799d538d55
commit
1db49e5e80
|
@ -60,13 +60,19 @@ public class CommonCostCenterBillFormPlugin extends AbstractBillPlugIn implement
|
||||||
//监听实物卡片F7字段点击事件
|
//监听实物卡片F7字段点击事件
|
||||||
if (entryCostList.contains(entityId)){
|
if (entryCostList.contains(entityId)){
|
||||||
BasedataEdit edit = this.getView().getControl("std_entrycostcenter");
|
BasedataEdit edit = this.getView().getControl("std_entrycostcenter");
|
||||||
edit.addBeforeF7SelectListener(this);
|
if (edit != null){
|
||||||
|
edit.addBeforeF7SelectListener(this);
|
||||||
|
}
|
||||||
}else if (costList.contains(entityId)){
|
}else if (costList.contains(entityId)){
|
||||||
BasedataEdit edit = this.getView().getControl("std_costcenter");
|
BasedataEdit edit = this.getView().getControl("std_costcenter");
|
||||||
edit.addBeforeF7SelectListener(this);
|
if (edit != null){
|
||||||
|
edit.addBeforeF7SelectListener(this);
|
||||||
|
}
|
||||||
} else if (travelCostList.contains(entityId)) {
|
} else if (travelCostList.contains(entityId)) {
|
||||||
BasedataEdit edit = this.getView().getControl("travelcostcenter");
|
BasedataEdit edit = this.getView().getControl("travelcostcenter");
|
||||||
edit.addBeforeF7SelectListener(this);
|
if (edit != null){
|
||||||
|
edit.addBeforeF7SelectListener(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue