From 7cae4ef4317a5281c454c293ec31667e538dc3f2 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 08 十一月 2024 12:11:39 +0800 Subject: [PATCH] 1 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs index 0002161..7d7ddd1 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs @@ -78,7 +78,7 @@ /// <param name="e"></param> private void BtnLoad_Click(object sender, EventArgs e) { - if (!MsgHelper.AskQuestion("纭畾閲嶆柊鍔犺浇妫�楠岄」鐩悧锛�")) + if (!MsgHelper.AskQuestion("纭畾閲嶆柊鍔犺浇妫�楠岄」鐩悧锛岃鎿嶄綔灏嗕細娓呯┖涔嬪墠鐨勬楠岃褰曪紵")) return; string strGuid = lbGuid.Text.Trim(); if (string.IsNullOrEmpty(strGuid)) @@ -376,15 +376,23 @@ private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) { toolBarMenu1.isSetBtn = false; - //if (string.IsNullOrEmpty(txt_account.Text.Trim())) + if (string.IsNullOrEmpty(txt_fngDesc.Text.Trim())) { - Gs.DevApp.ToolBox.MsgHelper.Warning("鐧诲綍璐﹀彿涓嶈兘涓虹┖锛�"); - // txt_account.Focus(); + Gs.DevApp.ToolBox.MsgHelper.Warning("涓嶈壇鎻忚堪涓嶈兘涓虹┖锛�"); + txt_fngDesc.Focus(); + return; + } + if (string.IsNullOrEmpty(txt_lotNo1.Text.Trim())) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("澶囨敞鑳戒负绌猴紒"); + txt_fngDesc.Focus(); return; } var _obj = new { guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 + fngDesc=txt_fngDesc.Text.Trim(), + lotNo1=txt_lotNo1.Text.Trim(), }; try { @@ -499,7 +507,7 @@ } } - + /// <summary> /// 閫夐」鍗″垏鎹� /// </summary> -- Gitblit v1.9.3