This commit is contained in:
xuhaihui 2025-11-20 17:50:27 +08:00
parent e128b0c883
commit 279b32b21f
1 changed files with 2 additions and 0 deletions

View File

@ -294,6 +294,7 @@ public class MaterialCostBillPluginExt extends AbstractEccoBillPlugin implements
this.getModel().setValue("resource", this.getModel().getValue("material", rowIndex), subInd); this.getModel().setValue("resource", this.getModel().getValue("material", rowIndex), subInd);
this.getModel().setValue("subbillname", this.getModel().getValue("entrybillname", rowIndex), subInd); this.getModel().setValue("subbillname", this.getModel().getValue("entrybillname", rowIndex), subInd);
this.getModel().setValue("subbillno", this.getModel().getValue("entrybillno", rowIndex), subInd); this.getModel().setValue("subbillno", this.getModel().getValue("entrybillno", rowIndex), subInd);
this.getModel().setValue("zcgj_period", this.getModel().getValue("entryperiod", rowIndex), subInd);//二开添加-子分录期间
if (subInd > 0) { if (subInd > 0) {
this.getModel().setValue("unitproject", this.getModel().getValue("unitproject", 0, rowIndex), subInd); this.getModel().setValue("unitproject", this.getModel().getValue("unitproject", 0, rowIndex), subInd);
} else { } else {
@ -810,6 +811,7 @@ public class MaterialCostBillPluginExt extends AbstractEccoBillPlugin implements
entryRowEntity.set("ca", entryRow.getDynamicObject("ca")); entryRowEntity.set("ca", entryRow.getDynamicObject("ca"));
entryRowEntity.set("procbs", entryRow.getDynamicObject("procbs")); entryRowEntity.set("procbs", entryRow.getDynamicObject("procbs"));
entryRowEntity.set("amount", totalAmt); entryRowEntity.set("amount", totalAmt);
entryRowEntity.set("zcgj_period", billObj.getDynamicObject("period"));//二开添加-子分录期间
} }
protected DynamicObject[] getInMaterialInfo(QFilter qFilter) { protected DynamicObject[] getInMaterialInfo(QFilter qFilter) {