bug
lu
3 天以前 d0f32cf641c751e6b926d2169fc1b17c155c6c82
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -448,6 +448,7 @@
                yy = txt_tbl005.Text.Trim(),//原因
                inDaaGuid = workId,//工单
                inOrgId = orgId,//组织
                chkOut = (txt_chkOut.Checked ? "1" : "0"),
                list = new List<dynamic>(),
            };
            gvMx1.CloseEditor();
@@ -584,14 +585,6 @@
                    gvList.Add(gvMx2);
                    UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList);
                    _ucGg = "";
                    if (txt_tbl005.Text == "良品退料")
                    {
                        this.split99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
                    }
                    else
                    {
                        this.split99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Both;
                    }
                    JObject _job = JObject.Parse(strJson);
                    JArray array = new JArray();
                    foreach (var a in _job["rtnData"]["list"])
@@ -720,32 +713,11 @@
            }
            if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定" + strMsg + "吗?"))
                return;
            //如果是审核,询问要不要生成补料beg
            string txt_chkOut = "0";
            if (_inFieldValue == 1 && txt_tbl005.Text.Trim() != "良品退料")
            {
                var frm = new Frm_MesItemTblShow();
                frm.UpdateParent += (ss, ee) =>
                {
                    try
                    {
                        txt_chkOut = ee.StringSingle;
                    }
                    catch (Exception ex)
                    {
                        MessageBox.Show(ex.Message);
                    }
                };
                frm.ShowDialog();
            }
            //如果是审核,询问要不要生成补料end
            var _obj = new
            {
                guid = rowGuid,
                inFieldValue = _inFieldValue,
                chkOut = txt_chkOut
            };
            try
            {
@@ -797,7 +769,6 @@
                    stringBuilder.Append(dym.dicTxt);
                }
                gvMx1.SetFocusedRowCellValue("tld015", stringBuilder.ToString());
                // this.TextTxt = ;
            };
            frm.ShowDialog();
        }