From cf7744e9f271b675181f622f3e16b2fa5e85e7a1 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期六, 09 八月 2025 17:42:27 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs index 667d8df..6917f0c 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs @@ -1,4 +1,5 @@ using DevExpress.Pdf.Native.BouncyCastle.Utilities.Collections; +using DevExpress.XtraLayout.Customization; using DevExpress.XtraRichEdit.API.Native; using Gs.DevApp.DevFrm.QC; using Gs.DevApp.Entity; @@ -143,8 +144,10 @@ //娓呯┖ this.btnClean.Click += (s, e) => { - _setWeigth(1, ""); - this.txtW1.Text = this.txtW2.Text = this.txtW3.Text = this.txtW4.Text = this.txtW5.Text = ""; + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + txt_releaseNo.Text.Trim() + "銆戯紝纭畾娓呴櫎鎵�鏈夌О閲嶆暟鎹悧锛�")) + return; + _setWeigth(99, ""); + }; } /// <summary> @@ -195,6 +198,11 @@ txtW5.Text = _weight; return; } + if (_weightType == 99) + { + this.txtW1.Text = this.txtW2.Text = this.txtW3.Text = this.txtW4.Text = this.txtW5.Text = ""; + return; + } } } catch (Exception ex) -- Gitblit v1.9.3