| | |
| | | { |
| | | string strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModel", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | ToolBox.MsgHelper.ShowInformation("提示:" + _rtn.rtnMsg); |
| | |
| | | UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gvList); |
| | | toolBarMenu1.currentAction = ""; |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); |
| | | getModel(lbGuid.Text); |
| | | } |
| | | else |
| | | ToolBox.MsgHelper.ShowError("提示:" + _rtn.rtnMsg); |
| | |
| | | _ucGg = ""; |
| | | if (txt_tbl005.Text == "良品退料") |
| | | { |
| | | split99.Panel1.Enabled = false; |
| | | split99.Panel1.Visible = false; |
| | | this.split99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2; |
| | | } |
| | | else |
| | | { |
| | | split99.Panel1.Enabled = true; |
| | | split99.Panel1.Enabled = true; |
| | | this.split99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Both; |
| | | } |
| | | |
| | | JObject _job = JObject.Parse(strJson); |
| | | JArray array = new JArray(); |
| | | foreach (var a in _job["rtnData"]["list"]) |
| | |
| | | |
| | | //如果是审核,询问要不要生成补料beg |
| | | string txt_chkOut = "0"; |
| | | if (_inFieldValue == 1 && txt_tbl005.Text.Trim() == "作业不良退料") |
| | | if (_inFieldValue == 1 && txt_tbl005.Text.Trim() != "良品退料") |
| | | { |
| | | var frm = new Frm_MesItemTblShow(); |
| | | frm.UpdateParent += (ss, ee) => |
| | |
| | | _webServiceName + "EditModelSubmit", |
| | | JsonConvert.SerializeObject(_obj)); |
| | | var _rtn = UtilityHelper.ReturnToDynamic(strJson); |
| | | |
| | | if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0) |
| | | { |
| | | MsgHelper.ShowInformation(_rtn.rtnData.outMsg.ToString()); |
| | |
| | | txtQuantity.Text = row["tld005"].ToString();//申请总量 |
| | | txt_yQty.Text = row["ydy"].ToString();//已打印总量 |
| | | txt_kQty.Text = row["kdy"].ToString();//可打印总量 |
| | | txt_psnQty_1.Text = row["mrtmsl"].ToString(); //默认每张条码数量 |
| | | txt_psnQty_1.Text = row["tld005"].ToString(); //默认每张条码数量 |
| | | } |
| | | else |
| | | { |