资金资金申请单问题处理

This commit is contained in:
zhangzhiguo 2026-01-08 16:13:43 +08:00
parent cbf4570246
commit 542322f4bf
1 changed files with 75 additions and 70 deletions

View File

@ -234,9 +234,13 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
} }
//流入流出项目 end //流入流出项目 end
Object baseorgObj = this.getModel().getValue("zcgj_baseorg");
//上月实际流入 start //上月实际流入 start
if(periodObj!=null || periodParam !=null){ if((periodObj!=null || periodParam !=null) && baseorgObj!=null ){
DynamicObject baseorg = (DynamicObject)baseorgObj;
String number = baseorg.getString("number");
if("10006476".equals(number)){
DynamicObject period = null; DynamicObject period = null;
if(periodParam!=null){ if(periodParam!=null){
period = periodParam; period = periodParam;
@ -246,7 +250,7 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
//上月实际流入 //上月实际流入
DynamicObjectCollection infundlastentry = this.getModel().getDataEntity().getDynamicObjectCollection("zcgj_infundlastentry"); DynamicObjectCollection infundlastentry = this.getModel().getDataEntity().getDynamicObjectCollection("zcgj_infundlastentry");
infundlastentry.clear(); infundlastentry.clear();
this.getView().updateView("zcgj_infundlastentry"); //this.getView().updateView("zcgj_infundlastentry");
int year = Integer.parseInt(period.getString("number").substring(0, 4)); int year = Integer.parseInt(period.getString("number").substring(0, 4));
int month = Integer.parseInt(period.getString("number").substring(4, 6)); int month = Integer.parseInt(period.getString("number").substring(4, 6));
@ -313,7 +317,8 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
infundlastentryObject.set("zcgj_lastplanarbalance",lastplanarbalanceall); infundlastentryObject.set("zcgj_lastplanarbalance",lastplanarbalanceall);
infundlastentryObject.set("zcgj_lastplanval",lastplanvalall); infundlastentryObject.set("zcgj_lastplanval",lastplanvalall);
infundlastentryObject.set("zcgj_lastplanrec",lastplanrec); infundlastentryObject.set("zcgj_lastplanrec",lastplanrec);
this.getView().updateView("zcgj_infundlastentry"); }
this.getView().updateView();
} }
} }
//上月实际流入 end //上月实际流入 end