|
@@ -23,7 +23,7 @@ import java.util.*;
|
|
|
/**
|
|
|
* @author cjz
|
|
|
* @date 2024/7/25 15:13
|
|
|
- * @description:报销单初始化表单
|
|
|
+ * @description:报预付借款单单初始化表单
|
|
|
*/
|
|
|
|
|
|
public class ReimbursementFormPlugin extends AbstractFormPlugin implements Plugin {
|
|
@@ -134,8 +134,8 @@ public class ReimbursementFormPlugin extends AbstractFormPlugin implements Plugi
|
|
|
|
|
|
Long id=entryentity.getLong("id");
|
|
|
//借款余额大于0
|
|
|
-// if (exporiusedamount.compareTo(BigDecimal.ZERO)>0)
|
|
|
-// {
|
|
|
+ if (exporiusedamount.compareTo(BigDecimal.ZERO)>0)
|
|
|
+ {
|
|
|
//新增动态单据分录
|
|
|
int rowIndex = this.getModel().createNewEntryRow(FORMID_ENTRY);
|
|
|
//赋值给新增分录
|
|
@@ -159,7 +159,7 @@ public class ReimbursementFormPlugin extends AbstractFormPlugin implements Plugi
|
|
|
obj.put("nckd_remark",remark);
|
|
|
obj.put("nckd_bigintfield",id);
|
|
|
resdate.add(obj);
|
|
|
-// }
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|