|  | @@ -104,15 +104,10 @@ public class BusinessProcessingUnAuditEditPlugin  extends AbstractListPlugin imp
 | 
	
		
			
				|  |  |                  draw.getOption().setVariableValue("type", "drawzlht");
 | 
	
		
			
				|  |  |              }else if (draw.getOperateKey().equals("draw-ssysd")) {
 | 
	
		
			
				|  |  |                  //诉讼核销
 | 
	
		
			
				|  |  | -                Object values = this.getModel().getValue("nckd_payeenamev");//获取当前单据付款人
 | 
	
		
			
				|  |  | +                Object values = this.getModel().getValue("nckd_customers");//获取当前诉讼客户
 | 
	
		
			
				|  |  |                  DynamicObject dynamicObjects = (DynamicObject) values;
 | 
	
		
			
				|  |  | -                Object value = this.getModel().getValue("nckd_orgfield");//获取当前单据付款人
 | 
	
		
			
				|  |  | -                DynamicObject dynamicObject = (DynamicObject) value;
 | 
	
		
			
				|  |  | -                if (dynamicObject == null) {
 | 
	
		
			
				|  |  | -                    throw new KDBizException("核算组织为空!");
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  |                  if (dynamicObjects == null) {
 | 
	
		
			
				|  |  | -                    throw new KDBizException("收款信息收款人为空!");
 | 
	
		
			
				|  |  | +                    throw new KDBizException("单头诉讼客户为空!");
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  DynamicObjectCollection nckdEntryentity1 = this.getModel().getEntryEntity("nckd_entryentity11");
 | 
	
		
			
				|  |  |                  JSONArray jSONArray = new JSONArray();
 | 
	
	
		
			
				|  | @@ -123,10 +118,9 @@ public class BusinessProcessingUnAuditEditPlugin  extends AbstractListPlugin imp
 | 
	
		
			
				|  |  |                      jsonObject.put("id",nckdTextfield7);
 | 
	
		
			
				|  |  |                      jSONArray.add(jsonObject);
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                String bdsupplier = dynamicObjects.getString("id");//当前单据付款供应商
 | 
	
		
			
				|  |  | -                draw.getOption().setVariableValue("bdsupplier", bdsupplier);
 | 
	
		
			
				|  |  | -                String number = dynamicObject.getString("number");
 | 
	
		
			
				|  |  | -                draw.getOption().setVariableValue("orgnumber", number);
 | 
	
		
			
				|  |  | +                String customersid = dynamicObjects.getString("id");//当前单据付款供应商
 | 
	
		
			
				|  |  | +                draw.getOption().setVariableValue("orgnumber", customersid);
 | 
	
		
			
				|  |  | +                draw.getOption().setVariableValue("customersid", customersid);
 | 
	
		
			
				|  |  |                  draw.getOption().setVariableValue("JSONArray", jSONArray.toString());
 | 
	
		
			
				|  |  |                  draw.getOption().setVariableValue("type", "draw-ssysd");
 | 
	
		
			
				|  |  |              }else if (draw.getOperateKey().equals("draw-clyf")) {
 |