parent
a4c3ad0dfa
commit
5e0a0af3a6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue