From af64de4c183c4919067ed83114cc8c65d51a252b Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期一, 27 十月 2025 14:47:09 +0800
Subject: [PATCH] fqc代码调整

---
 DevApp/Gs.DevApp/DevFrm/FQC/Frm_FQCItem.cs |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FQCItem.cs b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FQCItem.cs
index 012c33f..cc74d89 100644
--- a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FQCItem.cs
+++ b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FQCItem.cs
@@ -76,10 +76,8 @@
                 {
                     // 閫夋嫨鍖�閫熸椂锛氬惎鐢ㄥ寑閫熸娊鏍锋暟锛岀鐢ㄩ殢鏈烘娊鏍锋暟
                     txt_SampleSize1.Properties.ReadOnly = false;
-                    txt_SampleSize1.Properties.Appearance.BackColor = Color.White;
 
                     txt_SampleSize2.Properties.ReadOnly = true;
-                    txt_SampleSize2.Properties.Appearance.BackColor = Color.WhiteSmoke;
                     txt_SampleSize2.Text = ""; // 娓呯┖闅忔満鎶芥牱鏁�
 
                     if (int.TryParse(txt_SampleSize1.Text.Trim(), out int size))
@@ -89,10 +87,8 @@
                 {
                     // 閫夋嫨闅忔満鏃讹細鍚敤闅忔満鎶芥牱鏁帮紝绂佺敤鍖�閫熸娊鏍锋暟
                     txt_SampleSize2.Properties.ReadOnly = false;
-                    txt_SampleSize2.Properties.Appearance.BackColor = Color.White;
 
                     txt_SampleSize1.Properties.ReadOnly = true;
-                    txt_SampleSize1.Properties.Appearance.BackColor = Color.WhiteSmoke;
                     txt_SampleSize1.Text = ""; // 娓呯┖鍖�閫熸娊鏍锋暟
 
                     if (int.TryParse(txt_SampleSize2.Text.Trim(), out int size))
@@ -102,11 +98,9 @@
                 {
                     // 鏈�夋嫨鎴栧叾浠栨儏鍐碉細涓や釜杈撳叆妗嗛兘绂佺敤
                     txt_SampleSize1.Properties.ReadOnly = true;
-                    txt_SampleSize1.Properties.Appearance.BackColor = Color.WhiteSmoke;
                     txt_SampleSize1.Text = "";
 
                     txt_SampleSize2.Properties.ReadOnly = true;
-                    txt_SampleSize2.Properties.Appearance.BackColor = Color.WhiteSmoke;
                     txt_SampleSize2.Text = "";
                 }
 
@@ -164,27 +158,21 @@
             if (currentSampleMethod == "鍖�閫�")
             {
                 txt_SampleSize1.Properties.ReadOnly = false;
-                txt_SampleSize1.Properties.Appearance.BackColor = Color.White;
 
                 txt_SampleSize2.Properties.ReadOnly = true;
-                txt_SampleSize2.Properties.Appearance.BackColor = Color.LightGray;
             }
             else if (currentSampleMethod == "闅忔満")
             {
                 txt_SampleSize2.Properties.ReadOnly = false;
-                txt_SampleSize2.Properties.Appearance.BackColor = Color.White;
 
                 txt_SampleSize1.Properties.ReadOnly = true;
-                txt_SampleSize1.Properties.Appearance.BackColor = Color.LightGray;
             }
             else
             {
                 // 鏈�夋嫨鏃朵袱涓兘绂佺敤
                 txt_SampleSize1.Properties.ReadOnly = true;
-                txt_SampleSize1.Properties.Appearance.BackColor = Color.LightGray;
 
                 txt_SampleSize2.Properties.ReadOnly = true;
-                txt_SampleSize2.Properties.Appearance.BackColor = Color.LightGray;
             }
         }
 
@@ -404,6 +392,10 @@
                         RPB014 = row["RPB014"]?.ToString(),
                         RPB015 = row["RPB015"]?.ToString(),
                         RPB016 = row["RPB016"]?.ToString(),
+                        RPB017 = row["RPB017"]?.ToString(),
+                        RPB018 = row["RPB018"]?.ToString(),
+                        RPB019 = row["RPB019"]?.ToString(),
+                        RPB020 = row["RPB020"]?.ToString(),
                         Remark = row["Remark"]?.ToString(),
                         Seq = row["Seq"]?.ToString(),
                     });

--
Gitblit v1.9.3