|  | @@ -305,6 +305,19 @@ public class BxdBankListtenerFromPlugin extends AbstractListPlugin implements Pl
 | 
											
												
													
														|  |                  DynamicObject nckd_paymentmethod = (DynamicObject) newValue;
 |  |                  DynamicObject nckd_paymentmethod = (DynamicObject) newValue;
 | 
											
												
													
														|  |                  this.getModel().setValue("paymode", nckd_paymentmethod,0);
 |  |                  this.getModel().setValue("paymode", nckd_paymentmethod,0);
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  | 
 |  | +        }else if ("nckd_reimburseamount".equals(name)) {
 | 
											
												
													
														|  | 
 |  | +            String nckd_reimburseamount = this.getModel().getValue("nckd_reimburseamount").toString();//报销金额
 | 
											
												
													
														|  | 
 |  | +            String nckd_onaccountamount = this.getModel().getValue("nckd_onaccountamount").toString();//挂账金额
 | 
											
												
													
														|  | 
 |  | +            String nckd_yufuamount = this.getModel().getValue("nckd_yufuamount").toString();//预付金额
 | 
											
												
													
														|  | 
 |  | +            BigDecimal reimburseamount = new BigDecimal(nckd_reimburseamount);
 | 
											
												
													
														|  | 
 |  | +            BigDecimal onaccountamount = new BigDecimal(nckd_onaccountamount);
 | 
											
												
													
														|  | 
 |  | +            BigDecimal yufuamount = new BigDecimal(nckd_yufuamount);
 | 
											
												
													
														|  | 
 |  | +            reimburseamount=reimburseamount.subtract(onaccountamount);
 | 
											
												
													
														|  | 
 |  | +            reimburseamount=reimburseamount.subtract(yufuamount);
 | 
											
												
													
														|  | 
 |  | +            this.getModel().setValue("nckd_fukuanamountfield", reimburseamount);
 | 
											
												
													
														|  | 
 |  | +            this.getModel().setValue("nckd_orireceiveamount", reimburseamount, 0);
 | 
											
												
													
														|  | 
 |  | +            //刷新分录
 | 
											
												
													
														|  | 
 |  | +            this.getView().updateView("expenseentryentity");
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  }
 |  |  }
 |