DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Customer.cs
@@ -122,7 +122,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Department.cs
@@ -127,7 +127,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDepot.cs
@@ -256,7 +256,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesItems.cs
@@ -127,7 +127,8 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesUnit.cs
@@ -127,7 +127,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesWorkshopLine.cs
@@ -275,7 +275,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Staff.cs
@@ -129,7 +129,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Supplier.cs
@@ -127,7 +127,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSq.cs
@@ -414,7 +414,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesCgthSqDj.cs
@@ -170,7 +170,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOut_SCLL.cs
@@ -172,7 +172,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
@@ -411,7 +411,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs
@@ -174,7 +174,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
@@ -402,7 +402,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Ck/UcBlclDj.cs
@@ -182,7 +182,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/PDA/Frm_UserBind.cs
@@ -133,7 +133,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/PDA/Frm_UserBindLst.cs
@@ -129,7 +129,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/PDA/SelectCk.cs
@@ -89,7 +89,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/PDA/SelectPage.cs
@@ -90,7 +90,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/PDA/SelectPrint.cs
@@ -88,7 +88,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs
@@ -274,7 +274,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs
@@ -253,8 +253,8 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
@@ -413,7 +413,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs
@@ -304,7 +304,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs
@@ -281,7 +281,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmAql1.cs
@@ -466,7 +466,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs
@@ -30,7 +30,7 @@ /// </summary> private void InitializeComponent() { // this.jyxm1 = new QC.Jyxm("ipqc巡检"); // this.jyxm1 = new QC.Jyxm("iqc"); this.jyxm1 = new QC.Jyxm("iqc"); this.SuspendLayout(); // @@ -41,14 +41,15 @@ this.jyxm1.Name = "jyxm1"; this.jyxm1.Size = new System.Drawing.Size(1044, 711); this.jyxm1.TabIndex = 0; // // Frm_Jyxm // Frm_MesQmCheckitemDt // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1044, 711); this.Controls.Add(this.jyxm1); this.Name = "Frm_Jyxm"; this.Name = "Frm_MesQmCheckitemDt"; this.Text = "iqc"; this.ResumeLayout(false); DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs
@@ -28,23 +28,23 @@ /// </summary> private void InitializeComponent() { DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); 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.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); @@ -125,6 +125,7 @@ this.gvMx1fupAllow = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fstand = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fdownAllow = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.xtraTabPageCopy = new DevExpress.XtraTab.XtraTabPage(); @@ -628,7 +629,7 @@ this.txt_fSubsidiary.IsReadly = false; this.txt_fSubsidiary.Location = new System.Drawing.Point(96, 12); this.txt_fSubsidiary.Name = "txt_fSubsidiary"; this.txt_fSubsidiary.Size = new System.Drawing.Size(188, 28); this.txt_fSubsidiary.Size = new System.Drawing.Size(183, 28); this.txt_fSubsidiary.TabIndex = 383; // // txt_itemId @@ -636,39 +637,39 @@ this.txt_itemId.IsReadly = false; this.txt_itemId.Location = new System.Drawing.Point(96, 44); this.txt_itemId.Name = "txt_itemId"; this.txt_itemId.Size = new System.Drawing.Size(188, 28); this.txt_itemId.Size = new System.Drawing.Size(183, 28); this.txt_itemId.TabIndex = 380; this.txt_itemId.Tag = "no"; // // txt_foneCheckdate // this.txt_foneCheckdate.Location = new System.Drawing.Point(926, 44); this.txt_foneCheckdate.Location = new System.Drawing.Point(909, 44); this.txt_foneCheckdate.Name = "txt_foneCheckdate"; this.txt_foneCheckdate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_foneCheckdate.Properties.Appearance.Options.UseFont = true; this.txt_foneCheckdate.Size = new System.Drawing.Size(189, 28); this.txt_foneCheckdate.Size = new System.Drawing.Size(185, 28); this.txt_foneCheckdate.StyleController = this.layoutMx1; this.txt_foneCheckdate.TabIndex = 267; this.txt_foneCheckdate.Tag = "readOnly"; // // txt_foneCheckor // this.txt_foneCheckor.Location = new System.Drawing.Point(926, 12); this.txt_foneCheckor.Location = new System.Drawing.Point(909, 12); this.txt_foneCheckor.Name = "txt_foneCheckor"; this.txt_foneCheckor.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_foneCheckor.Properties.Appearance.Options.UseFont = true; this.txt_foneCheckor.Size = new System.Drawing.Size(189, 28); this.txt_foneCheckor.Size = new System.Drawing.Size(185, 28); this.txt_foneCheckor.StyleController = this.layoutMx1; this.txt_foneCheckor.TabIndex = 262; this.txt_foneCheckor.Tag = "readOnly"; // // txt_itemNo // this.txt_itemNo.Location = new System.Drawing.Point(372, 44); this.txt_itemNo.Location = new System.Drawing.Point(367, 44); this.txt_itemNo.Name = "txt_itemNo"; this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_itemNo.Properties.Appearance.Options.UseFont = true; this.txt_itemNo.Size = new System.Drawing.Size(189, 28); this.txt_itemNo.Size = new System.Drawing.Size(183, 28); this.txt_itemNo.StyleController = this.layoutMx1; this.txt_itemNo.TabIndex = 370; this.txt_itemNo.Tag = "readOnly"; @@ -679,68 +680,68 @@ this.txt_memo.Name = "txt_memo"; this.txt_memo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_memo.Properties.Appearance.Options.UseFont = true; this.txt_memo.Size = new System.Drawing.Size(188, 28); this.txt_memo.Size = new System.Drawing.Size(183, 28); this.txt_memo.StyleController = this.layoutMx1; this.txt_memo.TabIndex = 219; // // txt_ftwoCheckor // this.txt_ftwoCheckor.Location = new System.Drawing.Point(649, 12); this.txt_ftwoCheckor.Location = new System.Drawing.Point(638, 12); this.txt_ftwoCheckor.Name = "txt_ftwoCheckor"; this.txt_ftwoCheckor.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_ftwoCheckor.Properties.Appearance.Options.UseFont = true; this.txt_ftwoCheckor.Size = new System.Drawing.Size(189, 28); this.txt_ftwoCheckor.Size = new System.Drawing.Size(183, 28); this.txt_ftwoCheckor.StyleController = this.layoutMx1; this.txt_ftwoCheckor.TabIndex = 280; this.txt_ftwoCheckor.Tag = "readOnly"; // // txt_fversion // this.txt_fversion.Location = new System.Drawing.Point(372, 12); this.txt_fversion.Location = new System.Drawing.Point(367, 12); this.txt_fversion.Name = "txt_fversion"; this.txt_fversion.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_fversion.Properties.Appearance.Options.UseFont = true; this.txt_fversion.Size = new System.Drawing.Size(189, 28); this.txt_fversion.Size = new System.Drawing.Size(183, 28); this.txt_fversion.StyleController = this.layoutMx1; this.txt_fversion.TabIndex = 298; this.txt_fversion.Tag = "readOnly"; // // txt_ftwoCheckdate // this.txt_ftwoCheckdate.Location = new System.Drawing.Point(649, 44); this.txt_ftwoCheckdate.Location = new System.Drawing.Point(638, 44); this.txt_ftwoCheckdate.Name = "txt_ftwoCheckdate"; this.txt_ftwoCheckdate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_ftwoCheckdate.Properties.Appearance.Options.UseFont = true; this.txt_ftwoCheckdate.Size = new System.Drawing.Size(189, 28); this.txt_ftwoCheckdate.Size = new System.Drawing.Size(183, 28); this.txt_ftwoCheckdate.StyleController = this.layoutMx1; this.txt_ftwoCheckdate.TabIndex = 285; this.txt_ftwoCheckdate.Tag = "readOnly"; // // txt_gg // this.txt_gg.Location = new System.Drawing.Point(372, 76); this.txt_gg.Location = new System.Drawing.Point(367, 76); this.txt_gg.Name = "txt_gg"; this.txt_gg.Size = new System.Drawing.Size(189, 24); this.txt_gg.Size = new System.Drawing.Size(183, 24); this.txt_gg.StyleController = this.layoutMx1; this.txt_gg.TabIndex = 384; this.txt_gg.Tag = "readOnly"; // // txt_ftwoChecked // this.txt_ftwoChecked.Location = new System.Drawing.Point(565, 76); this.txt_ftwoChecked.Location = new System.Drawing.Point(554, 76); this.txt_ftwoChecked.Name = "txt_ftwoChecked"; this.txt_ftwoChecked.Properties.Caption = "批准标识"; this.txt_ftwoChecked.Size = new System.Drawing.Size(273, 24); this.txt_ftwoChecked.Size = new System.Drawing.Size(267, 24); this.txt_ftwoChecked.StyleController = this.layoutMx1; this.txt_ftwoChecked.TabIndex = 385; this.txt_ftwoChecked.Tag = "readOnly"; // // txt_foneChecked // this.txt_foneChecked.Location = new System.Drawing.Point(842, 76); this.txt_foneChecked.Location = new System.Drawing.Point(825, 76); this.txt_foneChecked.Name = "txt_foneChecked"; this.txt_foneChecked.Properties.Caption = "审核标识"; this.txt_foneChecked.Size = new System.Drawing.Size(273, 24); this.txt_foneChecked.Size = new System.Drawing.Size(269, 24); this.txt_foneChecked.StyleController = this.layoutMx1; this.txt_foneChecked.TabIndex = 386; this.txt_foneChecked.Tag = "readOnly"; @@ -776,30 +777,30 @@ this.layoutControlItem7}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition5.Width = 100D; columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition6.Width = 100D; columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition7.Width = 100D; columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition8.Width = 100D; columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition1.Width = 100D; columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition2.Width = 100D; columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition3.Width = 100D; columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition4.Width = 100D; this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition5, columnDefinition6, columnDefinition7, columnDefinition8}); rowDefinition4.Height = 100D; rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition5.Height = 100D; rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition6.Height = 100D; rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition1, columnDefinition2, columnDefinition3, columnDefinition4}); rowDefinition1.Height = 100D; rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition2.Height = 100D; rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition3.Height = 100D; rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition4, rowDefinition5, rowDefinition6}); this.Root.Size = new System.Drawing.Size(1127, 116); rowDefinition1, rowDefinition2, rowDefinition3}); this.Root.Size = new System.Drawing.Size(1106, 116); this.Root.TextVisible = false; // // layoutControlItem1 @@ -807,17 +808,17 @@ this.layoutControlItem1.Control = this.txt_fSubsidiary; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(276, 32); this.layoutControlItem1.Size = new System.Drawing.Size(271, 32); this.layoutControlItem1.Text = "选择组织"; this.layoutControlItem1.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem3 // this.layoutControlItem3.Control = this.txt_ftwoCheckor; this.layoutControlItem3.Location = new System.Drawing.Point(553, 0); this.layoutControlItem3.Location = new System.Drawing.Point(542, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2; this.layoutControlItem3.Size = new System.Drawing.Size(277, 32); this.layoutControlItem3.Size = new System.Drawing.Size(271, 32); this.layoutControlItem3.Text = "批准人"; this.layoutControlItem3.TextSize = new System.Drawing.Size(72, 18); // @@ -827,29 +828,29 @@ this.layoutControlItem4.Location = new System.Drawing.Point(0, 32); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem4.Size = new System.Drawing.Size(276, 32); this.layoutControlItem4.Size = new System.Drawing.Size(271, 32); this.layoutControlItem4.Text = "选择物料"; this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem6 // this.layoutControlItem6.Control = this.txt_ftwoCheckdate; this.layoutControlItem6.Location = new System.Drawing.Point(553, 32); this.layoutControlItem6.Location = new System.Drawing.Point(542, 32); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 2; this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem6.Size = new System.Drawing.Size(277, 32); this.layoutControlItem6.Size = new System.Drawing.Size(271, 32); this.layoutControlItem6.Text = "批准日期"; this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem9 // this.layoutControlItem9.Control = this.txt_ftwoChecked; this.layoutControlItem9.Location = new System.Drawing.Point(553, 64); this.layoutControlItem9.Location = new System.Drawing.Point(542, 64); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 2; this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem9.Size = new System.Drawing.Size(277, 32); this.layoutControlItem9.Size = new System.Drawing.Size(271, 32); this.layoutControlItem9.Text = "批准标识"; this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem9.TextVisible = false; @@ -857,32 +858,32 @@ // layoutControlItem10 // this.layoutControlItem10.Control = this.txt_foneCheckor; this.layoutControlItem10.Location = new System.Drawing.Point(830, 0); this.layoutControlItem10.Location = new System.Drawing.Point(813, 0); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 3; this.layoutControlItem10.Size = new System.Drawing.Size(277, 32); this.layoutControlItem10.Size = new System.Drawing.Size(273, 32); this.layoutControlItem10.Text = "审核人"; this.layoutControlItem10.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem11 // this.layoutControlItem11.Control = this.txt_foneCheckdate; this.layoutControlItem11.Location = new System.Drawing.Point(830, 32); this.layoutControlItem11.Location = new System.Drawing.Point(813, 32); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 3; this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem11.Size = new System.Drawing.Size(277, 32); this.layoutControlItem11.Size = new System.Drawing.Size(273, 32); this.layoutControlItem11.Text = "审核时间"; this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem12 // this.layoutControlItem12.Control = this.txt_foneChecked; this.layoutControlItem12.Location = new System.Drawing.Point(830, 64); this.layoutControlItem12.Location = new System.Drawing.Point(813, 64); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 3; this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem12.Size = new System.Drawing.Size(277, 32); this.layoutControlItem12.Size = new System.Drawing.Size(273, 32); this.layoutControlItem12.Text = "审核标识"; this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem12.TextVisible = false; @@ -893,39 +894,39 @@ this.layoutControlItem2.Location = new System.Drawing.Point(0, 64); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem2.Size = new System.Drawing.Size(276, 32); this.layoutControlItem2.Size = new System.Drawing.Size(271, 32); this.layoutControlItem2.Text = "备注"; this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem5 // this.layoutControlItem5.Control = this.txt_fversion; this.layoutControlItem5.Location = new System.Drawing.Point(276, 0); this.layoutControlItem5.Location = new System.Drawing.Point(271, 0); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem5.Size = new System.Drawing.Size(277, 32); this.layoutControlItem5.Size = new System.Drawing.Size(271, 32); this.layoutControlItem5.Text = "版本(自动)"; this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem8 // this.layoutControlItem8.Control = this.txt_gg; this.layoutControlItem8.Location = new System.Drawing.Point(276, 64); this.layoutControlItem8.Location = new System.Drawing.Point(271, 64); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem8.Size = new System.Drawing.Size(277, 32); this.layoutControlItem8.Size = new System.Drawing.Size(271, 32); this.layoutControlItem8.Text = "物料规格"; this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 18); // // layoutControlItem7 // this.layoutControlItem7.Control = this.txt_itemNo; this.layoutControlItem7.Location = new System.Drawing.Point(276, 32); this.layoutControlItem7.Location = new System.Drawing.Point(271, 32); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem7.Size = new System.Drawing.Size(277, 32); this.layoutControlItem7.Size = new System.Drawing.Size(271, 32); this.layoutControlItem7.Text = "物料编码"; this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 18); // @@ -984,6 +985,7 @@ this.gvMx1fupAllow, this.gvMx1fstand, this.gvMx1fdownAllow, this.gridColumn19, this.gvMxDel}); this.gvMx1.GridControl = this.gcMx1; this.gvMx1.Name = "gvMx1"; @@ -1236,6 +1238,17 @@ this.gvMx1fdownAllow.VisibleIndex = 11; this.gvMx1fdownAllow.Width = 60; // // gridColumn19 // this.gridColumn19.Caption = "样品基数"; this.gridColumn19.FieldName = "ypsl"; this.gridColumn19.MinWidth = 25; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.Tag = "edit"; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 12; this.gridColumn19.Width = 94; // // gvMxDel // this.gvMxDel.Caption = "移除"; @@ -1243,16 +1256,16 @@ this.gvMxDel.MinWidth = 50; this.gvMxDel.Name = "gvMxDel"; this.gvMxDel.Visible = true; this.gvMxDel.VisibleIndex = 12; this.gvMxDel.VisibleIndex = 13; this.gvMxDel.Width = 100; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; editorButtonImageOptions3.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions3.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "移除", -1, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "移除", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); @@ -1374,10 +1387,10 @@ // repositoryItemButtonEdit3 // this.repositoryItemButtonEdit3.AutoHeight = false; editorButtonImageOptions4.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions4.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "移出", -1, true, true, false, editorButtonImageOptions4, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "移出", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit3.Name = "repositoryItemButtonEdit3"; this.repositoryItemButtonEdit3.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit3.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit3_ButtonClick); @@ -1601,5 +1614,6 @@ private DevExpress.XtraGrid.Columns.GridColumn gridColumn16; private DevExpress.XtraGrid.Columns.GridColumn gridColumn17; private DevExpress.XtraGrid.Columns.GridColumn gridColumn18; private DevExpress.XtraGrid.Columns.GridColumn gridColumn19; } } DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -25,6 +25,7 @@ InitializeComponent(); strType = _strType; } protected override void OnCreateControl() { @@ -39,6 +40,10 @@ toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnPiZhunClick += ToolBarMenu1_btnPiZhunClick; decimal _dfValue = 1; if (strType == "iqc") _dfValue = 5; this.gvMx1.InitNewRow += (s, e) => { this.gvMx1.SetRowCellValue(e.RowHandle, "ypsl", _dfValue); }; this.toolBarMenu1.getXmlConfig(); Form parentForm = this.FindForm(); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); @@ -79,7 +84,6 @@ btnSave.Click += BtnSave_Click; } private void GridView1_ColumnFilterChanged(object sender, EventArgs e) @@ -292,6 +296,11 @@ MsgHelper.ShowError("接受水平不能为空!"); return; } if (string.IsNullOrEmpty(row["ypsl"].ToString())) { MsgHelper.ShowError("样品数量平不能为空!"); return; } string _Fstand = row["Fstand"].ToString(); string _FupAllow = row["FupAllow"].ToString(); string _FdownAllow = row["FdownAllow"].ToString(); @@ -334,7 +343,7 @@ Memo = row["memo"].ToString(), FupAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FupAllow"].ToString()), FdownAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FdownAllow"].ToString()), ypsl = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["ypsl"].ToString()), }); } } @@ -375,7 +384,6 @@ { MsgHelper.ShowError("提示:" + ex.Message); } } /// <summary> @@ -406,7 +414,8 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/QC/Models/MesQmCheckitemDt.cs
@@ -221,6 +221,15 @@ /// ///</summary> /// <summary> /// 样品数量 /// </summary> public decimal? ypsl { get; set; } public Guid? Pid { get; set; } } } DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs
@@ -426,7 +426,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
@@ -161,7 +161,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
@@ -432,7 +432,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.cs
@@ -159,7 +159,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -493,7 +493,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.cs
@@ -159,7 +159,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs
@@ -30,33 +30,24 @@ private void InitializeComponent() { this.gv_indepUserCode = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_stockOrgId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_ownerType = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_ownerId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_depotId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_suppId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_lineK3id = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_ebelnK3id = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_lineNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_suppNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_iqcStatus = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_indepDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_itemType = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_checkDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_depotSectionsCode = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_depotsCode = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_quantity = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_lotNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_depotSectionsId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_depotsId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.gcMain1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.pageBar1 = new UserControls.Data.UcPageBar(); @@ -71,57 +62,43 @@ // this.gv_indepUserCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_indepUserCode.AppearanceCell.Options.UseFont = true; this.gv_indepUserCode.Caption = "入库人编码 "; this.gv_indepUserCode.Caption = "入库人"; this.gv_indepUserCode.FieldName = "indepUserCode"; this.gv_indepUserCode.MinWidth = 50; this.gv_indepUserCode.Name = "gv_indepUserCode"; this.gv_indepUserCode.OptionsColumn.AllowEdit = false; this.gv_indepUserCode.Tag = "query_a.INDEP_USER_CODE"; this.gv_indepUserCode.Visible = true; this.gv_indepUserCode.VisibleIndex = 24; this.gv_indepUserCode.Width = 94; // // gv_stockOrgId // this.gv_stockOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_stockOrgId.AppearanceCell.Options.UseFont = true; this.gv_stockOrgId.Caption = "库存组织id "; this.gv_stockOrgId.FieldName = "stockOrgId"; this.gv_stockOrgId.MinWidth = 50; this.gv_stockOrgId.Name = "gv_stockOrgId"; this.gv_stockOrgId.OptionsColumn.AllowEdit = false; this.gv_stockOrgId.Tag = "query_a.Stock_Org_Id"; this.gv_stockOrgId.Visible = true; this.gv_stockOrgId.VisibleIndex = 23; this.gv_stockOrgId.Width = 94; this.gv_indepUserCode.VisibleIndex = 13; this.gv_indepUserCode.Width = 73; // // gv_ownerType // this.gv_ownerType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_ownerType.AppearanceCell.Options.UseFont = true; this.gv_ownerType.Caption = "货主类型(BD_OwnerOrg 组织,BD_Supplier 供应商,BD_Customer 客户) "; this.gv_ownerType.Caption = "货主类型"; this.gv_ownerType.FieldName = "ownerType"; this.gv_ownerType.MinWidth = 50; this.gv_ownerType.Name = "gv_ownerType"; this.gv_ownerType.OptionsColumn.AllowEdit = false; this.gv_ownerType.Tag = "query_a.Owner_Type"; this.gv_ownerType.Visible = true; this.gv_ownerType.VisibleIndex = 22; this.gv_ownerType.Width = 94; this.gv_ownerType.VisibleIndex = 10; this.gv_ownerType.Width = 73; // // gv_ownerId // this.gv_ownerId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_ownerId.AppearanceCell.Options.UseFont = true; this.gv_ownerId.Caption = "货主id "; this.gv_ownerId.Caption = "货主ID"; this.gv_ownerId.FieldName = "ownerId"; this.gv_ownerId.MinWidth = 50; this.gv_ownerId.Name = "gv_ownerId"; this.gv_ownerId.OptionsColumn.AllowEdit = false; this.gv_ownerId.Tag = "query_a.Owner_Id"; this.gv_ownerId.Visible = true; this.gv_ownerId.VisibleIndex = 21; this.gv_ownerId.Width = 94; this.gv_ownerId.VisibleIndex = 11; this.gv_ownerId.Width = 73; // // gv_depotId // @@ -134,22 +111,8 @@ this.gv_depotId.OptionsColumn.AllowEdit = false; this.gv_depotId.Tag = "query_a.DEPOT_ID"; this.gv_depotId.Visible = true; this.gv_depotId.VisibleIndex = 20; this.gv_depotId.Width = 94; // // gv_suppId // this.gv_suppId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_suppId.AppearanceCell.Options.UseFont = true; this.gv_suppId.Caption = "供应商id "; this.gv_suppId.FieldName = "suppId"; this.gv_suppId.MinWidth = 50; this.gv_suppId.Name = "gv_suppId"; this.gv_suppId.OptionsColumn.AllowEdit = false; this.gv_suppId.Tag = "query_a.SUPP_ID"; this.gv_suppId.Visible = true; this.gv_suppId.VisibleIndex = 19; this.gv_suppId.Width = 94; this.gv_depotId.VisibleIndex = 6; this.gv_depotId.Width = 73; // // gv_itemId // @@ -162,92 +125,8 @@ this.gv_itemId.OptionsColumn.AllowEdit = false; this.gv_itemId.Tag = "query_a.ITEM_ID"; this.gv_itemId.Visible = true; this.gv_itemId.VisibleIndex = 18; this.gv_itemId.Width = 94; // // gv_lineK3id // this.gv_lineK3id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_lineK3id.AppearanceCell.Options.UseFont = true; this.gv_lineK3id.Caption = "行K3ID "; this.gv_lineK3id.FieldName = "lineK3id"; this.gv_lineK3id.MinWidth = 50; this.gv_lineK3id.Name = "gv_lineK3id"; this.gv_lineK3id.OptionsColumn.AllowEdit = false; this.gv_lineK3id.Tag = "query_a.LINE_K3ID"; this.gv_lineK3id.Visible = true; this.gv_lineK3id.VisibleIndex = 17; this.gv_lineK3id.Width = 94; // // gv_ebelnK3id // this.gv_ebelnK3id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_ebelnK3id.AppearanceCell.Options.UseFont = true; this.gv_ebelnK3id.Caption = "K3ID "; this.gv_ebelnK3id.FieldName = "ebelnK3id"; this.gv_ebelnK3id.MinWidth = 50; this.gv_ebelnK3id.Name = "gv_ebelnK3id"; this.gv_ebelnK3id.OptionsColumn.AllowEdit = false; this.gv_ebelnK3id.Tag = "query_a.EBELN_K3ID"; this.gv_ebelnK3id.Visible = true; this.gv_ebelnK3id.VisibleIndex = 16; this.gv_ebelnK3id.Width = 94; // // gv_billNo // this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_billNo.AppearanceCell.Options.UseFont = true; this.gv_billNo.Caption = "单据编号 "; this.gv_billNo.FieldName = "billNo"; this.gv_billNo.MinWidth = 50; this.gv_billNo.Name = "gv_billNo"; this.gv_billNo.OptionsColumn.AllowEdit = false; this.gv_billNo.Tag = "query_a.BILL_NO"; this.gv_billNo.Visible = true; this.gv_billNo.VisibleIndex = 15; this.gv_billNo.Width = 94; // // gv_lineNo // this.gv_lineNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_lineNo.AppearanceCell.Options.UseFont = true; this.gv_lineNo.Caption = "行号 "; this.gv_lineNo.FieldName = "lineNo"; this.gv_lineNo.MinWidth = 50; this.gv_lineNo.Name = "gv_lineNo"; this.gv_lineNo.OptionsColumn.AllowEdit = false; this.gv_lineNo.Tag = "query_a.LINE_NO"; this.gv_lineNo.Visible = true; this.gv_lineNo.VisibleIndex = 14; this.gv_lineNo.Width = 94; // // gv_suppNo // this.gv_suppNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_suppNo.AppearanceCell.Options.UseFont = true; this.gv_suppNo.Caption = "供应商编码 "; this.gv_suppNo.FieldName = "suppNo"; this.gv_suppNo.MinWidth = 50; this.gv_suppNo.Name = "gv_suppNo"; this.gv_suppNo.OptionsColumn.AllowEdit = false; this.gv_suppNo.Tag = "query_a.SUPP_NO"; this.gv_suppNo.Visible = true; this.gv_suppNo.VisibleIndex = 13; this.gv_suppNo.Width = 94; // // gv_iqcStatus // this.gv_iqcStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_iqcStatus.AppearanceCell.Options.UseFont = true; this.gv_iqcStatus.Caption = "质量状态 "; this.gv_iqcStatus.FieldName = "iqcStatus"; this.gv_iqcStatus.MinWidth = 50; this.gv_iqcStatus.Name = "gv_iqcStatus"; this.gv_iqcStatus.OptionsColumn.AllowEdit = false; this.gv_iqcStatus.Tag = "query_a.IQC_STATUS"; this.gv_iqcStatus.Visible = true; this.gv_iqcStatus.VisibleIndex = 12; this.gv_iqcStatus.Width = 94; this.gv_itemId.VisibleIndex = 0; this.gv_itemId.Width = 73; // // gv_indepDate // @@ -255,69 +134,27 @@ this.gv_indepDate.AppearanceCell.Options.UseFont = true; this.gv_indepDate.Caption = "入库日期 "; this.gv_indepDate.FieldName = "indepDate"; this.gv_indepDate.MinWidth = 50; this.gv_indepDate.MinWidth = 10; this.gv_indepDate.Name = "gv_indepDate"; this.gv_indepDate.OptionsColumn.AllowEdit = false; this.gv_indepDate.Tag = "query_a.INDEP_DATE"; this.gv_indepDate.Visible = true; this.gv_indepDate.VisibleIndex = 11; this.gv_indepDate.Width = 94; // // gv_itemType // this.gv_itemType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_itemType.AppearanceCell.Options.UseFont = true; this.gv_itemType.Caption = "0 物料 1 半成品 2 成品 "; this.gv_itemType.FieldName = "itemType"; this.gv_itemType.MinWidth = 50; this.gv_itemType.Name = "gv_itemType"; this.gv_itemType.OptionsColumn.AllowEdit = false; this.gv_itemType.Tag = "query_a.ITEM_TYPE"; this.gv_itemType.Visible = true; this.gv_itemType.VisibleIndex = 10; this.gv_itemType.Width = 94; // // gv_checkDate // this.gv_checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_checkDate.AppearanceCell.Options.UseFont = true; this.gv_checkDate.Caption = "检验日期 "; this.gv_checkDate.FieldName = "checkDate"; this.gv_checkDate.MinWidth = 50; this.gv_checkDate.Name = "gv_checkDate"; this.gv_checkDate.OptionsColumn.AllowEdit = false; this.gv_checkDate.Tag = "query_a.CHECK_DATE"; this.gv_checkDate.Visible = true; this.gv_checkDate.VisibleIndex = 9; this.gv_checkDate.Width = 94; this.gv_indepDate.VisibleIndex = 14; this.gv_indepDate.Width = 10; // // gv_depotSectionsCode // this.gv_depotSectionsCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_depotSectionsCode.AppearanceCell.Options.UseFont = true; this.gv_depotSectionsCode.Caption = "货位CODE "; this.gv_depotSectionsCode.Caption = "货位编号"; this.gv_depotSectionsCode.FieldName = "depotSectionsCode"; this.gv_depotSectionsCode.MinWidth = 50; this.gv_depotSectionsCode.Name = "gv_depotSectionsCode"; this.gv_depotSectionsCode.OptionsColumn.AllowEdit = false; this.gv_depotSectionsCode.Tag = "query_a.DEPOT_SECTIONS_CODE"; this.gv_depotSectionsCode.Visible = true; this.gv_depotSectionsCode.VisibleIndex = 8; this.gv_depotSectionsCode.Width = 94; // // gv_depotsCode // this.gv_depotsCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_depotsCode.AppearanceCell.Options.UseFont = true; this.gv_depotsCode.Caption = "子库CODE "; this.gv_depotsCode.FieldName = "depotsCode"; this.gv_depotsCode.MinWidth = 50; this.gv_depotsCode.Name = "gv_depotsCode"; this.gv_depotsCode.OptionsColumn.AllowEdit = false; this.gv_depotsCode.Tag = "query_a.DEPOTS_CODE"; this.gv_depotsCode.Visible = true; this.gv_depotsCode.VisibleIndex = 7; this.gv_depotsCode.Width = 94; this.gv_depotSectionsCode.VisibleIndex = 9; this.gv_depotSectionsCode.Width = 73; // // gv_quantity // @@ -330,64 +167,8 @@ this.gv_quantity.OptionsColumn.AllowEdit = false; this.gv_quantity.Tag = "query_a.QUANTITY"; this.gv_quantity.Visible = true; this.gv_quantity.VisibleIndex = 6; this.gv_quantity.Width = 94; // // gv_lotNo // this.gv_lotNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_lotNo.AppearanceCell.Options.UseFont = true; this.gv_lotNo.Caption = "厂家批次 "; this.gv_lotNo.FieldName = "lotNo"; this.gv_lotNo.MinWidth = 50; this.gv_lotNo.Name = "gv_lotNo"; this.gv_lotNo.OptionsColumn.AllowEdit = false; this.gv_lotNo.Tag = "query_a.LOT_NO"; this.gv_lotNo.Visible = true; this.gv_lotNo.VisibleIndex = 5; this.gv_lotNo.Width = 94; // // gv_depotSectionsId // this.gv_depotSectionsId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_depotSectionsId.AppearanceCell.Options.UseFont = true; this.gv_depotSectionsId.Caption = "货位id "; this.gv_depotSectionsId.FieldName = "depotSectionsId"; this.gv_depotSectionsId.MinWidth = 50; this.gv_depotSectionsId.Name = "gv_depotSectionsId"; this.gv_depotSectionsId.OptionsColumn.AllowEdit = false; this.gv_depotSectionsId.Tag = "query_a.DEPOT_SECTIONS_ID"; this.gv_depotSectionsId.Visible = true; this.gv_depotSectionsId.VisibleIndex = 4; this.gv_depotSectionsId.Width = 94; // // gv_depotsId // this.gv_depotsId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_depotsId.AppearanceCell.Options.UseFont = true; this.gv_depotsId.Caption = "子库id(一般不存数据) "; this.gv_depotsId.FieldName = "depotsId"; this.gv_depotsId.MinWidth = 50; this.gv_depotsId.Name = "gv_depotsId"; this.gv_depotsId.OptionsColumn.AllowEdit = false; this.gv_depotsId.Tag = "query_a.DEPOTS_ID"; this.gv_depotsId.Visible = true; this.gv_depotsId.VisibleIndex = 3; this.gv_depotsId.Width = 94; // // gv_itemNo // this.gv_itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_itemNo.AppearanceCell.Options.UseFont = true; this.gv_itemNo.Caption = "物料编码"; this.gv_itemNo.FieldName = "itemNo"; this.gv_itemNo.MinWidth = 50; this.gv_itemNo.Name = "gv_itemNo"; this.gv_itemNo.OptionsColumn.AllowEdit = false; this.gv_itemNo.Tag = "query_a.ITEM_NO"; this.gv_itemNo.Visible = true; this.gv_itemNo.VisibleIndex = 2; this.gv_itemNo.Width = 94; this.gv_quantity.VisibleIndex = 5; this.gv_quantity.Width = 73; // // gv_itemBarcode // @@ -400,8 +181,8 @@ this.gv_itemBarcode.OptionsColumn.AllowEdit = false; this.gv_itemBarcode.Tag = "query_a.ITEM_BARCODE"; this.gv_itemBarcode.Visible = true; this.gv_itemBarcode.VisibleIndex = 1; this.gv_itemBarcode.Width = 94; this.gv_itemBarcode.VisibleIndex = 4; this.gv_itemBarcode.Width = 73; // // gv_guid // @@ -413,8 +194,6 @@ this.gv_guid.Name = "gv_guid"; this.gv_guid.OptionsColumn.AllowEdit = false; this.gv_guid.Tag = "query_a.guid"; this.gv_guid.Visible = true; this.gv_guid.VisibleIndex = 0; this.gv_guid.Width = 94; // // toolBarMenu1 @@ -451,36 +230,87 @@ this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gv_guid, this.gv_itemBarcode, this.gv_itemNo, this.gv_depotsId, this.gv_depotSectionsId, this.gv_lotNo, this.gv_quantity, this.gv_depotsCode, this.gv_depotSectionsCode, this.gv_checkDate, this.gv_itemType, this.gv_indepDate, this.gv_iqcStatus, this.gv_suppNo, this.gv_lineNo, this.gv_billNo, this.gv_ebelnK3id, this.gv_lineK3id, this.gv_itemId, this.gv_suppId, this.gridColumn3, this.gridColumn2, this.gridColumn4, this.gv_itemBarcode, this.gv_quantity, this.gv_depotId, this.gv_ownerId, this.gridColumn6, this.gridColumn1, this.gv_depotSectionsCode, this.gv_ownerType, this.gv_stockOrgId, this.gv_indepUserCode}); this.gv_ownerId, this.gridColumn5, this.gv_indepUserCode, this.gv_indepDate}); this.gridView1.GridControl = this.gcMain1; this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; // // gridColumn3 // this.gridColumn3.Caption = "物料编码"; this.gridColumn3.FieldName = "itemNo"; this.gridColumn3.MinWidth = 25; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 1; this.gridColumn3.Width = 73; // // gridColumn2 // this.gridColumn2.Caption = "物料名称"; this.gridColumn2.FieldName = "itemName"; this.gridColumn2.MinWidth = 25; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 2; this.gridColumn2.Width = 73; // // gridColumn4 // this.gridColumn4.Caption = "规格型号"; this.gridColumn4.FieldName = "itemModel"; this.gridColumn4.MinWidth = 25; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; this.gridColumn4.Width = 73; // // gridColumn6 // this.gridColumn6.Caption = "仓库编号"; this.gridColumn6.FieldName = "depotNo"; this.gridColumn6.MinWidth = 25; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 7; this.gridColumn6.Width = 73; // // gridColumn1 // this.gridColumn1.Caption = "仓库名称"; this.gridColumn1.FieldName = "depotName"; this.gridColumn1.MinWidth = 25; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 8; this.gridColumn1.Width = 73; // // gridColumn5 // this.gridColumn5.Caption = "货主名称"; this.gridColumn5.FieldName = "ownerName"; this.gridColumn5.MinWidth = 25; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 12; this.gridColumn5.Width = 73; // // xtraTabControl1 // @@ -539,30 +369,20 @@ private DevExpress.XtraTab.XtraTabPage xtraTabPage1; private UserControls.Data.UcPageBar pageBar1; private DevExpress.XtraGrid.Columns.GridColumn gv_indepUserCode; private DevExpress.XtraGrid.Columns.GridColumn gv_stockOrgId; private DevExpress.XtraGrid.Columns.GridColumn gv_ownerType; private DevExpress.XtraGrid.Columns.GridColumn gv_ownerId; private DevExpress.XtraGrid.Columns.GridColumn gv_depotId; private DevExpress.XtraGrid.Columns.GridColumn gv_suppId; private DevExpress.XtraGrid.Columns.GridColumn gv_itemId; private DevExpress.XtraGrid.Columns.GridColumn gv_lineK3id; private DevExpress.XtraGrid.Columns.GridColumn gv_ebelnK3id; private DevExpress.XtraGrid.Columns.GridColumn gv_billNo; private DevExpress.XtraGrid.Columns.GridColumn gv_lineNo; private DevExpress.XtraGrid.Columns.GridColumn gv_suppNo; private DevExpress.XtraGrid.Columns.GridColumn gv_iqcStatus; private DevExpress.XtraGrid.Columns.GridColumn gv_indepDate; private DevExpress.XtraGrid.Columns.GridColumn gv_itemType; private DevExpress.XtraGrid.Columns.GridColumn gv_checkDate; private DevExpress.XtraGrid.Columns.GridColumn gv_depotSectionsCode; private DevExpress.XtraGrid.Columns.GridColumn gv_depotsCode; private DevExpress.XtraGrid.Columns.GridColumn gv_quantity; private DevExpress.XtraGrid.Columns.GridColumn gv_lotNo; private DevExpress.XtraGrid.Columns.GridColumn gv_depotSectionsId; private DevExpress.XtraGrid.Columns.GridColumn gv_depotsId; private DevExpress.XtraGrid.Columns.GridColumn gv_itemNo; private DevExpress.XtraGrid.Columns.GridColumn gv_itemBarcode; private DevExpress.XtraGrid.Columns.GridColumn gv_guid; private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; } } DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.cs
@@ -107,7 +107,8 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
@@ -356,7 +356,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliverDj.cs
@@ -172,7 +172,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder.cs
@@ -123,7 +123,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesReturnNotice.cs
@@ -414,7 +414,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesReturnNoticeDj.cs
@@ -159,7 +159,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs
@@ -294,7 +294,7 @@ pageBar1.TotalPages = dd.rtnData.pages;//总页 pageBar1.CurrentPage = curPage;//当前页 pageBar1.RecordCount = dd.rtnData.total;//总记录数 gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs
@@ -226,7 +226,7 @@ pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total;//记录总数 pageBar1.CurrentPage = curPage;//当前页 gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else { DevApp/Gs.DevApp/DevFrm/Sys/Frm_PrintUser.cs
@@ -265,7 +265,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Sys/Organization.cs
@@ -65,7 +65,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs
@@ -123,7 +123,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/User/Role.cs
@@ -268,7 +268,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/User/User.cs
@@ -279,7 +279,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/WOM/Frm_MesScrkDj.cs
@@ -161,7 +161,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WOM/Frm_MesWorkProd.cs
@@ -140,7 +140,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs
@@ -125,7 +125,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
@@ -283,7 +283,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -428,7 +428,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs
@@ -124,7 +124,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
@@ -238,7 +238,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/Frm_WwLlDj.cs
@@ -174,7 +174,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.cs
@@ -350,7 +350,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs
@@ -423,7 +423,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTblDj.cs
@@ -172,7 +172,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/SelectWwTbl.cs
@@ -87,7 +87,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/DevFrm/WW/WwBlcl.cs
@@ -386,7 +386,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/WW/WwBlclDj.cs
@@ -183,7 +183,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_ArrivalBarcode.cs
@@ -178,7 +178,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs
@@ -169,7 +169,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbck.cs
@@ -408,7 +408,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesDbckDj.cs
@@ -160,7 +160,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs
@@ -129,7 +129,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesShouTui.cs
@@ -429,7 +429,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesShouTuiDj.cs
@@ -174,7 +174,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesShouTuo.cs
@@ -397,7 +397,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesShouTuoDj.cs
@@ -159,7 +159,7 @@ { gcMain1.DataSource = dt; gcMain1.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain1, gridView1); DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -415,7 +415,8 @@ } else txt.ReadOnly = isEdt; if (txt != null) { if (txt != null) { switch (strVal) { case "True": @@ -1768,7 +1769,7 @@ { column.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; column.OptionsColumn.AllowEdit = true; column.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains; // column.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains; column.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; column.OptionsFilter.ImmediateUpdateAutoFilter = false; if (column.Tag == null || column.Tag.ToString().EndsWith("edit")) @@ -1777,6 +1778,7 @@ column.OptionsColumn.ReadOnly = true; if (column.Tag == null || column.Tag.ToString().Length <= 0) column.OptionsFilter.AllowAutoFilter = false; } gridView1.OptionsFilter.AllowAutoFilterConditionChange = DevExpress.Utils.DefaultBoolean.False; gridView1.OptionsView.ShowAutoFilterRow = true; @@ -1874,6 +1876,14 @@ edit.SelectAll(); } public static void SetGridLayout(GridView gridView1) { foreach (GridColumn column in gridView1.Columns) { if (column.Width > 500) column.Width = 500; } } public static void SetTabParameter(GridView gridView1, DevExpress.XtraTab.XtraTabControl xtraTabControl1, UcPageBar pageBar1, DelegateGetModel action = null, DelegateGetList page = null) { xtraTabControl1.SelectedPageChanged += (s, e) => DevApp/Gs.DevApp/UserControl/SelectCgMx.cs
@@ -98,7 +98,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/UserControl/SelectCheckDt.cs
@@ -89,7 +89,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/UserControl/SelectCk.cs
@@ -71,7 +71,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/UserControl/SelectCw.cs
@@ -75,7 +75,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else { DevApp/Gs.DevApp/UserControl/SelectHz.cs
@@ -70,7 +70,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); @@ -157,7 +157,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); @@ -197,7 +197,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/UserControl/SelectItemTbl.cs
@@ -84,7 +84,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/UserControl/SelectMesCgthSq.cs
@@ -101,7 +101,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/UserControl/SelectOrg.cs
@@ -63,7 +63,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); DevApp/Gs.DevApp/UserControl/SelectShuoTuiSq.cs
@@ -105,7 +105,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/UserControl/SelectWompba.cs
@@ -81,7 +81,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/UserControl/SelectWwPc.cs
@@ -87,7 +87,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); var dddd = dd.rtnData.pages; //总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total; //记录总数 DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
@@ -64,7 +64,7 @@ gcMain.BindingContext = new BindingContext(); gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); int dddd = dd.rtnData.pages;//总页 pageBar1.TotalPages = dddd; pageBar1.RecordCount = dd.rtnData.total;//记录总数