代码提交

提交人:陈绍鑫
时间:2024/11/16  14:00
内容:成本测算导出开发
This commit is contained in:
陈绍鑫 2024-11-16 14:36:18 +08:00
parent a4c3ad0dfa
commit 5e0a0af3a6
1 changed files with 4 additions and 3 deletions

View File

@ -79,7 +79,9 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadLis
super.initialize(); super.initialize();
this.getModel().addDataModelChangeListener(this); this.getModel().addDataModelChangeListener(this);
BasedataEdit mulEdit = this.getControl(BASEDATA_FIELD); BasedataEdit mulEdit = this.getControl(BASEDATA_FIELD);
mulEdit.addBasedataEditListener(this); if (mulEdit!=null){
mulEdit.addBasedataEditListener(this);
}
} }
@Override @Override
@ -168,7 +170,6 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadLis
} }
} }
} }
/** /**
* 删除汇总明细并且删除清单明细 * 删除汇总明细并且删除清单明细
*/ */
@ -201,7 +202,7 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadLis
//删除单据体数据 //删除单据体数据
qeug_invoiceentryinfos.clear(); qeug_invoiceentryinfos.clear();
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)}); SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity()});
// 删除完成之后刷新界面 // 删除完成之后刷新界面
this.getView().invokeOperation("refresh"); this.getView().invokeOperation("refresh");
return result; return result;