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 Core.Mes.Client.Comm.Tool; using CoreFS.CA06; namespace Core.StlMes.Client.Mcp.Mch.MchResult { public partial class FrmApprovalData : FrmBase { private string heatplanId; private string No; private string name; public FrmApprovalData(OpeBase _ob, string heatplanId, string no, string name) { this.heatplanId = heatplanId; No = no; this.name = name; InitializeComponent(); ob = _ob; } private void ultraButton1_Click(object sender, EventArgs e) { if (txtNote.Text.Trim() == "") { MessageBox.Show("请输入反馈确认信息"); return; } var ccp = new CoreClientParam(); ccp.ServerName = "com.steering.mes.mcp.Mch.FrmFinalCheck"; ccp.MethodName = "DoApproval"; ccp.ServerParams = new object[] { No, name, txtNote.Text }; ccp = ExecuteNonQuery(ccp, CoreInvokeType.Internal); if (ccp.ReturnCode != -1) { MessageUtil.ShowTips(ccp.ReturnInfo); if (ccp.ReturnInfo.Equals("验证通过成功!")) { this.DialogResult = DialogResult.OK; } } } } }