合同提交校验合同清单金额与合同金额的差1.0
This commit is contained in:
		
							parent
							
								
									d4f382ab19
								
							
						
					
					
						commit
						21114999c4
					
				| 
						 | 
				
			
			@ -79,7 +79,7 @@ public class ContractOPPlugin extends AbstractOperationServicePlugIn {
 | 
			
		|||
                            BigDecimal amount = dataEntity.getBigDecimal("amount");//合同金额
 | 
			
		||||
                            // 检查 qeug_amounts 是否大于 amount
 | 
			
		||||
                            if (isEntry&&qeug_amounts.add(qeug_taxtotalprices).setScale(2, RoundingMode.HALF_UP).compareTo(amount) < 0) {
 | 
			
		||||
                                this.addErrorMessage(extendedDataEntity, "合同清单(定额)的金额之和不能大于合同金额");
 | 
			
		||||
                                this.addErrorMessage(extendedDataEntity, "合同清单(定额)与(非定额)的金额之和不能小于合同金额");
 | 
			
		||||
                            }
 | 
			
		||||
//                            DynamicObjectCollection qeug_orderformentry1 = dataEntity.getDynamicObjectCollection("qeug_orderformentry");
 | 
			
		||||
//                            int qeug_orderformentry = qeug_orderformentry1==null?0:qeug_orderformentry1.size();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue