资金资金申请单问题处理
This commit is contained in:
parent
cbf4570246
commit
542322f4bf
|
|
@ -234,9 +234,13 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
|
|||
}
|
||||
//流入流出项目 end
|
||||
|
||||
Object baseorgObj = this.getModel().getValue("zcgj_baseorg");
|
||||
|
||||
//上月实际流入 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;
|
||||
if(periodParam!=null){
|
||||
period = periodParam;
|
||||
|
|
@ -246,7 +250,7 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
|
|||
//上月实际流入
|
||||
DynamicObjectCollection infundlastentry = this.getModel().getDataEntity().getDynamicObjectCollection("zcgj_infundlastentry");
|
||||
infundlastentry.clear();
|
||||
this.getView().updateView("zcgj_infundlastentry");
|
||||
//this.getView().updateView("zcgj_infundlastentry");
|
||||
|
||||
int year = Integer.parseInt(period.getString("number").substring(0, 4));
|
||||
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_lastplanval",lastplanvalall);
|
||||
infundlastentryObject.set("zcgj_lastplanrec",lastplanrec);
|
||||
this.getView().updateView("zcgj_infundlastentry");
|
||||
}
|
||||
this.getView().updateView();
|
||||
}
|
||||
}
|
||||
//上月实际流入 end
|
||||
|
|
|
|||
Loading…
Reference in New Issue