From f489e359066e1036f13491ef128a355bc730afcb Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 24 六月 2025 13:36:18 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs
index 3f8d670..a7c743c 100644
--- a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs
+++ b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs
@@ -496,6 +496,7 @@
             Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
             this.ucUpFileList1.pGuid = "";
             this.ucChouJianList1.pGuid = "";
+            this.setEable(false);
         }
         /// <summary>
         /// 淇敼浜嬩欢
@@ -923,7 +924,7 @@
         /// <param name="curPage"></param>
         private void getRptDefectLevel()
         {
-            string _where = " and 1=1 and  s_type='缂洪櫡绛夌骇'";
+            string _where = " and 1=1 and  a.s_type='缂洪櫡绛夌骇'  and a.pid<>'00000000-0000-0000-0000-000000000000'";
             var pgq = new PageQueryModel(1, 999999, "a.defect_code", "asc", "", _where);
             var json = JsonConvert.SerializeObject(pgq);
             try
@@ -951,7 +952,7 @@
             var rowhandle = gvMx1.FocusedRowHandle;
             if (rowhandle < 0)
                 return;
-            UcDictionarySelect frm = new UcDictionarySelect("缂洪櫡鎻忚堪", " s_type='FQC缂洪櫡鎻忚堪'");
+            UcDictionarySelect frm = new UcDictionarySelect("寮傚父鎻忚堪", "  a.s_type='QC寮傚父鎻忚堪' and a.pid<>'00000000-0000-0000-0000-000000000000'");
             frm.UpdateParent += (ss, ee) =>
             {
                 System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder();

--
Gitblit v1.9.3