| | |
| | | lbGuid.Text = ""; |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); |
| | | UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true); |
| | | //增加时,默认组织 |
| | | string deftOrg = UtilityHelper.GetFirstOrg(txt_fSubsidiary); |
| | | } |
| | | /// <summary> |
| | | /// 保存事件 |
| | |
| | | txt_itemId.Focus(); |
| | | return; |
| | | } |
| | | if (string.IsNullOrEmpty(_suppNo)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择供应商!"); |
| | | txt_suppId.Focus(); |
| | | return; |
| | | } |
| | | //if (string.IsNullOrEmpty(_suppNo)) |
| | | //{ |
| | | // Gs.DevApp.ToolBox.MsgHelper.Warning("请选择供应商!"); |
| | | // txt_suppId.Focus(); |
| | | // return; |
| | | //} |
| | | var _obj = new MesQaMj |
| | | { |
| | | Guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建 |
| | |
| | | toolBarMenu1.isSetBtn = true; |
| | | UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false); |
| | | toolBarMenu1.currentAction = ""; |
| | | |
| | | // 【新增刷新逻辑】保存成功后立即刷新当前模型数据和列表 |
| | | // 刷新当前单据详情 |
| | | getModel(lbGuid.Text.Trim()); |
| | | // 刷新列表页数据 |
| | | getPageList(this.pageBar1.CurrentPage); |
| | | |
| | | |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); |
| | | } |
| | | } |