fqc
lu
2025-04-09 4e8057788238516770131bb399bd39c2b0d70006
DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
@@ -250,6 +250,12 @@
                    txt_fngHandle.Focus();
                    return;
                }
                if (_txt_fzrId.Length<= 0)
                {
                    Gs.DevApp.ToolBox.MsgHelper.Warning("请选择责任人!");
                    txt_fzrId.Focus();
                    return;
                }
                if (txt_zrType.SelectedIndex <= 0)
                {
@@ -274,10 +280,24 @@
                        return;
                    }
                }
                else {
                    if (!string.IsNullOrEmpty(_txt_workNo))
                    {
                        Gs.DevApp.ToolBox.MsgHelper.Warning("不需要填写反工单号!");
                        txt_workNo.Focus();
                        return;
                    }
                    if (!string.IsNullOrEmpty(_txt_fmrmode))
                    {
                        Gs.DevApp.ToolBox.MsgHelper.Warning("不需要选择反工工序!");
                        txt_fmrmode.Focus();
                        return;
                    }
                }
            }
            //当为合格时,就不应该选择其它项目了
            else {
                if ((_txt_fngHandle.Length + _txt_fmrmode.Length + _txt_fzrId.Length + _txt_workNo.Length) > 0  || txt_zrType.SelectedIndex>0)
                if (( _txt_fmrmode.Length + _txt_fzrId.Length + _txt_workNo.Length) > 0  || txt_zrType.SelectedIndex>0 || txt_fngHandle.SelectedIndex > 0)
                {
                    Gs.DevApp.ToolBox.MsgHelper.Warning("当判定结果为合格时,就不应该选择其它项目了!");
                    txt_freceQty.Focus();