From 49bec810586be811fd5e841d0633ce9fb8b1871b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 13 五月 2025 15:56:14 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs index 3ffbf41..7e15eca 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs @@ -40,13 +40,16 @@ toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + //绫诲瀷锛宨qc,ipqc宸℃锛宨pqc棣栨鏌�,fqc锛宨qc鐨勬牱鍝佸�奸粯璁や负5锛屽叾瀹冧负1 txt_ftype.Text = strType; if (strType == "iqc") dfValue = 5; + //濡傛灉鏄痠pqc宸℃锛屾樉绀哄伐浣� if (strType != "ipqc宸℃") { gvMx1.Columns["stationName"].Visible = false; } + //鏂拌鍒濆鍊� this.gvMx1.InitNewRow += (s, e) => { this.gvMx1.SetRowCellValue(e.RowHandle, "ypsl", dfValue); @@ -439,7 +442,10 @@ MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } } - + /// <summary> + /// 璇诲彇瀹炰綋 + /// </summary> + /// <param name="strGuid"></param> private void getModel(string strGuid) { bool isEdit = false; @@ -639,8 +645,6 @@ { MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } - - } /// <summary> /// 璇诲彇妫�楠屽伐鍏� @@ -748,6 +752,11 @@ gvMx1.SetRowCellValue(dataIndex, "sampleSizeName", _txt); } } + /// <summary> + /// 绉诲嚭鏄庣粏 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { gvMx1.CloseEditor(); -- Gitblit v1.9.3