lu
2025-08-20 430e096780219b81e19043829b637fcda4e61ca1
DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs
@@ -32,6 +32,7 @@
            toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
            toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
            toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
            toolBarMenu1.btnBaoGaoClick += ToolBarMenu1_btnBaoGaoClick;
            this.toolBarMenu1.getXmlConfig();
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
@@ -444,8 +445,12 @@
            //2025/07/12加上修改状态下不能修改
            txt_lotNo.Enabled = false;
            txt_kbList.Enabled = false;
            //  txt_fPurchaserId.IsReadly = true;
            //txt_fPurchaserId.IsReadly = true;
            this.txt_msg.Enabled = true;
            this.txt_fngHandle.Enabled = true;
            this.txt_zrType.Enabled = true;
            this.txt_fzrId.Enabled = true;
            this.txt_fmrmode.Enabled = true;
        }
        /// <summary>
@@ -762,11 +767,6 @@
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
                    }
                    getGxList(dy.aboutGuid.ToString());
                    //2025/07/12加上修改状态下不能修改
                    txt_lotNo.Enabled = false;
                    txt_kbList.Enabled = false;
                    //  txt_fPurchaserId.IsReadly = true;
                }
                else
                    ToolBox.MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
@@ -922,6 +922,37 @@
            frm.ShowDialog();
        }
        //生产报告
        private void ToolBarMenu1_btnBaoGaoClick(object sender, EventArgs e)
        {
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_releaseNo, gridView1, "releaseNo");
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.ShowError("请先选择你要操作的行!");
                return;
            }
            var _obj = new
            {
                guid = rowGuid,
            };
            try
            {
                var strJson = UtilityHelper.HttpPost("", _webServiceName + "GetBaoGao", JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                if (_rtn.rtnCode > 0)
                {
                    MsgHelper.ShowInformation("生成成功");
                }
                else
                    MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
            }
            catch (Exception ex)
            {
                MsgHelper.ShowError("提示:" + ex.Message);
            }
        }
        /// <summary>
        /// 检验和反检验