| | |
| | | yy = txt_tbl005.Text.Trim(),//原因 |
| | | inDaaGuid = workId,//工单 |
| | | inOrgId = orgId,//组织 |
| | | chkOut = (txt_chkOut.Checked ? "1" : "0"), |
| | | list = new List<dynamic>(), |
| | | }; |
| | | gvMx1.CloseEditor(); |
| | |
| | | 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"]) |
| | |
| | | } |
| | | 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 |
| | | { |
| | |
| | | stringBuilder.Append(dym.dicTxt); |
| | | } |
| | | gvMx1.SetFocusedRowCellValue("tld015", stringBuilder.ToString()); |
| | | // this.TextTxt = ; |
| | | }; |
| | | frm.ShowDialog(); |
| | | } |