parent
a4c3ad0dfa
commit
5e0a0af3a6
|
@ -79,8 +79,10 @@ public class ContractFormPlugin extends AbstractFormPlugin implements UploadLis
|
|||
super.initialize();
|
||||
this.getModel().addDataModelChangeListener(this);
|
||||
BasedataEdit mulEdit = this.getControl(BASEDATA_FIELD);
|
||||
if (mulEdit!=null){
|
||||
mulEdit.addBasedataEditListener(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterBindingData(AfterBindingDataEvent afterBindingDataEvent) {
|
||||
|
@ -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();
|
||||
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)});
|
||||
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity()});
|
||||
// 删除完成之后刷新界面
|
||||
this.getView().invokeOperation("refresh");
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue