ab56a9bcf7
SVN-Revision: r240
150 lines
4.8 KiB
C#
150 lines
4.8 KiB
C#
/***********************
|
|
* 说明:单据回退选择
|
|
* 创建人:龚宇超
|
|
* 创建日期:2018-01-09
|
|
* 修改人:
|
|
* 修改日期:
|
|
* 修改备注:
|
|
* 版本:1.0.0.0
|
|
***********************/
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using Lskj.Control;
|
|
using Lskj.Model;
|
|
using Lskj.Business.Impl;
|
|
using Lskj.Control.Model;
|
|
using Lskj.Data;
|
|
using Lskj.PubAccraditation2;
|
|
using Lskj.Business;
|
|
using Lskj.Core;
|
|
using System.Diagnostics;
|
|
using System.Text.RegularExpressions;
|
|
|
|
namespace Lskj.Control
|
|
{
|
|
public partial class FrmExamine : BaseForm
|
|
{
|
|
/// <summary>
|
|
/// 选择进度编号
|
|
/// </summary>
|
|
public int SelectStepCode;
|
|
/// <summary>
|
|
/// 返退意见
|
|
/// </summary>
|
|
public string ComfirmMsg;
|
|
/// <summary>
|
|
/// 单据模型
|
|
/// </summary>
|
|
public BillModel BillModelObj;
|
|
/// <summary>
|
|
/// 弹出模块
|
|
/// </summary>
|
|
public DynamicPubAccraditionPopModel SysModel;
|
|
/// <summary>
|
|
/// 审批流转模型
|
|
/// </summary>
|
|
private FlowTypeStepModel _flowTypeStepModel;
|
|
/// <summary>
|
|
/// 单据审批表模型
|
|
/// </summary>
|
|
private BillAuditCommonModel _billAuditModel;
|
|
/// <summary>
|
|
/// <para>说明:审批表格点击审批回调</para>
|
|
/// <para>创建人:龚宇超</para>
|
|
/// <para>创建日期:2017-12-21 </para>
|
|
/// <para>修改人:</para>
|
|
/// <para>修改日期:</para>
|
|
/// <para>修改备注:</para>
|
|
/// <para>版本:1.0</para>
|
|
/// </summary>
|
|
public event EventHandler ExamineOkCallBack;
|
|
public FrmExamine()
|
|
{
|
|
InitializeComponent();
|
|
Lskj.Control.Model.AutoSizeChange.ControllInitializeSize(this);
|
|
this.CheckSuggestion.TextEdit.SelectedValueChanged += new EventHandler(CheckSuggestion_Click);
|
|
}
|
|
|
|
#region 常用意见
|
|
/// <summary>
|
|
/// <para>说明:常用意见下拉框事件</para>
|
|
/// <para>创建人:龚宇超</para>
|
|
/// <para>创建日期:2018-01-08</para>
|
|
/// <para>修改人:</para>
|
|
/// <para>修改日期:</para>
|
|
/// <para>修改备注:</para>
|
|
/// <para>版本:1.0</para>
|
|
/// </summary>
|
|
/// <param name="sender">The source of the event.</param>
|
|
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
|
protected void CheckSuggestion_Click(object sender, EventArgs e)
|
|
{
|
|
try {
|
|
this.txtRemark.EditText = this.CheckSuggestion.EditText;
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
|
|
string Message = ErrorMessage.PromptErrorMessage(ex);
|
|
MessageUtil.Show(Message,ex.Message);
|
|
}
|
|
|
|
}
|
|
#endregion
|
|
/// <summary>
|
|
/// <para>说明:确定事件/para>
|
|
/// <para>创建人:龚宇超</para>
|
|
/// <para>创建日期:2018-01-09</para>
|
|
/// <para>修改人:</para>
|
|
/// <para>修改日期:</para>
|
|
/// <para>修改备注:</para>
|
|
/// <para>版本:1.0</para>
|
|
/// </summary>
|
|
/// <param name="sender">The source of the event.</param>
|
|
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
|
private void btnOk_CallBack(object sender, EventArgs e)
|
|
{
|
|
try {
|
|
if (ExamineOkCallBack != null) ExamineOkCallBack(this, e);
|
|
this.Close();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
string Message = ErrorMessage.PromptErrorMessage(ex);
|
|
MessageUtil.Show(Message,ex.Message);
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
/// <para>说明:取消事件</para>
|
|
/// <para>创建人:龚宇超</para>
|
|
/// <para>创建日期:2018-01-23</para>
|
|
/// <para>修改人:</para>
|
|
/// <para>修改日期:</para>
|
|
/// <para>修改备注:</para>
|
|
/// <para>版本:1.0</para>
|
|
/// </summary>
|
|
/// <param name="sender">The source of the event.</param>
|
|
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
|
private void btnCancel_CallBack(object sender, EventArgs e)
|
|
{
|
|
try {
|
|
this.DialogResult = DialogResult.Cancel;
|
|
this.Close();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
string Message = ErrorMessage.PromptErrorMessage(ex);
|
|
MessageUtil.Show(Message,ex.Message);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|