/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MaterialIvtAdjEdt)); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gcStock = new Ultra.FASControls.GridControlEx(); this.gvStock = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.loc = new Ultra.FASControls.BusControls.LocEdtGridEdit(); this.locEdtGridEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.area = new Ultra.FASControls.BusControls.WareAreaGridEdit(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.txtitem = new Ultra.FASControls.LabelTextBox(); this.wre = new Ultra.FASControls.BusControls.WareHouseGridEdit(); this.wareHouseGridEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.btnCtl1 = new FAC.Login.Controls.BtnCtl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.pgr1 = new Ultra.FASControls.InventoryMaterialPager(); this.gcSt = new Ultra.FASControls.GridControlEx(); this.gvSt = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.repLoc = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit(); this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcStock)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvStock)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.loc.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.locEdtGridEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.area.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtitem.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.wre.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.wareHouseGridEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcSt)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvSt)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repLoc)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.SuspendLayout(); // // btnClose // this.btnClose.Location = new System.Drawing.Point(26563, 5); // // btnOK // this.btnOK.Location = new System.Drawing.Point(26478, 6); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(1001, 515); // // pnlFill // this.pnlFill.Controls.Add(this.splitContainerControl1); this.pnlFill.Size = new System.Drawing.Size(1001, 469); // // pnlBottom // this.pnlBottom.Location = new System.Drawing.Point(0, 469); this.pnlBottom.Size = new System.Drawing.Size(1001, 46); // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(2, 2); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.gcStock); this.splitContainerControl1.Panel1.Controls.Add(this.panelControl2); this.splitContainerControl1.Panel1.Controls.Add(this.labelControl1); this.splitContainerControl1.Panel1.Controls.Add(this.pgr1); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.gcSt); this.splitContainerControl1.Panel2.Controls.Add(this.panelControl1); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(997, 465); this.splitContainerControl1.SplitterPosition = 191; this.splitContainerControl1.TabIndex = 8; this.splitContainerControl1.Text = "splitContainerControl1"; // // gcStock // this.gcStock.AutoCallWW = true; this.gcStock.CellStyleColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.gcStock.ColorFieldName = null; this.gcStock.Dock = System.Windows.Forms.DockStyle.Fill; this.gcStock.ImageFields = ((System.Collections.Generic.List<string>)(resources.GetObject("gcStock.ImageFields"))); this.gcStock.Location = new System.Drawing.Point(0, 29); this.gcStock.MainView = this.gvStock; this.gcStock.Name = "gcStock"; this.gcStock.PopupMnu = null; this.gcStock.PopupTextFields = ((System.Collections.Generic.List<string>)(resources.GetObject("gcStock.PopupTextFields"))); this.gcStock.PopupTextFieldsReadOnly = ((System.Collections.Generic.List<string>)(resources.GetObject("gcStock.PopupTextFieldsReadOnly"))); this.gcStock.PropName = "PropName"; this.gcStock.PrvCityDistrict = ((System.Collections.Generic.List<string>)(resources.GetObject("gcStock.PrvCityDistrict"))); this.gcStock.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit1}); this.gcStock.RightMenu = null; this.gcStock.RowCellColorStyleSource = null; this.gcStock.ShadowDataSource = null; this.gcStock.ShadowDataSourceKey = "Guid"; this.gcStock.ShowIndicator = true; this.gcStock.ShowRowNumber = true; this.gcStock.Size = new System.Drawing.Size(997, 209); this.gcStock.TabIndex = 15; this.gcStock.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvStock}); this.gcStock.RowCellDoubleClick += new System.EventHandler<System.Windows.Forms.MouseEventArgs>(this.gcStock_RowCellDoubleClick); // // gvStock // this.gvStock.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvStock.Appearance.FocusedRow.Options.UseBackColor = true; this.gvStock.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvStock.Appearance.SelectedRow.Options.UseBackColor = true; this.gvStock.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn9, this.gridColumn10, this.gridColumn1, this.gridColumn2, this.gridColumn7, this.gridColumn13}); this.gvStock.GridControl = this.gcStock; this.gvStock.IndicatorWidth = 44; this.gvStock.Name = "gvStock"; this.gvStock.OptionsBehavior.Editable = false; this.gvStock.OptionsView.ColumnAutoWidth = false; this.gvStock.OptionsView.ShowAutoFilterRow = true; this.gvStock.OptionsView.ShowFooter = true; this.gvStock.OptionsView.ShowGroupPanel = false; // // gridColumn9 // this.gridColumn9.Caption = "物料货号"; this.gridColumn9.FieldName = "MaterialNo"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 0; // // gridColumn10 // this.gridColumn10.Caption = "物料名称"; this.gridColumn10.FieldName = "MaterialName"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 1; // // gridColumn1 // this.gridColumn1.Caption = "仓库"; this.gridColumn1.FieldName = "WareName"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 2; // // gridColumn2 // this.gridColumn2.Caption = "区域"; this.gridColumn2.FieldName = "AreaName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 3; // // gridColumn7 // this.gridColumn7.Caption = "库位"; this.gridColumn7.FieldName = "LocName"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 4; // // gridColumn13 // this.gridColumn13.Caption = "库存数"; this.gridColumn13.FieldName = "Qty"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 5; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; // // panelControl2 // this.panelControl2.Controls.Add(this.loc); this.panelControl2.Controls.Add(this.area); this.panelControl2.Controls.Add(this.txtitem); this.panelControl2.Controls.Add(this.wre); this.panelControl2.Controls.Add(this.btnCtl1); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(997, 29); this.panelControl2.TabIndex = 14; // // loc // this.loc.ClearButtonText = "清除所选"; this.loc.ColumnCaption = "库位"; this.loc.ColumnItemsEx2 = ((Ultra.FASControls.GridEditColItemExCollection)(resources.GetObject("loc.ColumnItemsEx2"))); this.loc.DisplayMember = "LocName"; this.loc.EditValue = ""; this.loc.LabelText = "库位"; this.loc.Location = new System.Drawing.Point(304, 5); this.loc.Name = "loc"; serializableAppearanceObject1.Options.UseTextOptions = true; serializableAppearanceObject1.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.loc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "库位", -1, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "清除所选", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "清除所选", null, null, true)}); this.loc.Properties.DisplayMember = "LocName"; this.loc.Properties.ImmediatePopup = true; this.loc.Properties.NullText = ""; this.loc.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; this.loc.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.loc.Properties.ValueMember = "Guid"; this.loc.Properties.View = this.locEdtGridEdit1View; this.loc.SelectedValue = null; this.loc.Size = new System.Drawing.Size(141, 21); this.loc.TabIndex = 10; this.loc.ValueMember = "Guid"; // // locEdtGridEdit1View // this.locEdtGridEdit1View.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.locEdtGridEdit1View.Appearance.FocusedRow.Options.UseBackColor = true; this.locEdtGridEdit1View.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.locEdtGridEdit1View.Appearance.SelectedRow.Options.UseBackColor = true; this.locEdtGridEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.locEdtGridEdit1View.Name = "locEdtGridEdit1View"; this.locEdtGridEdit1View.OptionsBehavior.AutoPopulateColumns = false; this.locEdtGridEdit1View.OptionsBehavior.Editable = false; this.locEdtGridEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.locEdtGridEdit1View.OptionsView.ShowGroupPanel = false; // // area // this.area.ClearButtonText = "清除所选"; this.area.ColumnCaption = "区域"; this.area.ColumnItemsEx2 = ((Ultra.FASControls.GridEditColItemExCollection)(resources.GetObject("area.ColumnItemsEx2"))); this.area.DisplayMember = "AreaName"; this.area.EditValue = ""; this.area.LabelText = "区域"; this.area.Location = new System.Drawing.Point(168, 6); this.area.Name = "area"; serializableAppearanceObject3.Options.UseTextOptions = true; serializableAppearanceObject3.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.area.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "区域", -1, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "清除所选", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "清除所选", null, null, true)}); this.area.Properties.DisplayMember = "AreaName"; this.area.Properties.ImmediatePopup = true; this.area.Properties.NullText = ""; this.area.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains; this.area.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.area.Properties.ValueMember = "Guid"; this.area.Properties.View = this.gridView1; this.area.SelectedValue = null; this.area.Size = new System.Drawing.Size(130, 21); this.area.TabIndex = 9; this.area.ValueMember = "Guid"; // // gridView1 // this.gridView1.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gridView1.Appearance.FocusedRow.Options.UseBackColor = true; this.gridView1.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gridView1.Appearance.SelectedRow.Options.UseBackColor = true; this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AutoPopulateColumns = false; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // txtitem // this.txtitem.LabelText = "物料货号"; this.txtitem.Location = new System.Drawing.Point(451, 5); this.txtitem.Name = "txtitem"; serializableAppearanceObject5.Options.UseTextOptions = true; serializableAppearanceObject5.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.txtitem.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "物料货号", 75, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)}); this.txtitem.Size = new System.Drawing.Size(190, 21); this.txtitem.TabIndex = 8; // // wre // this.wre.ClearButtonText = "清除所选"; this.wre.ColumnCaption = "仓库"; this.wre.ColumnItemsEx2 = null; this.wre.DisplayMember = "WareName"; this.wre.EditValue = ""; this.wre.LabelText = "仓库"; this.wre.Location = new System.Drawing.Point(10, 5); this.wre.Name = "wre"; serializableAppearanceObject6.Options.UseTextOptions = true; serializableAppearanceObject6.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.wre.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "仓库", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject6, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "清除所选", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject7, "清除所选", null, null, true)}); this.wre.Properties.DisplayMember = "WareName"; this.wre.Properties.NullText = ""; this.wre.Properties.ValueMember = "Guid"; this.wre.Properties.View = this.wareHouseGridEdit1View; this.wre.SelectedValue = null; this.wre.ShowClearButton = true; this.wre.Size = new System.Drawing.Size(152, 21); this.wre.TabIndex = 4; this.wre.ValueMember = "Guid"; // // wareHouseGridEdit1View // this.wareHouseGridEdit1View.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.wareHouseGridEdit1View.Appearance.FocusedRow.Options.UseBackColor = true; this.wareHouseGridEdit1View.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.wareHouseGridEdit1View.Appearance.SelectedRow.Options.UseBackColor = true; this.wareHouseGridEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.wareHouseGridEdit1View.Name = "wareHouseGridEdit1View"; this.wareHouseGridEdit1View.OptionsBehavior.AutoPopulateColumns = false; this.wareHouseGridEdit1View.OptionsBehavior.Editable = false; this.wareHouseGridEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.wareHouseGridEdit1View.OptionsView.ShowGroupPanel = false; // // btnCtl1 // this.btnCtl1.Location = new System.Drawing.Point(666, 2); this.btnCtl1.Name = "btnCtl1"; this.btnCtl1.Size = new System.Drawing.Size(97, 27); this.btnCtl1.TabIndex = 1; this.btnCtl1.Text = "查询"; this.btnCtl1.Click += new System.EventHandler(this.btnCtl1_Click); // // labelControl1 // this.labelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Blue; this.labelControl1.Location = new System.Drawing.Point(707, 245); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(84, 14); this.labelControl1.TabIndex = 12; this.labelControl1.Text = "双击行添加商品"; // // pgr1 // this.pgr1.Caller = null; this.pgr1.Counts = 0; this.pgr1.CurrentPage = 1; this.pgr1.Dock = System.Windows.Forms.DockStyle.Bottom; this.pgr1.Grid = this.gcStock; this.pgr1.Location = new System.Drawing.Point(0, 238); this.pgr1.Name = "pgr1"; this.pgr1.OrderBy = null; this.pgr1.PageCount = 0; this.pgr1.PageSize = 500; this.pgr1.PrefixWhr = null; this.pgr1.ResultData = null; this.pgr1.Size = new System.Drawing.Size(997, 31); this.pgr1.TabIndex = 11; // // gcSt // this.gcSt.AutoCallWW = true; this.gcSt.CellStyleColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.gcSt.ColorFieldName = null; this.gcSt.Dock = System.Windows.Forms.DockStyle.Fill; this.gcSt.Editable = true; this.gcSt.ImageFields = ((System.Collections.Generic.List<string>)(resources.GetObject("gcSt.ImageFields"))); this.gcSt.Location = new System.Drawing.Point(0, 0); this.gcSt.MainView = this.gvSt; this.gcSt.Name = "gcSt"; this.gcSt.PopupMnu = null; this.gcSt.PopupTextFields = ((System.Collections.Generic.List<string>)(resources.GetObject("gcSt.PopupTextFields"))); this.gcSt.PopupTextFieldsReadOnly = ((System.Collections.Generic.List<string>)(resources.GetObject("gcSt.PopupTextFieldsReadOnly"))); this.gcSt.PropName = "PropName"; this.gcSt.PrvCityDistrict = ((System.Collections.Generic.List<string>)(resources.GetObject("gcSt.PrvCityDistrict"))); this.gcSt.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit2, this.repLoc, this.repositoryItemSpinEdit1}); this.gcSt.RightMenu = null; this.gcSt.RowCellColorStyleSource = null; this.gcSt.ShadowDataSource = null; this.gcSt.ShadowDataSourceKey = "Guid"; this.gcSt.ShowIndicator = true; this.gcSt.ShowRowNumber = true; this.gcSt.Size = new System.Drawing.Size(997, 158); this.gcSt.TabIndex = 10; this.gcSt.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvSt}); this.gcSt.RowCellDoubleClick += new System.EventHandler<System.Windows.Forms.MouseEventArgs>(this.gcSt_RowCellDoubleClick); // // gvSt // this.gvSt.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvSt.Appearance.FocusedRow.Options.UseBackColor = true; this.gvSt.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.gvSt.Appearance.SelectedRow.Options.UseBackColor = true; this.gvSt.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn17, this.gridColumn19, this.gridColumn22, this.gridColumn23, this.gridColumn5, this.gridColumn6, this.gridColumn8, this.gridColumn28}); this.gvSt.GridControl = this.gcSt; this.gvSt.IndicatorWidth = 44; this.gvSt.Name = "gvSt"; this.gvSt.OptionsView.ColumnAutoWidth = false; this.gvSt.OptionsView.ShowAutoFilterRow = true; this.gvSt.OptionsView.ShowFooter = true; this.gvSt.OptionsView.ShowGroupPanel = false; // // gridColumn17 // this.gridColumn17.Caption = "物料货号"; this.gridColumn17.FieldName = "MaterialNo"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.OptionsColumn.AllowEdit = false; this.gridColumn17.OptionsColumn.ReadOnly = true; this.gridColumn17.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 0; // // gridColumn19 // this.gridColumn19.Caption = "物料名称"; this.gridColumn19.FieldName = "MaterialName"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.OptionsColumn.AllowEdit = false; this.gridColumn19.OptionsColumn.ReadOnly = true; this.gridColumn19.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 1; // // gridColumn22 // this.gridColumn22.Caption = "库存数"; this.gridColumn22.FieldName = "Reserved1"; this.gridColumn22.Name = "gridColumn22"; this.gridColumn22.OptionsColumn.AllowEdit = false; this.gridColumn22.OptionsColumn.ReadOnly = true; this.gridColumn22.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn22.Visible = true; this.gridColumn22.VisibleIndex = 2; // // gridColumn23 // this.gridColumn23.AppearanceCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(185)))), ((int)(((byte)(183))))); this.gridColumn23.AppearanceCell.Options.UseBackColor = true; this.gridColumn23.Caption = "退回数量"; this.gridColumn23.ColumnEdit = this.repositoryItemSpinEdit1; this.gridColumn23.FieldName = "Num"; this.gridColumn23.Name = "gridColumn23"; this.gridColumn23.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn23.Visible = true; this.gridColumn23.VisibleIndex = 3; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit1.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // gridColumn5 // this.gridColumn5.Caption = "仓库"; this.gridColumn5.FieldName = "SrcWareName"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowEdit = false; this.gridColumn5.OptionsColumn.ReadOnly = true; this.gridColumn5.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; // // gridColumn6 // this.gridColumn6.Caption = "区域"; this.gridColumn6.FieldName = "SrcAreaName"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowEdit = false; this.gridColumn6.OptionsColumn.ReadOnly = true; this.gridColumn6.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; // // gridColumn8 // this.gridColumn8.Caption = "库位"; this.gridColumn8.FieldName = "SrcLocName"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.AllowEdit = false; this.gridColumn8.OptionsColumn.ReadOnly = true; this.gridColumn8.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 6; // // gridColumn28 // this.gridColumn28.AppearanceCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(185)))), ((int)(((byte)(183))))); this.gridColumn28.AppearanceCell.Options.UseBackColor = true; this.gridColumn28.Caption = "备注"; this.gridColumn28.FieldName = "Remark"; this.gridColumn28.Name = "gridColumn28"; this.gridColumn28.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.gridColumn28.Visible = true; this.gridColumn28.VisibleIndex = 7; // // repositoryItemCheckEdit2 // this.repositoryItemCheckEdit2.AutoHeight = false; this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2"; this.repositoryItemCheckEdit2.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; // // repLoc // this.repLoc.AutoHeight = false; this.repLoc.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repLoc.DisplayMember = "LocName"; this.repLoc.Name = "repLoc"; this.repLoc.NullText = ""; this.repLoc.ValueMember = "LocName"; this.repLoc.View = this.repositoryItemGridLookUpEdit1View; // // repositoryItemGridLookUpEdit1View // this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn29, this.gridColumn30, this.gridColumn31}); this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View"; this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.repositoryItemGridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true; this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // gridColumn29 // this.gridColumn29.Caption = "仓库"; this.gridColumn29.FieldName = "WareName"; this.gridColumn29.Name = "gridColumn29"; this.gridColumn29.Visible = true; this.gridColumn29.VisibleIndex = 0; // // gridColumn30 // this.gridColumn30.Caption = "区域"; this.gridColumn30.FieldName = "AreaName"; this.gridColumn30.Name = "gridColumn30"; this.gridColumn30.Visible = true; this.gridColumn30.VisibleIndex = 1; // // gridColumn31 // this.gridColumn31.Caption = "库位"; this.gridColumn31.FieldName = "LocName"; this.gridColumn31.Name = "gridColumn31"; this.gridColumn31.Visible = true; this.gridColumn31.VisibleIndex = 2; // // panelControl1 // this.panelControl1.Controls.Add(this.labelControl2); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl1.Location = new System.Drawing.Point(0, 158); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(997, 33); this.panelControl1.TabIndex = 9; // // labelControl2 // this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Blue; this.labelControl2.Location = new System.Drawing.Point(10, 6); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(84, 14); this.labelControl2.TabIndex = 10; this.labelControl2.Text = "双击行移除商品"; // // MaterialIvtAdjEdt // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1001, 515); this.Name = "MaterialIvtAdjEdt"; this.Text = "退料编辑"; this.Load += new System.EventHandler(this.AlarmItemView_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcStock)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvStock)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.loc.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.locEdtGridEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.area.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtitem.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.wre.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.wareHouseGridEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcSt)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvSt)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repLoc)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); this.ResumeLayout(false); }
private void IvtCheckView_Load(object sender, EventArgs e) { var lcedt = new Ultra.FASControls.BusControls.LocEdtGridEdit(); repLoc.DataSource = CacheLoc = lcedt.LoadFromCache(); pgr1.Caller = SerNoCaller.Calr_Material; if (Ent == null) { txtCheckUser.Text = this.CurUser; txtCheckTime.DateTime = DateTime.Now; } else { txtCheckNo.Text = Ent.CheckNo; txtCheckTime.EditValue = Ent.CheckTime; txtCheckUser.Text = Ent.CheckUser; gcIvtCheckDetail.DataSource = SerNoCaller_GC.Calr_MaterialCheckDetail.Get("where CheckNo=@0", Ent.CheckNo); edtSession = Ent.Session; } }
private void IvtCheckView_Load(object sender, EventArgs e) { #region 绑定库位 供应商 //CacheLoc = this.Cacher.Get<List<UltraDbEntity.T_ERP_WareLoc>>("SYS.Cache.V_ERP_NotVirtualLoc"); // if (null == CacheLoc || CacheLoc.Count < 1) // { // CacheLoc = SerNoCaller.Calr_UnVirtualWareLoc.Get("Select * from V_ERP_NotVirtualLoc") // .OrderBy(j => j.Distance).ThenBy(j => j.Shelf).ThenBy(j => j.Floor).ToList(); // this.Cacher.Put<List<UltraDbEntity.T_ERP_WareLoc>>("SYS.Cache.V_ERP_NotVirtualLoc", CacheLoc); // } //repLoc.DataSource = CacheLoc; var lcedt = new Ultra.FASControls.BusControls.LocEdtGridEdit(); repLoc.DataSource = CacheLoc = lcedt.LoadFromCache(); //repSupp.DataSource = SerNoCaller.Calr_Supplier.Get(" where IsDel=0 and IsUsing=1 "); #endregion pgr.Caller = SerNoCaller.Calr_Item; if (Ent == null) { txtCheckUser.Text = this.CurUser; txtCheckTime.DateTime = DateTime.Now; } else { txtCheckNo.Text = Ent.CheckNo; txtCheckTime.EditValue = Ent.CheckTime; txtCheckUser.Text = Ent.CheckUser; gcIvtCheckDetail.DataSource = SerNoCaller.Calr_IvtCheckDetail.Get("where CheckNo=@0", Ent.CheckNo); edtSession = Ent.Session; } }