From ecb7a60de1639f520712ce95f99414b0dd2c9713 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 14 四月 2025 08:30:40 +0800
Subject: [PATCH] 自动打印

---
 DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
index a01faa2..a445b32 100644
--- a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
+++ b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
@@ -6,7 +6,6 @@
 using System;
 using System.Collections.Generic;
 using System.Data;
-using System.Runtime.InteropServices;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
@@ -234,7 +233,7 @@
             string _txt_fzrId = txt_fzrId.GetId();
             string _txt_workNo = txt_workNo.Text.Trim();
             string _txt_msg = txt_msg.TextTxt;
-            string _txt_zrType=txt_zrType.Text.Trim();
+            string _txt_zrType = txt_zrType.Text.Trim();
             if (txt_freceQty.SelectedIndex <= 0)
             {
                 Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鍒ゅ畾缁撴灉锛�");
@@ -250,7 +249,7 @@
                     txt_fngHandle.Focus();
                     return;
                 }
-                if (_txt_fzrId.Length<= 0)
+                if (_txt_fzrId.Length <= 0)
                 {
                     Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨璐d换浜猴紒");
                     txt_fzrId.Focus();
@@ -280,7 +279,8 @@
                         return;
                     }
                 }
-                else {
+                else
+                {
                     if (!string.IsNullOrEmpty(_txt_workNo))
                     {
                         Gs.DevApp.ToolBox.MsgHelper.Warning("涓嶉渶瑕佸~鍐欏弽宸ュ崟鍙凤紒");
@@ -296,8 +296,9 @@
                 }
             }
             //褰撲负鍚堟牸鏃讹紝灏变笉搴旇閫夋嫨鍏跺畠椤圭洰浜�
-            else {
-                if (( _txt_fmrmode.Length + _txt_fzrId.Length + _txt_workNo.Length) > 0  || txt_zrType.SelectedIndex>0 || txt_fngHandle.SelectedIndex > 0)
+            else
+            {
+                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();
@@ -314,7 +315,7 @@
                 workNo = _txt_workNo,
                 fmrmode = _txt_fmrmode,
                 msg = _txt_msg,
-                zrType= _txt_zrType,
+                zrType = _txt_zrType,
                 edtType = 1
             };
             try

--
Gitblit v1.9.3