| | |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraEditors.Repository; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | |
| | | var rtn = UtilityHelper.ReturnToTablePage(strReturn); |
| | | var dt = rtn.rtnData.list; |
| | | this.repositoryItemSearchLookUpEdit1.DataSource = dt; |
| | | // repositoryItemSearchLookUpEdit1.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; |
| | | //Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView2); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | txt_fapporgid.Focus(); |
| | | return; |
| | | } |
| | | if (txt_fOwnerTypeIdHead.SelectedIndex <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择调出货主类型!"); |
| | | txt_fOwnerTypeIdHead.Focus(); |
| | | return; |
| | | } |
| | | if (txt_fOwnerTypeInIdHead.SelectedIndex <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("请选择调入货主类型!"); |
| | | txt_fOwnerTypeInIdHead.Focus(); |
| | | return; |
| | | } |
| | | //if (txt_fOwnerTypeIdHead.SelectedIndex <= 0) |
| | | //{ |
| | | // Gs.DevApp.ToolBox.MsgHelper.Warning("请选择调出货主类型!"); |
| | | // txt_fOwnerTypeIdHead.Focus(); |
| | | // return; |
| | | //} |
| | | //if (txt_fOwnerTypeInIdHead.SelectedIndex <= 0) |
| | | //{ |
| | | // Gs.DevApp.ToolBox.MsgHelper.Warning("请选择调入货主类型!"); |
| | | // txt_fOwnerTypeInIdHead.Focus(); |
| | | // return; |
| | | //} |
| | | var _obj = new |
| | | { |
| | | guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建 |