fqc
lu
2025-04-09 13119fa78167af87f5743cb71bc06c65acc58fdb
DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs
@@ -515,14 +515,17 @@
                if (row != null)
                {
                    Guid _guid = UtilityHelper.ToGuid(row["guid"].ToString());
                    string defectLevel = row["defectLevel"].ToString();
                    string defectDetails = row["defectDetails"].ToString();
                    if (string.IsNullOrEmpty(defectLevel))
                    string _defectLevel = row["defectLevel"].ToString();
                    string _defectDetails = row["defectDetails"].ToString();
                    string _fcheckResu = row["fcheckResu"].ToString();
                    if (_fcheckResu == "不合格")
                    {
                        if (string.IsNullOrEmpty(_defectLevel))
                    {
                        MsgHelper.ShowError("请选择缺陷等级!");
                        return;
                    }
                    if (string.IsNullOrEmpty(defectDetails))
                        if (string.IsNullOrEmpty(_defectDetails))
                    {
                        MsgHelper.ShowError("请填写缺陷描述!");
                        return;
@@ -530,11 +533,12 @@
                    _obj.list.Add(new
                    {
                        guid5 = _guid,
                        defectLevel = defectLevel,
                        defectDetails = defectDetails,
                            defectLevel = _defectLevel,
                            defectDetails = _defectDetails,
                    });
                }
            }
            }
            try
            {
                string strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModel", JsonConvert.SerializeObject(_obj));