From c698fcb41fa92d6185f133e65bc16f3467ac9ed3 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 21 十一月 2024 15:37:22 +0800 Subject: [PATCH] 修改iqc基础信息维护的细节 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs index 8f23f1d..dd56432 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs @@ -4,6 +4,7 @@ using System.Drawing; using System.Text; using System.Windows.Forms; +using DevExpress.RichEdit.Export; using DevExpress.XtraEditors; using DevExpress.XtraGrid.Views.Grid; using Gs.DevApp.Entity; @@ -34,6 +35,10 @@ toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; + gridView1.FocusedRowChanged += (s, e) => + { + UtilityHelper.SetCheckIco(s, picCheckBox, this, "foneChecked", ""); + }; getPageList(1, UtilityHelper.GetPageSize()); pageBar1.PagerEvent += PageBar1_PagerEvent; gridView1.CustomDrawRowIndicator += (s, e) => @@ -263,7 +268,7 @@ { toolBarMenu1.isSetBtn = false; string _ItemId = txt_ItemId.GetId() -; if (string.IsNullOrEmpty(_ItemId)) +; if (string.IsNullOrEmpty(_ItemId)) { MsgHelper.Warning("璇烽�夋嫨鐗╂枡锛�"); txt_ItemId.Focus(); @@ -287,7 +292,7 @@ Fstand = row["Fstand"].ToString(), FacLevel = row["FacLevel"].ToString(), FspecRequ = row["FspecRequ"].ToString(), - Memo = row["memo"].ToString(), + Memo = row["memo"].ToString(), FupAllow = row["FupAllow"].ToString(), FdownAllow = row["FdownAllow"].ToString(), }); @@ -301,7 +306,7 @@ ItemNo = txt_itemNo.Text.Trim(), Isenabled = txt_isenabled.Checked, Ftype = "1", - Fversion =Gs.DevApp.ToolBox.UtilityHelper.ToLong( txt_fversion.Text.Trim()), + Fversion = Gs.DevApp.ToolBox.UtilityHelper.ToLong(txt_fversion.Text.Trim()), list = lst }; try @@ -346,7 +351,7 @@ try { var strReturn = UtilityHelper.HttpPost("", - // _webServiceName + "GetListPageIQC", json); + // _webServiceName + "GetListPageIQC", json); _webServiceName + "GetListPage", json); var dd = UtilityHelper.ReturnToTablePage(strReturn); @@ -390,7 +395,7 @@ try { var strJson = UtilityHelper.HttpPost("", - // _webServiceName + "GetModelIQC", + // _webServiceName + "GetModelIQC", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); var _rtn = @@ -641,7 +646,7 @@ gvMx1.UpdateCurrentRow(); gvMx1.SetRowCellValue(dataIndex, "sampleSizeNo", _val); gvMx1.SetRowCellValue(dataIndex, "sampleSizeName", _txt); - + } } private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) -- Gitblit v1.9.3