| | |
| | | { |
| | | this.gcMain = new DevExpress.XtraGrid.GridControl(); |
| | | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_supplierItemCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | this.gridView1.Appearance.Row.Options.UseFont = true; |
| | | this.gridView1.ColumnPanelRowHeight = 50; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | | this.colChkInt, |
| | | this.gv_guid, |
| | | this.gridColumn1, |
| | | this.gv_supplierItemCode, |
| | |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | | this.gridView1.OptionsFind.ShowSearchNavButtons = false; |
| | | this.gridView1.OptionsSelection.MultiSelect = true; |
| | | this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect; |
| | | this.gridView1.OptionsView.ShowAutoFilterRow = true; |
| | | this.gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // colChkInt |
| | | // |
| | | this.colChkInt.Caption = "."; |
| | | this.colChkInt.FieldName = "chkInt"; |
| | | this.colChkInt.MinWidth = 25; |
| | | this.colChkInt.Name = "colChkInt"; |
| | | this.colChkInt.Visible = true; |
| | | this.colChkInt.VisibleIndex = 0; |
| | | this.colChkInt.Width = 94; |
| | | // |
| | | // gv_guid |
| | | // |
| | |
| | | // |
| | | this.gridColumn1.Caption = "物料ID"; |
| | | this.gridColumn1.FieldName = "itemId"; |
| | | this.gridColumn1.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | this.gridColumn1.MinWidth = 80; |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.OptionsColumn.ReadOnly = true; |
| | |
| | | this.gv_supplierItemCode.AppearanceCell.Options.UseFont = true; |
| | | this.gv_supplierItemCode.Caption = "物料编码"; |
| | | this.gv_supplierItemCode.FieldName = "itemNo"; |
| | | this.gv_supplierItemCode.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | this.gv_supplierItemCode.MinWidth = 100; |
| | | this.gv_supplierItemCode.Name = "gv_supplierItemCode"; |
| | | this.gv_supplierItemCode.OptionsColumn.AllowEdit = false; |
| | |
| | | this.gridColumn3.MinWidth = 25; |
| | | this.gridColumn3.Name = "gridColumn3"; |
| | | this.gridColumn3.Tag = "erpid"; |
| | | this.gridColumn3.Visible = true; |
| | | this.gridColumn3.VisibleIndex = 10; |
| | | this.gridColumn3.Width = 94; |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | this.gridColumn2.Caption = "工单号"; |
| | | this.gridColumn2.FieldName = "dab001"; |
| | | this.gridColumn2.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | this.gridColumn2.MinWidth = 25; |
| | | this.gridColumn2.Name = "gridColumn2"; |
| | | this.gridColumn2.Tag = "dab001"; |
| | |
| | | private DevExpress.XtraEditors.SimpleButton btnIn; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colChkInt; |
| | | } |
| | | } |