From fbe33a615f1c4e798a0f8e58163e68c3ce789614 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 10:17:49 +0800
Subject: [PATCH] 初始化标准版

---
 DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
index 0f1c7d0..62e93d2 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
@@ -1,9 +1,12 @@
-锘縰sing Gs.DevApp.Entity;
+锘縰sing DevExpress.Utils.MVVM.Services;
+using DevExpress.XtraLayout.Customization;
+using Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using System;
 using System.Data;
 using System.Drawing;
+using System.Threading.Tasks;
 using System.Windows.Forms;
 
 namespace Gs.DevApp.DevFrm.QC
@@ -25,6 +28,9 @@
             this.dt01Guid = _dt01Guid;
             this.isEdit = _blEdit;
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
+            gvMx1.OptionsFilter.AllowFilterEditor = false;
+            gvMx1.OptionsCustomization.AllowFilter = false;
+            gvMx1.OptionsView.ShowAutoFilterRow = false;
             //缂栬緫浜嬩欢
             gvMx1.CellValueChanged += GvMx1_CellValueChanged;
             //鍙栨秷涓嶇鍚堟潯浠剁殑缂栬緫
@@ -32,7 +38,14 @@
             //绂佺敤鏍锋湰鏁颁箣澶栫殑鍗曞厓鏍间笖鏀瑰彉棰滆壊
             gvMx1.CustomDrawCell += GvMx1_CustomDrawCell;
             getModel();
+
+            this.FormClosing +=  (s, e) =>
+            {
+                textEdit1.Focus();
+            };
         }
+
+
 
         /// <summary>
         /// 鍒ゆ柇鍗曞厓鏍肩殑缂栬緫鎬�
@@ -87,7 +100,8 @@
                 {
                     e.Appearance.BackColor = Color.Red;
                     e.Appearance.ForeColor = Color.White;
-                };
+                }
+                ;
             }
         }
 
@@ -164,7 +178,8 @@
 
         private void getModel()
         {
-            gcMx1.DataSource = null;
+            //2025-09-20鎵句笉鍒伴敊璇紝鎵�浠ュ厛鎶婅繖涓�琛屾敞閲婅瘯璇�
+            //gcMx1.DataSource = null;
             gvMx1.Columns.Clear();
             var _obj = new
             {

--
Gitblit v1.9.3