支付公司初始化及成本中心过滤通用插件

This commit is contained in:
zengweihai 2024-05-30 11:18:22 +08:00
parent 799d538d55
commit 1db49e5e80
1 changed files with 9 additions and 3 deletions

View File

@ -60,15 +60,21 @@ public class CommonCostCenterBillFormPlugin extends AbstractBillPlugIn implement
//监听实物卡片F7字段点击事件
if (entryCostList.contains(entityId)){
BasedataEdit edit = this.getView().getControl("std_entrycostcenter");
if (edit != null){
edit.addBeforeF7SelectListener(this);
}
}else if (costList.contains(entityId)){
BasedataEdit edit = this.getView().getControl("std_costcenter");
if (edit != null){
edit.addBeforeF7SelectListener(this);
}
} else if (travelCostList.contains(entityId)) {
BasedataEdit edit = this.getView().getControl("travelcostcenter");
if (edit != null){
edit.addBeforeF7SelectListener(this);
}
}
}
/**
* 支付公司默认为人员上的劳动主体