private bool 月度预算申请表_Form_CommonProcessSubmit(CustomFlowForm form, string advise) { IBudgetMonth servcieMonth = Service_Economic_Financial.ServerModuleFactory.GetServerModule <IBudgetMonth>(); try { this.OperationType = form.FlowOperationType; this.BillNo = form.FlowInfo_BillNo; Business_Finance_Budget_Month monthInfo = form.ResultInfo as Business_Finance_Budget_Month; DataTable detailTable = form.ResultList[0] as DataTable; switch (this.OperationType) { case CE_FlowOperationType.提交: servcieMonth.SaveInfo(detailTable, monthInfo); servcieMonth.OperationBusiness(detailTable, this.BillNo); break; case CE_FlowOperationType.暂存: servcieMonth.SaveInfo(detailTable, monthInfo); break; case CE_FlowOperationType.回退: break; case CE_FlowOperationType.未知: break; default: break; } if (!servcieMonth.IsExist(this.BillNo)) { MessageDialog.ShowPromptMessage("数据为空,保存失败,如需退出,请直接X掉界面"); return(false); } return(true); } catch (Exception ex) { MessageDialog.ShowPromptMessage(ex.Message); return(false); } }