| | |
| | | this.ucUpFileList1.pGuid = ""; |
| | | this.ucChouJianList1.pGuid = ""; |
| | | this.setEable(false); |
| | | |
| | | //增加的时候禁止2025-08-14 beg |
| | | this.txt_msg.Enabled = false; |
| | | this.txt_fngHandle.Enabled = false; |
| | | this.txt_zrType.Enabled = false; |
| | | this.txt_fzrId.Enabled = false; |
| | | this.txt_fmrmode.Enabled = false; |
| | | //增加的时候禁止2025-08-14 end |
| | | } |
| | | /// <summary> |
| | | /// 修改事件 |
| | |
| | | UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true, gvList); |
| | | this.setEable(true); |
| | | } |
| | | |
| | | //2025/07/12加上修改状态下不能修改 |
| | | txt_lotNo.Enabled = false; |
| | | txt_kbList.Enabled = false; |
| | | // txt_fPurchaserId.IsReadly = true; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | string _txt_lotNo1 = txt_lotNo1.Text.Trim();//送检批号 |
| | | string _txt_lotNo = txt_lotNo.Text.Trim();//生产工单 |
| | | string _kbList = txt_kbList.Text.Trim(); |
| | | if (txt_djType.SelectedIndex <= 0) |
| | | if (txt_djType.SelectedIndex < 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("单据类型不能为空!"); |
| | | txt_djType.Focus(); |
| | |
| | | if (toolBarMenu1.currentAction == "edit") isEdit = true; |
| | | if (string.IsNullOrEmpty(strGuid)) |
| | | { |
| | | ToolBox.MsgHelper.Warning("请先选择你要操作的行!"); |
| | | ToolBox.MsgHelper.ShowError("请先选择你要操作的行!"); |
| | | return; |
| | | } |
| | | var _obj = new |
| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); |
| | | } |
| | | getGxList(dy.aboutGuid.ToString()); |
| | | |
| | | //2025/07/12加上修改状态下不能修改 |
| | | txt_lotNo.Enabled = false; |
| | | txt_kbList.Enabled = false; |
| | | // txt_fPurchaserId.IsReadly = true; |
| | | } |
| | | else |
| | | ToolBox.MsgHelper.ShowError("提示:" + _rtn.rtnMsg); |
| | |
| | | if (e.Page.Name == "tabMxPage2") |
| | | { |
| | | ucChouJianList1.getList14(); |
| | | |
| | | } |
| | | if (e.Page.Name == "tabMxPage3") |
| | | { |
| | |
| | | btnLoad.Enabled = bl; |
| | | ucChouJianList1.IsReadOnly(!bl); |
| | | btnIpt.Text = (bl == true ? "录入样本" : "查看样本"); |
| | | |
| | | } |
| | | |
| | | /// <summary> |