1
lu
2024-11-08 7cae4ef4317a5281c454c293ec31667e538dc3f2
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>