From 4e8057788238516770131bb399bd39c2b0d70006 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 09 四月 2025 12:41:43 +0800
Subject: [PATCH] fqc

---
 DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
index 54ac72d..a01faa2 100644
--- a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
+++ b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
@@ -250,6 +250,12 @@
                     txt_fngHandle.Focus();
                     return;
                 }
+                if (_txt_fzrId.Length<= 0)
+                {
+                    Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨璐d换浜猴紒");
+                    txt_fzrId.Focus();
+                    return;
+                }
 
                 if (txt_zrType.SelectedIndex <= 0)
                 {
@@ -274,10 +280,24 @@
                         return;
                     }
                 }
+                else {
+                    if (!string.IsNullOrEmpty(_txt_workNo))
+                    {
+                        Gs.DevApp.ToolBox.MsgHelper.Warning("涓嶉渶瑕佸~鍐欏弽宸ュ崟鍙凤紒");
+                        txt_workNo.Focus();
+                        return;
+                    }
+                    if (!string.IsNullOrEmpty(_txt_fmrmode))
+                    {
+                        Gs.DevApp.ToolBox.MsgHelper.Warning("涓嶉渶瑕侀�夋嫨鍙嶅伐宸ュ簭锛�");
+                        txt_fmrmode.Focus();
+                        return;
+                    }
+                }
             }
             //褰撲负鍚堟牸鏃讹紝灏变笉搴旇閫夋嫨鍏跺畠椤圭洰浜�
             else {
-                if ((_txt_fngHandle.Length + _txt_fmrmode.Length + _txt_fzrId.Length + _txt_workNo.Length) > 0  || txt_zrType.SelectedIndex>0)
+                if (( _txt_fmrmode.Length + _txt_fzrId.Length + _txt_workNo.Length) > 0  || txt_zrType.SelectedIndex>0 || txt_fngHandle.SelectedIndex > 0)
                 {
                     Gs.DevApp.ToolBox.MsgHelper.Warning("褰撳垽瀹氱粨鏋滀负鍚堟牸鏃讹紝灏变笉搴旇閫夋嫨鍏跺畠椤圭洰浜嗭紒");
                     txt_freceQty.Focus();

--
Gitblit v1.9.3