From 4a8df7e654aa502694bcff271b216c46e26c788b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期日, 06 四月 2025 10:46:27 +0800 Subject: [PATCH] 汽泡提示 --- DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs index 0e98dff..87d1ea3 100644 --- a/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs @@ -1,4 +1,8 @@ -锘縰sing Gs.DevApp.Entity; +锘縰sing DevExpress.Utils; +using DevExpress.XtraGrid.Views.Base; +using DevExpress.XtraGrid.Views.Grid; +using DevExpress.XtraGrid.Views.Grid.ViewInfo; +using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Gs.DevApp.UserControl; using Newtonsoft.Json; @@ -7,9 +11,11 @@ using System.Collections.Generic; using System.Configuration; using System.Data; +using System.Drawing; using System.Net; using System.Threading.Tasks; using System.Windows.Forms; + namespace Gs.DevApp.DevFrm.FQC { @@ -62,7 +68,7 @@ { Gs.DevApp.ToolBox.MsgHelper.ShowInformation("璇峰厛閫夋嫨浜х嚎锛�"); return; - } + } var frm = new SelectFqcItem(_lineId); frm.UpdateParent += (ss, ee) => { @@ -84,7 +90,7 @@ frm.ShowDialog(); }; } - + /// <summary> /// 鎵归噺褰曞叆 /// </summary> @@ -136,7 +142,7 @@ }; try { - string strJson = UtilityHelper.HttpPost("", _webServiceName + "ReloadModel5", JsonConvert.SerializeObject(_obj)); + string strJson = UtilityHelper.HttpPost("", "MesQaItemsDetect01Manager/ReloadModel5", JsonConvert.SerializeObject(_obj)); ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { @@ -196,7 +202,7 @@ try { var strJson = UtilityHelper.HttpPost("", - _webServiceName + "EdtModel12", + "MesQaItemsDetect01Manager/EdtModel12", JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) @@ -448,30 +454,30 @@ { toolBarMenu1.isSetBtn = false; string _txt_djType = txt_djType.Text.Trim(); - string _txt_checkQty = txt_checkQty.Text.Trim(); + string _txt_fbatchQty = txt_fbatchQty.Text.Trim(); string _txt_lifnr = txt_lifnr.Text.Trim(); string _txt_suppId = txt_suppId.GetId(); string _txt_lineId = txt_lineId.GetId(); string _txt_itemId = txt_itemId.Text.Trim(); string _txt_remarks = txt_remarks.Text.Trim(); - string _txt_workNo = txt_workNo.Text.Trim(); + string _txt_workNo = txt_workNo.GetCode(); string _txt_epTag = txt_epTag.Text.Trim(); string _txt_fzrId = txt_fzrId.GetId(); - string _txt_msg = txt_msg.Text.Trim(); + string _txt_msg = txt_msg.TextTxt; string _txt_fmanageNo = txt_fmanageNo.Text.Trim(); string _txt_lotNo2 = txt_lotNo2.Text.Trim(); string _txt_lotNo1 = txt_lotNo1.Text.Trim(); string _txt_lotNo = txt_lotNo.Text.Trim(); - if (txt_djType.SelectedIndex<=0) + if (txt_djType.SelectedIndex <= 0) { Gs.DevApp.ToolBox.MsgHelper.Warning("鍗曟嵁绫诲瀷涓嶈兘涓虹┖锛�"); txt_djType.Focus(); return; } - if (string.IsNullOrEmpty(_txt_checkQty.Trim())) + if (string.IsNullOrEmpty(_txt_fbatchQty.Trim())) { Gs.DevApp.ToolBox.MsgHelper.Warning("鎶芥鏁伴噺涓嶈兘涓虹┖锛�"); - txt_checkQty.Focus(); + txt_fbatchQty.Focus(); return; } if (string.IsNullOrEmpty(_txt_lineId.Trim())) @@ -502,7 +508,7 @@ { guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 djType = _txt_djType, - checkQty = _txt_checkQty, + fbatchQty = _txt_fbatchQty, lifnr = _txt_lifnr, suppId = _txt_suppId, lineId = _txt_lineId, -- Gitblit v1.9.3