| 
					
				 | 
			
			
				@@ -4,6 +4,8 @@ import com.alibaba.fastjson.JSONArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.alibaba.fastjson.JSONObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import kd.bos.dataentity.entity.DynamicObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import kd.bos.dataentity.entity.DynamicObjectCollection; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import kd.bos.entity.datamodel.events.ChangeData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import kd.bos.entity.datamodel.events.PropertyChangedArgs; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import kd.bos.exception.KDBizException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import kd.bos.form.CloseCallBack; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import kd.bos.form.FormShowParameter; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -160,6 +162,9 @@ public class BusinessProcessingEditPlugin extends AbstractListPlugin implements 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if(cysfyxm!=null && !cysfyxm.isEmpty()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         this.getModel().setValue("nckd_cysfyxm", nckd_cysfyxm, rowIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    String cysgzbalance = this.getModel().getValue("nckd_ysgzjehj").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    BigDecimal bigDecimal = new BigDecimal(cysgzbalance); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.getModel().setValue("nckd_ysgzjehj",bigDecimal.add(settleamount),0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } else if (btn_pzht.equals(controls)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         //核算组织 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         String pzhtorg = reJo.getString("nckd_pzhtorg"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -216,6 +221,9 @@ public class BusinessProcessingEditPlugin extends AbstractListPlugin implements 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if(nckdCyffyxm!=null && !nckdCyffyxm.isEmpty()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             this.getModel().setValue("nckd_cyffyxm", nckd_cyffyxm, rowIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        String cysgzbalance = this.getModel().getValue("nckd_yfgzjehj").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        BigDecimal bigDecimal = new BigDecimal(cysgzbalance); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        this.getModel().setValue("nckd_yfgzjehj",bigDecimal.add(settleamount),0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }else if (btn_skskzh.equals(controls)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         String nckd_bankaccount = reJo.getString("nckd_bankaccount"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         String nckd_accountname = reJo.getString("nckd_accountname"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -239,4 +247,36 @@ public class BusinessProcessingEditPlugin extends AbstractListPlugin implements 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ /*   @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public void propertyChanged(PropertyChangedArgs e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        super.beforePropertyChanged(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String name = e.getProperty().getName();//获取字段标识 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if ("nckd_skamount".equals(name)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ChangeData[] changeSet = e.getChangeSet();//获取值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (ChangeData changeData : changeSet) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                String newValue = changeData.getNewValue().toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                String oldValue =changeData.getOldValue().toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                BigDecimal newValues = new BigDecimal(newValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                BigDecimal oldValues = new BigDecimal(oldValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                String skmxjehj = this.getModel().getValue("nckd_skmxjehj").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                BigDecimal bigDecimal = new BigDecimal(skmxjehj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                bigDecimal=bigDecimal.subtract(oldValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                bigDecimal=bigDecimal.add(newValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getModel().setValue("nckd_skmxjehj", bigDecimal, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if ("nckd_fkamount".equals(name)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ChangeData[] changeSet = e.getChangeSet();//获取值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (ChangeData changeData : changeSet) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                String newValue = changeData.getNewValue().toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                String oldValue =changeData.getOldValue().toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                BigDecimal newValues = new BigDecimal(newValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                BigDecimal oldValues = new BigDecimal(oldValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                String skmxjehj = this.getModel().getValue("nckd_fkmxjehj").toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                BigDecimal bigDecimal = new BigDecimal(skmxjehj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                bigDecimal=bigDecimal.subtract(oldValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                bigDecimal=bigDecimal.add(newValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.getModel().setValue("nckd_fkmxjehj", bigDecimal, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |