支付公司初始化及成本中心过滤通用插件
This commit is contained in:
		
							parent
							
								
									799d538d55
								
							
						
					
					
						commit
						1db49e5e80
					
				| 
						 | 
				
			
			@ -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);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 支付公司默认为人员上的劳动主体
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue