| | |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | txt_depotId.getSuppler(""); |
| | | txt_suppId.getSuppler(""); |
| | | txt_org.EditChanged += (s, e) => |
| | | txt_thOrgId.EditChanged += (s, e) => |
| | | { |
| | | var orgId = txt_org.GetId(); |
| | | var orgId = txt_thOrgId.GetId(); |
| | | if (string.IsNullOrEmpty(orgId)) |
| | | return; |
| | | txt_suppId.getSuppler(orgId); |
| | |
| | | frm.ShowDialog(); |
| | | }; |
| | | } |
| | | |
| | | |
| | | private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | | { |
| | | _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns); |
| | |
| | | toolBarMenu1.isSetBtn = false; |
| | | var _ckId = txt_depotId.GetId(); //仓库编号 depots_code |
| | | var _gysId = txt_suppId.GetId(); //供应商编号 |
| | | string _orgId = txt_org.GetId(); |
| | | string _orgId = txt_thOrgId.GetId(); |
| | | if (string.IsNullOrEmpty(_orgId)) |
| | | { |
| | | MsgHelper.Warning("请选择组织!"); |
| | | txt_org.Focus(); |
| | | txt_thOrgId.Focus(); |
| | | return; |
| | | } |
| | | if (string.IsNullOrEmpty(_gysId)) |
| | |
| | | ToolBox.MsgHelper.Warning("提示:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 工具条事件 |
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) |
| | | { |
| | | gvMx1.CloseEditor(); |