/// <summary> /// 报告单审核(确认) /// </summary> public void m_mthConfirmReport() { if (billflag != 1) { return; } if (applyid == "") { return; } if (this.m_objViewer.lblRepsave.Text.Trim() == "已审核") { MessageBox.Show("报告已审核,不能重复审核。", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Stop); return; } frmOPSConfirm fc = new frmOPSConfirm(); if (fc.ShowDialog() == DialogResult.OK) { string empid = fc.Empid; long ret = objSvc.m_lngConfrimOPSReport(applyid, empid); if (ret > 0) { MessageBox.Show("报告审核成功!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); m_objViewer.outlookBar.CurrentBand = 1; this.m_objViewer.lblRepsave.Text = "已审核"; } else { MessageBox.Show("确认申请单失败。", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Stop); } } }