private void checkReSave() throws BOSException, EASBizException
{
checkSelected();
IPrintProductionOrders facade = PrintProductionOrdersFactory.getRemoteInstance();
IObjectPK opk = new ObjectUuidPK(this.editData.getId());
PrintProductionOrdersInfo info = facade.getPrintProductionOrdersInfo(opk);
if (!info.getBillStatus().equals(BillStatusEnum.audit))
{
MsgBox.showWarning(this, "当前单据未审核,不可操作!");
SysUtil.abort();
}

FilterInfo filter = new FilterInfo();
filter.getFilterItems().add(new FilterItemInfo("printOrderID", this.editData.getId().toString()));

IManufactureRecBill recBill = ManufactureRecBillFactory.getRemoteInstance();
boolean isRecBill = recBill.exists(filter);

IMaterialReqBill reqBill = MaterialReqBillFactory.getRemoteInstance();
boolean isReqBill = reqBill.exists(filter);
if (isReqBill)
{
MsgBox.showWarning(this, "当前单据已关联领料出库单,不可操作!");
SysUtil.abort();
}
}