优化代码 合同结算
This commit is contained in:
		
							parent
							
								
									ecbd06b147
								
							
						
					
					
						commit
						28ee9e2915
					
				| 
						 | 
				
			
			@ -390,12 +390,12 @@ null && visaBillArr.length != 0) {
 | 
			
		|||
        DynamicObject[] materialOutBillArr = this.getMaterialOutBillArr(materialOutBillFilter);
 | 
			
		||||
        String entityId = this.getView().getParentView().getEntityId();
 | 
			
		||||
//        if (!StringUtils.equals(entityId, "ec_out_contract_settle") || !(Boolean)parentModel.getValue("iseqsettle")) {
 | 
			
		||||
//            DynamicObject[] measureBillArr = this.getMeasureBillArr(measureBillFilter);
 | 
			
		||||
//            if (payDirection.equals(PayDirectionEnum.IN.getValue())) {
 | 
			
		||||
//                this.setMeasureBillDataToEntry(entryCollection, measureBillArr);
 | 
			
		||||
//            } else {
 | 
			
		||||
//                this.setMeasureBillDataToEntryOut(entryCollection, measureBillArr);
 | 
			
		||||
//            }
 | 
			
		||||
            DynamicObject[] measureBillArr = this.getMeasureBillArr(measureBillFilter);
 | 
			
		||||
            if (payDirection.equals(PayDirectionEnum.IN.getValue())) {
 | 
			
		||||
                this.setMeasureBillDataToEntry(entryCollection, measureBillArr);
 | 
			
		||||
            } else {
 | 
			
		||||
                this.setMeasureBillDataToEntryOut(entryCollection, measureBillArr);
 | 
			
		||||
            }
 | 
			
		||||
//        }
 | 
			
		||||
 | 
			
		||||
        this.setClaimArrDataToEntry(entryCollection, claimArr);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue