| | |
| | | UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); |
| | | ucLookHuoZhu1.Enabled = true; |
| | | |
| | | //增加时,默认组织 |
| | | string deftOrg = UtilityHelper.GetFirstOrg(txt_qt023); |
| | | string deftOrg2 = UtilityHelper.GetFirstOrg(txt_qt024); |
| | |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择货主!"); |
| | | return; |
| | | } |
| | | if (txt_qt019.SelectedIndex <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择单据类型!"); |
| | | txt_qt019.Focus(); |
| | | return; |
| | | } |
| | | //if (txt_qt019.SelectedIndex <= 0) |
| | | //{ |
| | | // Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择单据类型!"); |
| | | // txt_qt019.Focus(); |
| | | // return; |
| | | //} |
| | | if (string.IsNullOrEmpty(inLyOrg)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择领用组织!"); |
| | |
| | | if (xtraTabControl1.SelectedTabPageIndex == 1) |
| | | { |
| | | getModel(lbGuid.Text.Trim()); |
| | | int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); |
| | | gridView1.FocusedRowHandle = rowHandle; |
| | | UtilityHelper.SetCheckIco(gridView1, "isChk", "qt016", "qt002", picCheckBox, this, _inFieldValue.ToString()); |
| | | } |
| | | int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); |
| | | gridView1.FocusedRowHandle = rowHandle; |
| | | UtilityHelper.SetCheckIco(gridView1, "isChk", "qt016", "qt002", picCheckBox, this, _inFieldValue.ToString()); |
| | | else |
| | | { |
| | | //注意,这里和其它页面有点不一样 |
| | | getPageList(this.pageBar1.CurrentPage); |
| | | int rowHandle = gridView1.LocateByValue("guid", rowGuid); |
| | | gridView1.FocusedRowHandle = rowHandle; |
| | | } |
| | | |
| | | } |
| | | else |
| | | MsgHelper.ShowError(_rtn.rtnData.outMsg.ToString()); |
| | |
| | | }; |
| | | frm.ShowDialog(); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |