parent
8f7312b934
commit
839b8716d1
|
|
@ -305,6 +305,14 @@ public class GuaranteeContractFeeDetailPlugin extends AbstractBillPlugIn {
|
|||
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)});
|
||||
}
|
||||
}
|
||||
if ("e_type".equals( name)){
|
||||
//担保人类型为主组织时,默认担保人为资金组织的名称
|
||||
int rowIndex = e.getChangeSet()[0].getRowIndex();
|
||||
String e_type = (String) this.getModel().getValue("e_type");
|
||||
if ("bos_org".equals(e_type)){
|
||||
this.getModel().setValue("e_ensuretext", ((DynamicObject)this.getModel().getValue("org")).getString("name"),rowIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private BigDecimal getbalance(Date shkd_startdate, Date shkd_enddate, List<DynamicObject> gstatus, BigDecimal fl) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue