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 CoreFS.CA06; using System.Collections; using Infragistics.Win.UltraWinGrid; namespace Core.LZMes.Client.QCM { public partial class QCM030709 : FrmBase { public QCM030709() { InitializeComponent(); } public string MATERIAL_NO = ""; public string STD_CODE = ""; public string STEELCODE = ""; public string HEIGHT = ""; public string DELIVERY_STATE_CODE = ""; public string PSC = ""; public string WIDTH = ""; public string LENGTH = ""; public string PROD_LINE = ""; public string orderno = ""; public string gp_tradeno = ""; private void QCM0307_Load(object sender, EventArgs e) { try { this.dataSet7.Clear(); string surface_id = ""; CoreClientParam ccp = new CoreClientParam(); ccp.ServerName = "QCM.QCM03.QCM0307.QcmRejudgeApplyServiceImpl"; ccp.MethodName = "getGpInfo"; ccp.ServerParams = new object[] { MATERIAL_NO,STD_CODE,STEELCODE,HEIGHT,DELIVERY_STATE_CODE,PSC,WIDTH,LENGTH,PROD_LINE }; ccp.SourceDataTable = this.dataSet7.Tables[0]; this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); MessageBox.Show("系统出错,请联系管理人员", "警告"); } } private void button2_Click(object sender, EventArgs e) { try { this.Close(); } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private void button1_Click(object sender, EventArgs e) { foreach(UltraGridRow ugr in this.ultraGrid6.Rows) { if(ugr.Cells["CHECK"].Text.ToString() == "True") { this.orderno = ugr.Cells["GP_ORDNO"].Value.ToString(); this.gp_tradeno = ugr.Cells["GP_TRADENO"].Value.ToString(); } } if (this.orderno == "") { MessageBox.Show("请选择改判订单!"); return; } this.Close(); } } }