From 77396da0af89f57309a77b098084b56d7673a6ef Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 06 二月 2025 13:33:23 +0800 Subject: [PATCH] 细节 --- DevApp/Gs.DevApp/UserControl/UcLookItems.cs | 2 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs | 1 DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs | 9 DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.Designer.cs | 771 +++++++++++++++++++++++--------------------- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.Designer.cs | 69 ++-- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs | 114 ++++-- DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs | 5 DevApp/Gs.DevApp/UserControl/UcLookOrg.Designer.cs | 18 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 10 9 files changed, 537 insertions(+), 462 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs index e85de61..9928579 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.Designer.cs @@ -29,16 +29,16 @@ /// </summary> private void InitializeComponent() { - 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(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions5 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject17 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject18 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject19 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject20 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions6 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject21 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject22 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject23 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject24 = new DevExpress.Utils.SerializableAppearanceObject(); this.gvMx1pid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1facLevel = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJSSP = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); @@ -125,6 +125,8 @@ this.lb_itemModel = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); this.picCheckBox = new System.Windows.Forms.PictureBox(); + this.txt_OrgName = new Gs.DevApp.UserControl.UcLookOrg(); + this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).BeginInit(); @@ -362,7 +364,7 @@ // this.tabMxPage1.Controls.Add(this.gcMx1); this.tabMxPage1.Name = "tabMxPage1"; - this.tabMxPage1.Size = new System.Drawing.Size(1125, 377); + this.tabMxPage1.Size = new System.Drawing.Size(1125, 352); this.tabMxPage1.Text = "妫�楠岄」鐩槑缁�"; // // gcMx1 @@ -378,7 +380,7 @@ this.rptJSSP, this.rptJYSP, this.repositoryItemButtonEdit1}); - this.gcMx1.Size = new System.Drawing.Size(1125, 377); + this.gcMx1.Size = new System.Drawing.Size(1125, 352); this.gcMx1.TabIndex = 0; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx1}); @@ -444,10 +446,10 @@ // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; - editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + editorButtonImageOptions5.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions5.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, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉婚櫎", -1, true, true, false, editorButtonImageOptions5, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject17, serializableAppearanceObject18, serializableAppearanceObject19, serializableAppearanceObject20, "", 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); @@ -456,7 +458,7 @@ // this.lb_tname.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_tname.Appearance.Options.UseFont = true; - this.lb_tname.Location = new System.Drawing.Point(9, 52); + this.lb_tname.Location = new System.Drawing.Point(11, 83); this.lb_tname.Name = "lb_tname"; this.lb_tname.Size = new System.Drawing.Size(68, 21); this.lb_tname.TabIndex = 370; @@ -464,11 +466,11 @@ // // txt_itemNo // - this.txt_itemNo.Location = new System.Drawing.Point(85, 48); + this.txt_itemNo.Location = new System.Drawing.Point(85, 79); 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(262, 28); + this.txt_itemNo.Size = new System.Drawing.Size(301, 28); this.txt_itemNo.TabIndex = 370; this.txt_itemNo.Tag = "readOnly"; // @@ -492,7 +494,7 @@ // this.lb_fversion.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_fversion.Appearance.Options.UseFont = true; - this.lb_fversion.Location = new System.Drawing.Point(361, 52); + this.lb_fversion.Location = new System.Drawing.Point(392, 52); this.lb_fversion.Name = "lb_fversion"; this.lb_fversion.Size = new System.Drawing.Size(39, 21); this.lb_fversion.TabIndex = 298; @@ -501,11 +503,11 @@ // txt_fversion // this.txt_fversion.Enabled = false; - this.txt_fversion.Location = new System.Drawing.Point(405, 48); + this.txt_fversion.Location = new System.Drawing.Point(436, 48); 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(175, 28); + this.txt_fversion.Size = new System.Drawing.Size(170, 28); this.txt_fversion.TabIndex = 298; // // gv_fversion @@ -546,7 +548,7 @@ // this.lb_ftwoCheckor.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_ftwoCheckor.Appearance.Options.UseFont = true; - this.lb_ftwoCheckor.Location = new System.Drawing.Point(629, 20); + this.lb_ftwoCheckor.Location = new System.Drawing.Point(629, 19); this.lb_ftwoCheckor.Name = "lb_ftwoCheckor"; this.lb_ftwoCheckor.Size = new System.Drawing.Size(56, 21); this.lb_ftwoCheckor.TabIndex = 280; @@ -554,7 +556,7 @@ // // txt_ftwoCheckor // - this.txt_ftwoCheckor.Location = new System.Drawing.Point(685, 16); + this.txt_ftwoCheckor.Location = new System.Drawing.Point(685, 15); 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; @@ -580,7 +582,7 @@ // this.lb_ftwoChecked.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_ftwoChecked.Appearance.Options.UseFont = true; - this.lb_ftwoChecked.Location = new System.Drawing.Point(361, 83); + this.lb_ftwoChecked.Location = new System.Drawing.Point(392, 83); this.lb_ftwoChecked.Name = "lb_ftwoChecked"; this.lb_ftwoChecked.Size = new System.Drawing.Size(68, 21); this.lb_ftwoChecked.TabIndex = 273; @@ -606,7 +608,7 @@ // this.lb_foneCheckdate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_foneCheckdate.Appearance.Options.UseFont = true; - this.lb_foneCheckdate.Location = new System.Drawing.Point(612, 124); + this.lb_foneCheckdate.Location = new System.Drawing.Point(612, 113); this.lb_foneCheckdate.Name = "lb_foneCheckdate"; this.lb_foneCheckdate.Size = new System.Drawing.Size(73, 21); this.lb_foneCheckdate.TabIndex = 267; @@ -614,7 +616,7 @@ // // txt_foneCheckdate // - this.txt_foneCheckdate.Location = new System.Drawing.Point(685, 120); + this.txt_foneCheckdate.Location = new System.Drawing.Point(685, 113); 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; @@ -648,7 +650,7 @@ // // txt_foneCheckor // - this.txt_foneCheckor.Location = new System.Drawing.Point(685, 83); + this.txt_foneCheckor.Location = new System.Drawing.Point(685, 79); 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; @@ -674,7 +676,7 @@ // this.lb_foneChecked.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_foneChecked.Appearance.Options.UseFont = true; - this.lb_foneChecked.Location = new System.Drawing.Point(361, 124); + this.lb_foneChecked.Location = new System.Drawing.Point(392, 113); this.lb_foneChecked.Name = "lb_foneChecked"; this.lb_foneChecked.Size = new System.Drawing.Size(68, 21); this.lb_foneChecked.TabIndex = 258; @@ -700,7 +702,7 @@ // this.lb_itemNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_itemNo.Appearance.Options.UseFont = true; - this.lb_itemNo.Location = new System.Drawing.Point(9, 20); + this.lb_itemNo.Location = new System.Drawing.Point(11, 52); this.lb_itemNo.Name = "lb_itemNo"; this.lb_itemNo.Size = new System.Drawing.Size(68, 21); this.lb_itemNo.TabIndex = 222; @@ -724,7 +726,7 @@ // this.lb_memo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_memo.Appearance.Options.UseFont = true; - this.lb_memo.Location = new System.Drawing.Point(361, 20); + this.lb_memo.Location = new System.Drawing.Point(392, 19); this.lb_memo.Name = "lb_memo"; this.lb_memo.Size = new System.Drawing.Size(39, 21); this.lb_memo.TabIndex = 219; @@ -732,11 +734,11 @@ // // txt_memo // - this.txt_memo.Location = new System.Drawing.Point(405, 16); + this.txt_memo.Location = new System.Drawing.Point(436, 15); 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(175, 28); + this.txt_memo.Size = new System.Drawing.Size(170, 28); this.txt_memo.TabIndex = 219; // // gv_memo @@ -923,10 +925,10 @@ // tabMx // this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabMx.Location = new System.Drawing.Point(0, 161); + this.tabMx.Location = new System.Drawing.Point(0, 186); this.tabMx.Name = "tabMx"; this.tabMx.SelectedTabPage = this.tabMxPage1; - this.tabMx.Size = new System.Drawing.Size(1127, 409); + this.tabMx.Size = new System.Drawing.Size(1127, 384); this.tabMx.TabIndex = 2; this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabMxPage1, @@ -1049,10 +1051,10 @@ // repositoryItemButtonEdit3 // this.repositoryItemButtonEdit3.AutoHeight = false; - editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; - editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + editorButtonImageOptions6.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions6.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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions6, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject21, serializableAppearanceObject22, serializableAppearanceObject23, serializableAppearanceObject24, "", 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); @@ -1096,6 +1098,8 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.txt_OrgName); + this.panel1.Controls.Add(this.labelControl2); this.panel1.Controls.Add(this.txt_itemModel); this.panel1.Controls.Add(this.txt_ItemId); this.panel1.Controls.Add(this.txt_ftwoChecked); @@ -1123,32 +1127,32 @@ this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1127, 161); + this.panel1.Size = new System.Drawing.Size(1127, 186); this.panel1.TabIndex = 1; // // txt_itemModel // - this.txt_itemModel.Location = new System.Drawing.Point(85, 83); + this.txt_itemModel.Location = new System.Drawing.Point(85, 113); this.txt_itemModel.Name = "txt_itemModel"; this.txt_itemModel.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_itemModel.Properties.Appearance.Options.UseFont = true; - this.txt_itemModel.Size = new System.Drawing.Size(262, 64); + this.txt_itemModel.Size = new System.Drawing.Size(301, 64); this.txt_itemModel.TabIndex = 381; this.txt_itemModel.Tag = "readOnly"; // // txt_ItemId // this.txt_ItemId.IsReadly = false; - this.txt_ItemId.Location = new System.Drawing.Point(85, 14); + this.txt_ItemId.Location = new System.Drawing.Point(85, 46); this.txt_ItemId.Name = "txt_ItemId"; - this.txt_ItemId.Size = new System.Drawing.Size(262, 33); + this.txt_ItemId.Size = new System.Drawing.Size(301, 33); this.txt_ItemId.TabIndex = 380; this.txt_ItemId.Tag = "no"; // // txt_ftwoChecked // this.txt_ftwoChecked.Enabled = false; - this.txt_ftwoChecked.Location = new System.Drawing.Point(434, 83); + this.txt_ftwoChecked.Location = new System.Drawing.Point(465, 81); this.txt_ftwoChecked.Name = "txt_ftwoChecked"; this.txt_ftwoChecked.Properties.Caption = ""; this.txt_ftwoChecked.Size = new System.Drawing.Size(94, 24); @@ -1157,7 +1161,7 @@ // txt_foneChecked // this.txt_foneChecked.Enabled = false; - this.txt_foneChecked.Location = new System.Drawing.Point(434, 122); + this.txt_foneChecked.Location = new System.Drawing.Point(465, 113); this.txt_foneChecked.Name = "txt_foneChecked"; this.txt_foneChecked.Properties.Caption = ""; this.txt_foneChecked.Size = new System.Drawing.Size(94, 24); @@ -1167,7 +1171,7 @@ // this.lb_itemModel.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_itemModel.Appearance.Options.UseFont = true; - this.lb_itemModel.Location = new System.Drawing.Point(9, 83); + this.lb_itemModel.Location = new System.Drawing.Point(11, 113); this.lb_itemModel.Name = "lb_itemModel"; this.lb_itemModel.Size = new System.Drawing.Size(68, 21); this.lb_itemModel.TabIndex = 375; @@ -1191,6 +1195,24 @@ this.picCheckBox.TabIndex = 6; this.picCheckBox.TabStop = false; this.picCheckBox.Visible = false; + // + // txt_OrgName + // + this.txt_OrgName.IsReadly = false; + this.txt_OrgName.Location = new System.Drawing.Point(84, 14); + this.txt_OrgName.Name = "txt_OrgName"; + this.txt_OrgName.Size = new System.Drawing.Size(302, 30); + this.txt_OrgName.TabIndex = 383; + // + // labelControl2 + // + this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.labelControl2.Appearance.Options.UseFont = true; + this.labelControl2.Location = new System.Drawing.Point(11, 19); + this.labelControl2.Name = "labelControl2"; + this.labelControl2.Size = new System.Drawing.Size(68, 21); + this.labelControl2.TabIndex = 382; + this.labelControl2.Text = "閫夋嫨缁勭粐"; // // Frm_MesQmCheckitemDt // @@ -1340,5 +1362,7 @@ private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit3; private DevExpress.XtraEditors.SimpleButton btnSave; private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; + private UserControl.UcLookOrg txt_OrgName; + private DevExpress.XtraEditors.LabelControl labelControl2; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs index 2211461..0446616 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQmCheckitemDt.cs @@ -466,12 +466,19 @@ #region 浠ヤ笅涓虹绉嶄笅鎷� private void _setIno() { + this.txt_OrgName.EditChanged += (s, e) => { + string _orgId = txt_OrgName.GetId(); + if (string.IsNullOrEmpty(_orgId)) + return; + txt_ItemId.getSuppler(_orgId); + txt_itemModel.Text =""; + txt_itemNo.Text = ""; + }; txt_ItemId.EditChanged += (s, e) => { txt_itemModel.Text = this.txt_ItemId.GetModel(); txt_itemNo.Text = this.txt_ItemId.GetCode(); }; - _getListJyxm(); _getListJygj(); _getListJybz(); diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.Designer.cs index 6dbb0c0..6f837fc 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.Designer.cs @@ -692,7 +692,7 @@ this.bandedGridColumn1.OptionsColumn.ReadOnly = true; this.bandedGridColumn1.Tag = "org.fnamber"; this.bandedGridColumn1.Visible = true; - this.bandedGridColumn1.Width = 250; + this.bandedGridColumn1.Width = 61; // // gv_fType // @@ -707,7 +707,7 @@ this.gv_fType.Tag = "query_a.f_type"; this.gv_fType.UnboundDataType = typeof(bool); this.gv_fType.Visible = true; - this.gv_fType.Width = 50; + this.gv_fType.Width = 68; // // gv_urgentFlag // @@ -720,7 +720,7 @@ this.gv_urgentFlag.Tag = "query_a.urgent_flag"; this.gv_urgentFlag.UnboundDataType = typeof(bool); this.gv_urgentFlag.Visible = true; - this.gv_urgentFlag.Width = 50; + this.gv_urgentFlag.Width = 68; // // gv_fstatus // @@ -733,7 +733,7 @@ this.gv_fstatus.Tag = "query_a.fstatus"; this.gv_fstatus.UnboundDataType = typeof(bool); this.gv_fstatus.Visible = true; - this.gv_fstatus.Width = 50; + this.gv_fstatus.Width = 68; // // gridColumn2 // @@ -744,7 +744,7 @@ this.gridColumn2.Tag = "query_a.ckStatus"; this.gridColumn2.UnboundDataType = typeof(bool); this.gridColumn2.Visible = true; - this.gridColumn2.Width = 50; + this.gridColumn2.Width = 68; // // gv_billNo // @@ -756,7 +756,7 @@ this.gv_billNo.OptionsColumn.AllowEdit = false; this.gv_billNo.Tag = "query_a.bill_no"; this.gv_billNo.Visible = true; - this.gv_billNo.Width = 20; + this.gv_billNo.Width = 68; // // gv_createBy // @@ -768,7 +768,7 @@ this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.create_by"; this.gv_createBy.Visible = true; - this.gv_createBy.Width = 85; + this.gv_createBy.Width = 89; // // gv_createDate // @@ -780,7 +780,7 @@ this.gv_createDate.OptionsColumn.AllowEdit = false; this.gv_createDate.Tag = "query_a.create_date"; this.gv_createDate.Visible = true; - this.gv_createDate.Width = 180; + this.gv_createDate.Width = 193; // // gv_depotsCode // @@ -792,7 +792,7 @@ this.gv_depotsCode.OptionsColumn.AllowEdit = false; this.gv_depotsCode.Tag = "query_a.depots_code"; this.gv_depotsCode.Visible = true; - this.gv_depotsCode.Width = 83; + this.gv_depotsCode.Width = 87; // // gridColumn4 // @@ -801,7 +801,7 @@ this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowEdit = false; this.gridColumn4.Visible = true; - this.gridColumn4.Width = 119; + this.gridColumn4.Width = 128; // // gv_suppNo // @@ -813,7 +813,7 @@ this.gv_suppNo.OptionsColumn.AllowEdit = false; this.gv_suppNo.Tag = "query_a.supp_no"; this.gv_suppNo.Visible = true; - this.gv_suppNo.Width = 81; + this.gv_suppNo.Width = 69; // // gridColumn5 // @@ -822,7 +822,7 @@ this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowEdit = false; this.gridColumn5.Visible = true; - this.gridColumn5.Width = 49; + this.gridColumn5.Width = 70; // // gv_remark // @@ -834,7 +834,7 @@ this.gv_remark.OptionsColumn.AllowEdit = false; this.gv_remark.Tag = "query_a.remark"; this.gv_remark.Visible = true; - this.gv_remark.Width = 85; + this.gv_remark.Width = 90; // // gv_checkUser // @@ -846,7 +846,7 @@ this.gv_checkUser.OptionsColumn.AllowEdit = false; this.gv_checkUser.Tag = "query_a.check_user"; this.gv_checkUser.Visible = true; - this.gv_checkUser.Width = 106; + this.gv_checkUser.Width = 100; // // gv_checkDate // @@ -858,7 +858,7 @@ this.gv_checkDate.OptionsColumn.AllowEdit = false; this.gv_checkDate.Tag = "query_a.check_date"; this.gv_checkDate.Visible = true; - this.gv_checkDate.Width = 373; + this.gv_checkDate.Width = 64; // // xtraTabControl1 // @@ -1123,7 +1123,7 @@ this.gridBand19.Columns.Add(this.bandedGridColumn1); this.gridBand19.Name = "gridBand19"; this.gridBand19.VisibleIndex = 0; - this.gridBand19.Width = 250; + this.gridBand19.Width = 61; // // gridBand1 // @@ -1132,7 +1132,7 @@ this.gridBand1.MinWidth = 50; this.gridBand1.Name = "gridBand1"; this.gridBand1.VisibleIndex = 1; - this.gridBand1.Width = 50; + this.gridBand1.Width = 68; // // gridBand2 // @@ -1141,7 +1141,7 @@ this.gridBand2.MinWidth = 50; this.gridBand2.Name = "gridBand2"; this.gridBand2.VisibleIndex = 2; - this.gridBand2.Width = 50; + this.gridBand2.Width = 68; // // gridBand3 // @@ -1152,7 +1152,7 @@ this.gridBand3.MinWidth = 50; this.gridBand3.Name = "gridBand3"; this.gridBand3.VisibleIndex = 3; - this.gridBand3.Width = 50; + this.gridBand3.Width = 68; // // gridBand4 // @@ -1161,7 +1161,7 @@ this.gridBand4.MinWidth = 50; this.gridBand4.Name = "gridBand4"; this.gridBand4.VisibleIndex = 4; - this.gridBand4.Width = 50; + this.gridBand4.Width = 68; // // gridBand5 // @@ -1170,7 +1170,7 @@ this.gridBand5.MinWidth = 50; this.gridBand5.Name = "gridBand5"; this.gridBand5.VisibleIndex = 5; - this.gridBand5.Width = 50; + this.gridBand5.Width = 68; // // gridBand6 // @@ -1182,16 +1182,16 @@ this.gridBand8}); this.gridBand6.Name = "gridBand6"; this.gridBand6.VisibleIndex = 6; - this.gridBand6.Width = 265; + this.gridBand6.Width = 282; // // gridBand7 // this.gridBand7.Caption = "鍒涘缓浜哄憳"; this.gridBand7.Columns.Add(this.gv_createBy); - this.gridBand7.MinWidth = 60; + this.gridBand7.MinWidth = 50; this.gridBand7.Name = "gridBand7"; this.gridBand7.VisibleIndex = 0; - this.gridBand7.Width = 85; + this.gridBand7.Width = 89; // // gridBand8 // @@ -1200,7 +1200,7 @@ this.gridBand8.MinWidth = 50; this.gridBand8.Name = "gridBand8"; this.gridBand8.VisibleIndex = 1; - this.gridBand8.Width = 180; + this.gridBand8.Width = 193; // // gridBand9 // @@ -1212,7 +1212,7 @@ this.gridBand11}); this.gridBand9.Name = "gridBand9"; this.gridBand9.VisibleIndex = 7; - this.gridBand9.Width = 202; + this.gridBand9.Width = 215; // // gridBand10 // @@ -1221,7 +1221,7 @@ this.gridBand10.MinWidth = 50; this.gridBand10.Name = "gridBand10"; this.gridBand10.VisibleIndex = 0; - this.gridBand10.Width = 83; + this.gridBand10.Width = 87; // // gridBand11 // @@ -1230,7 +1230,7 @@ this.gridBand11.MinWidth = 50; this.gridBand11.Name = "gridBand11"; this.gridBand11.VisibleIndex = 1; - this.gridBand11.Width = 119; + this.gridBand11.Width = 128; // // gridBand13 // @@ -1242,7 +1242,7 @@ this.gridBand14}); this.gridBand13.Name = "gridBand13"; this.gridBand13.VisibleIndex = 8; - this.gridBand13.Width = 131; + this.gridBand13.Width = 139; // // gridBand12 // @@ -1251,7 +1251,7 @@ this.gridBand12.MinWidth = 50; this.gridBand12.Name = "gridBand12"; this.gridBand12.VisibleIndex = 0; - this.gridBand12.Width = 81; + this.gridBand12.Width = 69; // // gridBand14 // @@ -1260,7 +1260,6 @@ this.gridBand14.MinWidth = 50; this.gridBand14.Name = "gridBand14"; this.gridBand14.VisibleIndex = 1; - this.gridBand14.Width = 50; // // gridBand16 // @@ -1269,7 +1268,7 @@ this.gridBand16.MinWidth = 50; this.gridBand16.Name = "gridBand16"; this.gridBand16.VisibleIndex = 9; - this.gridBand16.Width = 85; + this.gridBand16.Width = 90; // // gridBand18 // @@ -1281,7 +1280,7 @@ this.gridBand17}); this.gridBand18.Name = "gridBand18"; this.gridBand18.VisibleIndex = 10; - this.gridBand18.Width = 479; + this.gridBand18.Width = 164; // // gridBand15 // @@ -1290,7 +1289,7 @@ this.gridBand15.MinWidth = 60; this.gridBand15.Name = "gridBand15"; this.gridBand15.VisibleIndex = 0; - this.gridBand15.Width = 106; + this.gridBand15.Width = 100; // // gridBand17 // @@ -1299,7 +1298,7 @@ this.gridBand17.MinWidth = 50; this.gridBand17.Name = "gridBand17"; this.gridBand17.VisibleIndex = 1; - this.gridBand17.Width = 373; + this.gridBand17.Width = 64; // // Frm_MesInvItemArn // diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs index d4b3c01..4a8ecd8 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemArn.cs @@ -100,7 +100,6 @@ } catch (Exception ex) { - MessageBox.Show(ex.Message); } }; diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.Designer.cs index 6679043..bd67ea1 100644 --- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.Designer.cs @@ -75,7 +75,6 @@ this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView(); - this.gridBand29 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_paymentParty = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gv_transportMethod = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gv_lastupdateDate = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); @@ -83,57 +82,29 @@ this.gv_checkDate = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gv_checkBy = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gv_checkFalg = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_factory = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand2 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_billNo = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand3 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_documentStatus = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand4 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_documentType = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand5 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_businessType = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand8 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_purchaseDate = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand6 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); - this.gridBand11 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_supplier = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand7 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.bandedGridColumn1 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand9 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_closeStatus = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand10 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); - this.gridBand12 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_purchaseDept = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand13 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.bandedGridColumn2 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand14 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_qtyAcceptance = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand15 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_purchaser = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand16 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_qualityReq = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand17 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); - this.gridBand19 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_cancellationStatus = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand18 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_cancellationPerson = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand20 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_cancellationDate = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand21 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); - this.gridBand25 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_createBy = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand22 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_createDate = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand23 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_remarks = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand24 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_changereason = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand28 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); - this.gridBand27 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_settlementParty = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gv_erpCheckBy = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); - this.gridBand26 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gv_erpCheckDate = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); @@ -143,6 +114,36 @@ this.panel1 = new System.Windows.Forms.Panel(); this.lbGuid = new DevExpress.XtraEditors.LabelControl(); this.txt_supplier = new Gs.DevApp.UserControl.UcLookSupplier(); + this.picCheckBox = new System.Windows.Forms.PictureBox(); + this.gridBand29 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand2 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand3 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand4 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand5 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand8 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand6 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand11 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand7 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand9 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand10 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand12 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand13 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand14 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand15 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand16 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand17 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand19 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand18 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand20 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand21 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand25 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand22 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand23 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand24 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand28 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand27 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); + this.gridBand26 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.tabMxPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); @@ -156,6 +157,7 @@ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); this.tabMx.SuspendLayout(); this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); this.SuspendLayout(); // // gvMx1demandDocumentLineId @@ -164,7 +166,7 @@ this.gvMx1demandDocumentLineId.AppearanceCell.Options.UseFont = true; this.gvMx1demandDocumentLineId.Caption = "闇�姹傚崟鎹鍙�"; this.gvMx1demandDocumentLineId.FieldName = "demandDocumentLineId"; - this.gvMx1demandDocumentLineId.MinWidth = 100; + this.gvMx1demandDocumentLineId.MinWidth = 50; this.gvMx1demandDocumentLineId.Name = "gvMx1demandDocumentLineId"; this.gvMx1demandDocumentLineId.Tag = "query_a.DEMAND_DOCUMENT_LINE_ID"; this.gvMx1demandDocumentLineId.Width = 100; @@ -175,7 +177,7 @@ this.gvMx1demandDocumentId.AppearanceCell.Options.UseFont = true; this.gvMx1demandDocumentId.Caption = "闇�姹傚崟鎹彿"; this.gvMx1demandDocumentId.FieldName = "demandDocumentId"; - this.gvMx1demandDocumentId.MinWidth = 100; + this.gvMx1demandDocumentId.MinWidth = 50; this.gvMx1demandDocumentId.Name = "gvMx1demandDocumentId"; this.gvMx1demandDocumentId.Tag = "query_a.DEMAND_DOCUMENT_ID"; this.gvMx1demandDocumentId.Visible = true; @@ -188,12 +190,13 @@ this.gvMx1changeFlag.AppearanceCell.Options.UseFont = true; this.gvMx1changeFlag.Caption = "鍙樻洿鏍囪瘑"; this.gvMx1changeFlag.FieldName = "changeFlag"; - this.gvMx1changeFlag.MinWidth = 100; + this.gvMx1changeFlag.MaxWidth = 50; + this.gvMx1changeFlag.MinWidth = 50; this.gvMx1changeFlag.Name = "gvMx1changeFlag"; this.gvMx1changeFlag.Tag = "query_a.CHANGE_FLAG"; this.gvMx1changeFlag.Visible = true; this.gvMx1changeFlag.VisibleIndex = 32; - this.gvMx1changeFlag.Width = 100; + this.gvMx1changeFlag.Width = 50; // // gvMx1planTrackingId // @@ -201,7 +204,7 @@ this.gvMx1planTrackingId.AppearanceCell.Options.UseFont = true; this.gvMx1planTrackingId.Caption = "璁″垝璺熻釜鍙�"; this.gvMx1planTrackingId.FieldName = "planTrackingId"; - this.gvMx1planTrackingId.MinWidth = 100; + this.gvMx1planTrackingId.MinWidth = 50; this.gvMx1planTrackingId.Name = "gvMx1planTrackingId"; this.gvMx1planTrackingId.Tag = "query_a.PLAN_TRACKING_ID"; this.gvMx1planTrackingId.Visible = true; @@ -214,7 +217,7 @@ this.gvMx1sourceDocumentType.AppearanceCell.Options.UseFont = true; this.gvMx1sourceDocumentType.Caption = "鏉ユ簮鍗曟嵁绫诲瀷"; this.gvMx1sourceDocumentType.FieldName = "sourceDocumentType"; - this.gvMx1sourceDocumentType.MinWidth = 80; + this.gvMx1sourceDocumentType.MinWidth = 50; this.gvMx1sourceDocumentType.Name = "gvMx1sourceDocumentType"; this.gvMx1sourceDocumentType.Tag = "query_a.SOURCE_DOCUMENT_TYPE"; this.gvMx1sourceDocumentType.Visible = true; @@ -227,12 +230,13 @@ this.gvMx1returnableStoredQty.AppearanceCell.Options.UseFont = true; this.gvMx1returnableStoredQty.Caption = "鍙��鍏ュ簱鏁伴噺"; this.gvMx1returnableStoredQty.FieldName = "returnableStoredQty"; - this.gvMx1returnableStoredQty.MinWidth = 80; + this.gvMx1returnableStoredQty.MaxWidth = 70; + this.gvMx1returnableStoredQty.MinWidth = 70; this.gvMx1returnableStoredQty.Name = "gvMx1returnableStoredQty"; this.gvMx1returnableStoredQty.Tag = "query_a.RETURNABLE_STORED_QTY"; this.gvMx1returnableStoredQty.Visible = true; this.gvMx1returnableStoredQty.VisibleIndex = 29; - this.gvMx1returnableStoredQty.Width = 80; + this.gvMx1returnableStoredQty.Width = 70; // // gvMx1returnableReceivedQty // @@ -240,12 +244,13 @@ this.gvMx1returnableReceivedQty.AppearanceCell.Options.UseFont = true; this.gvMx1returnableReceivedQty.Caption = "鍙��鏀惰揣鏁伴噺"; this.gvMx1returnableReceivedQty.FieldName = "returnableReceivedQty"; - this.gvMx1returnableReceivedQty.MinWidth = 80; + this.gvMx1returnableReceivedQty.MaxWidth = 70; + this.gvMx1returnableReceivedQty.MinWidth = 70; this.gvMx1returnableReceivedQty.Name = "gvMx1returnableReceivedQty"; this.gvMx1returnableReceivedQty.Tag = "query_a.RETURNABLE_RECEIVED_QTY"; this.gvMx1returnableReceivedQty.Visible = true; this.gvMx1returnableReceivedQty.VisibleIndex = 28; - this.gvMx1returnableReceivedQty.Width = 80; + this.gvMx1returnableReceivedQty.Width = 70; // // gvMx1totalReturnedQty // @@ -253,12 +258,13 @@ this.gvMx1totalReturnedQty.AppearanceCell.Options.UseFont = true; this.gvMx1totalReturnedQty.Caption = "鎬婚��璐ф暟閲�"; this.gvMx1totalReturnedQty.FieldName = "totalReturnedQty"; - this.gvMx1totalReturnedQty.MinWidth = 80; + this.gvMx1totalReturnedQty.MaxWidth = 70; + this.gvMx1totalReturnedQty.MinWidth = 70; this.gvMx1totalReturnedQty.Name = "gvMx1totalReturnedQty"; this.gvMx1totalReturnedQty.Tag = "query_a.TOTAL_RETURNED_QTY"; this.gvMx1totalReturnedQty.Visible = true; this.gvMx1totalReturnedQty.VisibleIndex = 27; - this.gvMx1totalReturnedQty.Width = 80; + this.gvMx1totalReturnedQty.Width = 70; // // gvMx1remainingStoredQty // @@ -266,12 +272,13 @@ this.gvMx1remainingStoredQty.AppearanceCell.Options.UseFont = true; this.gvMx1remainingStoredQty.Caption = "鍓╀綑鍏ュ簱鏁伴噺"; this.gvMx1remainingStoredQty.FieldName = "remainingStoredQty"; - this.gvMx1remainingStoredQty.MinWidth = 80; + this.gvMx1remainingStoredQty.MaxWidth = 70; + this.gvMx1remainingStoredQty.MinWidth = 70; this.gvMx1remainingStoredQty.Name = "gvMx1remainingStoredQty"; this.gvMx1remainingStoredQty.Tag = "query_a.REMAINING_STORED_QTY"; this.gvMx1remainingStoredQty.Visible = true; this.gvMx1remainingStoredQty.VisibleIndex = 26; - this.gvMx1remainingStoredQty.Width = 80; + this.gvMx1remainingStoredQty.Width = 70; // // gvMx1totalStoredQty // @@ -279,12 +286,13 @@ this.gvMx1totalStoredQty.AppearanceCell.Options.UseFont = true; this.gvMx1totalStoredQty.Caption = "鎬诲凡鍏ュ簱鏁伴噺"; this.gvMx1totalStoredQty.FieldName = "totalStoredQty"; - this.gvMx1totalStoredQty.MinWidth = 80; + this.gvMx1totalStoredQty.MaxWidth = 70; + this.gvMx1totalStoredQty.MinWidth = 70; this.gvMx1totalStoredQty.Name = "gvMx1totalStoredQty"; this.gvMx1totalStoredQty.Tag = "query_a.TOTAL_STORED_QTY"; this.gvMx1totalStoredQty.Visible = true; this.gvMx1totalStoredQty.VisibleIndex = 25; - this.gvMx1totalStoredQty.Width = 80; + this.gvMx1totalStoredQty.Width = 70; // // gvMx1remainingReceivedQty // @@ -292,12 +300,13 @@ this.gvMx1remainingReceivedQty.AppearanceCell.Options.UseFont = true; this.gvMx1remainingReceivedQty.Caption = "鍓╀綑鏀惰揣鏁伴噺"; this.gvMx1remainingReceivedQty.FieldName = "remainingReceivedQty"; - this.gvMx1remainingReceivedQty.MinWidth = 80; + this.gvMx1remainingReceivedQty.MaxWidth = 70; + this.gvMx1remainingReceivedQty.MinWidth = 70; this.gvMx1remainingReceivedQty.Name = "gvMx1remainingReceivedQty"; this.gvMx1remainingReceivedQty.Tag = "query_a.REMAINING_RECEIVED_QTY"; this.gvMx1remainingReceivedQty.Visible = true; this.gvMx1remainingReceivedQty.VisibleIndex = 13; - this.gvMx1remainingReceivedQty.Width = 80; + this.gvMx1remainingReceivedQty.Width = 70; // // gvMx1totalReceivedQty // @@ -305,12 +314,13 @@ this.gvMx1totalReceivedQty.AppearanceCell.Options.UseFont = true; this.gvMx1totalReceivedQty.Caption = "鎬诲凡鏀舵暟閲�"; this.gvMx1totalReceivedQty.FieldName = "totalReceivedQty"; - this.gvMx1totalReceivedQty.MinWidth = 80; + this.gvMx1totalReceivedQty.MaxWidth = 70; + this.gvMx1totalReceivedQty.MinWidth = 70; this.gvMx1totalReceivedQty.Name = "gvMx1totalReceivedQty"; this.gvMx1totalReceivedQty.Tag = "query_a.TOTAL_RECEIVED_QTY"; this.gvMx1totalReceivedQty.Visible = true; this.gvMx1totalReceivedQty.VisibleIndex = 24; - this.gvMx1totalReceivedQty.Width = 80; + this.gvMx1totalReceivedQty.Width = 70; // // gvMx1terminateTime // @@ -318,7 +328,7 @@ this.gvMx1terminateTime.AppearanceCell.Options.UseFont = true; this.gvMx1terminateTime.Caption = "缁堟鏃堕棿"; this.gvMx1terminateTime.FieldName = "terminateTime"; - this.gvMx1terminateTime.MinWidth = 100; + this.gvMx1terminateTime.MinWidth = 50; this.gvMx1terminateTime.Name = "gvMx1terminateTime"; this.gvMx1terminateTime.Tag = "query_a.TERMINATE_TIME"; this.gvMx1terminateTime.Visible = true; @@ -331,7 +341,7 @@ this.gvMx1terminator.AppearanceCell.Options.UseFont = true; this.gvMx1terminator.Caption = "缁堟浜�"; this.gvMx1terminator.FieldName = "terminator"; - this.gvMx1terminator.MinWidth = 100; + this.gvMx1terminator.MinWidth = 50; this.gvMx1terminator.Name = "gvMx1terminator"; this.gvMx1terminator.Tag = "query_a.TERMINATOR"; this.gvMx1terminator.Visible = true; @@ -342,14 +352,15 @@ // this.gvMx1businessTerminate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gvMx1businessTerminate.AppearanceCell.Options.UseFont = true; - this.gvMx1businessTerminate.Caption = "涓氬姟缁堟 A:姝e父锛孊:涓氬姟缁堟"; + this.gvMx1businessTerminate.Caption = "涓氬姟鐘舵��"; this.gvMx1businessTerminate.FieldName = "businessTerminate"; - this.gvMx1businessTerminate.MinWidth = 80; + this.gvMx1businessTerminate.MaxWidth = 50; + this.gvMx1businessTerminate.MinWidth = 50; this.gvMx1businessTerminate.Name = "gvMx1businessTerminate"; this.gvMx1businessTerminate.Tag = "query_a.BUSINESS_TERMINATE"; this.gvMx1businessTerminate.Visible = true; this.gvMx1businessTerminate.VisibleIndex = 5; - this.gvMx1businessTerminate.Width = 80; + this.gvMx1businessTerminate.Width = 50; // // gvMx1freezeTime // @@ -357,7 +368,7 @@ this.gvMx1freezeTime.AppearanceCell.Options.UseFont = true; this.gvMx1freezeTime.Caption = "鍐荤粨鏃堕棿"; this.gvMx1freezeTime.FieldName = "freezeTime"; - this.gvMx1freezeTime.MinWidth = 100; + this.gvMx1freezeTime.MinWidth = 50; this.gvMx1freezeTime.Name = "gvMx1freezeTime"; this.gvMx1freezeTime.Tag = "query_a.FREEZE_TIME"; this.gvMx1freezeTime.Visible = true; @@ -370,7 +381,7 @@ this.gvMx1freezer.AppearanceCell.Options.UseFont = true; this.gvMx1freezer.Caption = "鍐荤粨浜�"; this.gvMx1freezer.FieldName = "freezer"; - this.gvMx1freezer.MinWidth = 100; + this.gvMx1freezer.MinWidth = 50; this.gvMx1freezer.Name = "gvMx1freezer"; this.gvMx1freezer.Tag = "query_a.FREEZER"; this.gvMx1freezer.Visible = true; @@ -381,8 +392,9 @@ // this.gvMx1businessFreeze.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gvMx1businessFreeze.AppearanceCell.Options.UseFont = true; - this.gvMx1businessFreeze.Caption = "涓氬姟鍐荤粨鏍囪瘑"; + this.gvMx1businessFreeze.Caption = "鍐荤粨鐘舵��"; this.gvMx1businessFreeze.FieldName = "businessFreeze"; + this.gvMx1businessFreeze.MaxWidth = 50; this.gvMx1businessFreeze.MinWidth = 50; this.gvMx1businessFreeze.Name = "gvMx1businessFreeze"; this.gvMx1businessFreeze.Tag = "query_a.BUSINESS_FREEZE"; @@ -394,14 +406,15 @@ // this.gvMx1businessClose.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gvMx1businessClose.AppearanceCell.Options.UseFont = true; - this.gvMx1businessClose.Caption = "涓氬姟鍏抽棴鏍囪瘑"; + this.gvMx1businessClose.Caption = "鍏抽棴鐘舵��"; this.gvMx1businessClose.FieldName = "businessClose"; - this.gvMx1businessClose.MinWidth = 100; + this.gvMx1businessClose.MaxWidth = 50; + this.gvMx1businessClose.MinWidth = 50; this.gvMx1businessClose.Name = "gvMx1businessClose"; this.gvMx1businessClose.Tag = "query_a.BUSINESS_CLOSE"; this.gvMx1businessClose.Visible = true; this.gvMx1businessClose.VisibleIndex = 18; - this.gvMx1businessClose.Width = 100; + this.gvMx1businessClose.Width = 50; // // gvMx1remarks // @@ -409,7 +422,7 @@ this.gvMx1remarks.AppearanceCell.Options.UseFont = true; this.gvMx1remarks.Caption = "澶囨敞"; this.gvMx1remarks.FieldName = "remarks"; - this.gvMx1remarks.MinWidth = 100; + this.gvMx1remarks.MinWidth = 50; this.gvMx1remarks.Name = "gvMx1remarks"; this.gvMx1remarks.Tag = "query_a.REMARKS"; this.gvMx1remarks.Visible = true; @@ -422,6 +435,7 @@ this.gvMx1isGift.AppearanceCell.Options.UseFont = true; this.gvMx1isGift.Caption = "鏄惁璧犲搧"; this.gvMx1isGift.FieldName = "isGift"; + this.gvMx1isGift.MaxWidth = 50; this.gvMx1isGift.MinWidth = 50; this.gvMx1isGift.Name = "gvMx1isGift"; this.gvMx1isGift.Tag = "query_a.IS_GIFT"; @@ -435,7 +449,7 @@ this.gvMx1latestDeliveryDate.AppearanceCell.Options.UseFont = true; this.gvMx1latestDeliveryDate.Caption = "鏈�鏅氫氦璐ф棩鏈�"; this.gvMx1latestDeliveryDate.FieldName = "latestDeliveryDate"; - this.gvMx1latestDeliveryDate.MinWidth = 200; + this.gvMx1latestDeliveryDate.MinWidth = 50; this.gvMx1latestDeliveryDate.Name = "gvMx1latestDeliveryDate"; this.gvMx1latestDeliveryDate.Tag = "query_a.LATEST_DELIVERY_DATE"; this.gvMx1latestDeliveryDate.Visible = true; @@ -448,7 +462,7 @@ this.gvMx1earliestDeliveryDate.AppearanceCell.Options.UseFont = true; this.gvMx1earliestDeliveryDate.Caption = "鏈�鏃╀氦璐ф棩鏈�"; this.gvMx1earliestDeliveryDate.FieldName = "earliestDeliveryDate"; - this.gvMx1earliestDeliveryDate.MinWidth = 200; + this.gvMx1earliestDeliveryDate.MinWidth = 50; this.gvMx1earliestDeliveryDate.Name = "gvMx1earliestDeliveryDate"; this.gvMx1earliestDeliveryDate.Tag = "query_a.EARLIEST_DELIVERY_DATE"; this.gvMx1earliestDeliveryDate.Visible = true; @@ -461,7 +475,7 @@ this.gvMx1deliveryDate.AppearanceCell.Options.UseFont = true; this.gvMx1deliveryDate.Caption = "浜よ揣鏃ユ湡"; this.gvMx1deliveryDate.FieldName = "deliveryDate"; - this.gvMx1deliveryDate.MinWidth = 200; + this.gvMx1deliveryDate.MinWidth = 50; this.gvMx1deliveryDate.Name = "gvMx1deliveryDate"; this.gvMx1deliveryDate.Tag = "query_a.DELIVERY_DATE"; this.gvMx1deliveryDate.Visible = true; @@ -474,6 +488,7 @@ this.gvMx1pricingQty.AppearanceCell.Options.UseFont = true; this.gvMx1pricingQty.Caption = "璁′环鏁伴噺"; this.gvMx1pricingQty.FieldName = "pricingQty"; + this.gvMx1pricingQty.MaxWidth = 50; this.gvMx1pricingQty.MinWidth = 50; this.gvMx1pricingQty.Name = "gvMx1pricingQty"; this.gvMx1pricingQty.Tag = "query_a.PRICING_QTY"; @@ -487,6 +502,7 @@ this.gvMx1pricingUnit.AppearanceCell.Options.UseFont = true; this.gvMx1pricingUnit.Caption = "璁′环鍗曚綅"; this.gvMx1pricingUnit.FieldName = "jjFname"; + this.gvMx1pricingUnit.MaxWidth = 50; this.gvMx1pricingUnit.MinWidth = 50; this.gvMx1pricingUnit.Name = "gvMx1pricingUnit"; this.gvMx1pricingUnit.Tag = "query_a.PRICING_UNIT"; @@ -500,6 +516,7 @@ this.gvMx1inventoryUnit.AppearanceCell.Options.UseFont = true; this.gvMx1inventoryUnit.Caption = "搴撳瓨鍗曚綅"; this.gvMx1inventoryUnit.FieldName = "kcFname"; + this.gvMx1inventoryUnit.MaxWidth = 50; this.gvMx1inventoryUnit.MinWidth = 50; this.gvMx1inventoryUnit.Name = "gvMx1inventoryUnit"; this.gvMx1inventoryUnit.Tag = "query_a.INVENTORY_UNIT"; @@ -513,6 +530,7 @@ this.gvMx1purchaseQty.AppearanceCell.Options.UseFont = true; this.gvMx1purchaseQty.Caption = "閲囪喘鏁伴噺"; this.gvMx1purchaseQty.FieldName = "purchaseQty"; + this.gvMx1purchaseQty.MaxWidth = 50; this.gvMx1purchaseQty.MinWidth = 50; this.gvMx1purchaseQty.Name = "gvMx1purchaseQty"; this.gvMx1purchaseQty.Tag = "query_a.PURCHASE_QTY"; @@ -526,6 +544,7 @@ this.gvMx1purchaseUnit.AppearanceCell.Options.UseFont = true; this.gvMx1purchaseUnit.Caption = "閲囪喘鍗曚綅"; this.gvMx1purchaseUnit.FieldName = "cgFname"; + this.gvMx1purchaseUnit.MaxWidth = 50; this.gvMx1purchaseUnit.MinWidth = 50; this.gvMx1purchaseUnit.Name = "gvMx1purchaseUnit"; this.gvMx1purchaseUnit.Tag = "query_a.PURCHASE_UNIT"; @@ -539,7 +558,7 @@ this.gvMx1itemId.AppearanceCell.Options.UseFont = true; this.gvMx1itemId.Caption = "鐗╂枡ID"; this.gvMx1itemId.FieldName = "itemId"; - this.gvMx1itemId.MinWidth = 100; + this.gvMx1itemId.MinWidth = 50; this.gvMx1itemId.Name = "gvMx1itemId"; this.gvMx1itemId.Tag = "query_a.ITEM_ID"; this.gvMx1itemId.Width = 100; @@ -550,7 +569,7 @@ this.gvMx1salesOrderId.AppearanceCell.Options.UseFont = true; this.gvMx1salesOrderId.Caption = "閿�鍞鍗曞彿"; this.gvMx1salesOrderId.FieldName = "salesOrderId"; - this.gvMx1salesOrderId.MinWidth = 150; + this.gvMx1salesOrderId.MinWidth = 50; this.gvMx1salesOrderId.Name = "gvMx1salesOrderId"; this.gvMx1salesOrderId.Tag = "query_a.SALES_ORDER_ID"; this.gvMx1salesOrderId.Visible = true; @@ -626,7 +645,7 @@ // this.gridColumn3.Caption = "鏀舵枡缁勭粐"; this.gridColumn3.FieldName = "receivingOrg"; - this.gridColumn3.MinWidth = 250; + this.gridColumn3.MinWidth = 50; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 0; @@ -636,7 +655,7 @@ // this.gv_erpid.Caption = "ERP涓ID"; this.gv_erpid.FieldName = "ebelnK3id"; - this.gv_erpid.MinWidth = 100; + this.gv_erpid.MinWidth = 50; this.gv_erpid.Name = "gv_erpid"; this.gv_erpid.Visible = true; this.gv_erpid.VisibleIndex = 1; @@ -646,7 +665,7 @@ // this.gridColumn2.Caption = "鐗╂枡缂栫爜"; this.gridColumn2.FieldName = "itemNo"; - this.gridColumn2.MinWidth = 100; + this.gridColumn2.MinWidth = 50; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 3; @@ -656,7 +675,7 @@ // this.gridColumn1.Caption = "鐗╂枡鍚嶇О"; this.gridColumn1.FieldName = "itemName"; - this.gridColumn1.MinWidth = 120; + this.gridColumn1.MinWidth = 50; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 4; @@ -738,6 +757,8 @@ // // gridView1 // + this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); + this.gridView1.Appearance.HeaderPanel.Options.UseFont = true; this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); @@ -801,22 +822,6 @@ this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowColumnHeaders = false; this.gridView1.OptionsView.ShowGroupPanel = false; - // - // gridBand29 - // - this.gridBand29.Caption = "鏀舵枡缁勭粐"; - this.gridBand29.Columns.Add(this.gv_paymentParty); - this.gridBand29.Columns.Add(this.gv_transportMethod); - this.gridBand29.Columns.Add(this.gv_lastupdateDate); - this.gridBand29.Columns.Add(this.gv_lastupdateBy); - this.gridBand29.Columns.Add(this.gv_checkDate); - this.gridBand29.Columns.Add(this.gv_checkBy); - this.gridBand29.Columns.Add(this.gv_checkFalg); - this.gridBand29.MinWidth = 250; - this.gridBand29.Name = "gridBand29"; - this.gridBand29.Visible = false; - this.gridBand29.VisibleIndex = -1; - this.gridBand29.Width = 250; // // gv_paymentParty // @@ -902,15 +907,6 @@ this.gv_checkFalg.Tag = "query_a.CHECK_FALG"; this.gv_checkFalg.Width = 100; // - // gridBand1 - // - this.gridBand1.Caption = "ERPID鍙�"; - this.gridBand1.Columns.Add(this.gv_factory); - this.gridBand1.MinWidth = 80; - this.gridBand1.Name = "gridBand1"; - this.gridBand1.VisibleIndex = 0; - this.gridBand1.Width = 80; - // // gv_factory // this.gv_factory.Caption = "ERPID鍙�"; @@ -921,15 +917,6 @@ this.gv_factory.Tag = "query_a.ebelnK3id"; this.gv_factory.Visible = true; this.gv_factory.Width = 80; - // - // gridBand2 - // - this.gridBand2.Caption = "閲囪喘鍗曞彿"; - this.gridBand2.Columns.Add(this.gv_billNo); - this.gridBand2.MinWidth = 120; - this.gridBand2.Name = "gridBand2"; - this.gridBand2.VisibleIndex = 1; - this.gridBand2.Width = 120; // // gv_billNo // @@ -944,17 +931,6 @@ this.gv_billNo.Visible = true; this.gv_billNo.Width = 120; // - // gridBand3 - // - this.gridBand3.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand3.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; - this.gridBand3.Caption = "鍗曟嵁鐘舵��"; - this.gridBand3.Columns.Add(this.gv_documentStatus); - this.gridBand3.MinWidth = 70; - this.gridBand3.Name = "gridBand3"; - this.gridBand3.RowCount = 2; - this.gridBand3.VisibleIndex = 2; - // // gv_documentStatus // this.gv_documentStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -967,17 +943,6 @@ this.gv_documentStatus.Tag = "query_a.DOCUMENT_STATUS"; this.gv_documentStatus.Visible = true; this.gv_documentStatus.Width = 70; - // - // gridBand4 - // - this.gridBand4.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand4.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; - this.gridBand4.Caption = "鍗曟嵁绫诲瀷"; - this.gridBand4.Columns.Add(this.gv_documentType); - this.gridBand4.MinWidth = 80; - this.gridBand4.Name = "gridBand4"; - this.gridBand4.VisibleIndex = 3; - this.gridBand4.Width = 80; // // gv_documentType // @@ -992,16 +957,6 @@ this.gv_documentType.Visible = true; this.gv_documentType.Width = 80; // - // gridBand5 - // - this.gridBand5.Caption = "涓氬姟绫诲瀷"; - this.gridBand5.Columns.Add(this.gv_businessType); - this.gridBand5.MinWidth = 80; - this.gridBand5.Name = "gridBand5"; - this.gridBand5.Visible = false; - this.gridBand5.VisibleIndex = -1; - this.gridBand5.Width = 80; - // // gv_businessType // this.gv_businessType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -1014,15 +969,6 @@ this.gv_businessType.Tag = "query_a.BUSINESS_TYPE"; this.gv_businessType.Visible = true; this.gv_businessType.Width = 80; - // - // gridBand8 - // - this.gridBand8.Caption = "閲囪喘鏃ユ湡"; - this.gridBand8.Columns.Add(this.gv_purchaseDate); - this.gridBand8.MinWidth = 170; - this.gridBand8.Name = "gridBand8"; - this.gridBand8.VisibleIndex = 4; - this.gridBand8.Width = 170; // // gv_purchaseDate // @@ -1037,27 +983,6 @@ this.gv_purchaseDate.Visible = true; this.gv_purchaseDate.Width = 170; // - // gridBand6 - // - this.gridBand6.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.gridBand6.Caption = "渚涘簲鍟�"; - this.gridBand6.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { - this.gridBand11, - this.gridBand7}); - this.gridBand6.MinWidth = 200; - this.gridBand6.Name = "gridBand6"; - this.gridBand6.VisibleIndex = 5; - this.gridBand6.Width = 200; - // - // gridBand11 - // - this.gridBand11.Caption = "缂栧彿"; - this.gridBand11.Columns.Add(this.gv_supplier); - this.gridBand11.Name = "gridBand11"; - this.gridBand11.VisibleIndex = 0; - this.gridBand11.Width = 66; - // // gv_supplier // this.gv_supplier.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -1071,15 +996,6 @@ this.gv_supplier.Visible = true; this.gv_supplier.Width = 66; // - // gridBand7 - // - this.gridBand7.Caption = "鍚嶇О"; - this.gridBand7.Columns.Add(this.bandedGridColumn1); - this.gridBand7.MinWidth = 100; - this.gridBand7.Name = "gridBand7"; - this.gridBand7.VisibleIndex = 1; - this.gridBand7.Width = 134; - // // bandedGridColumn1 // this.bandedGridColumn1.Caption = "渚涘簲鍟嗗悕绉�"; @@ -1091,51 +1007,18 @@ this.bandedGridColumn1.Visible = true; this.bandedGridColumn1.Width = 134; // - // gridBand9 - // - this.gridBand9.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand9.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; - this.gridBand9.Caption = "鍏抽棴鏍囪瘑:A鏄�,B鍚�"; - this.gridBand9.Columns.Add(this.gv_closeStatus); - this.gridBand9.MinWidth = 80; - this.gridBand9.Name = "gridBand9"; - this.gridBand9.VisibleIndex = 6; - this.gridBand9.Width = 80; - // // gv_closeStatus // this.gv_closeStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_closeStatus.AppearanceCell.Options.UseFont = true; this.gv_closeStatus.Caption = "鍏抽棴鐘舵��"; - this.gv_closeStatus.FieldName = "closeStatus"; + this.gv_closeStatus.FieldName = "closeStatusTxt"; this.gv_closeStatus.MinWidth = 25; this.gv_closeStatus.Name = "gv_closeStatus"; this.gv_closeStatus.OptionsColumn.AllowEdit = false; this.gv_closeStatus.Tag = "query_a.CLOSE_STATUS"; this.gv_closeStatus.Visible = true; this.gv_closeStatus.Width = 80; - // - // gridBand10 - // - this.gridBand10.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand10.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.gridBand10.Caption = "閲囪喘閮ㄩ棬"; - this.gridBand10.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { - this.gridBand12, - this.gridBand13}); - this.gridBand10.MinWidth = 100; - this.gridBand10.Name = "gridBand10"; - this.gridBand10.VisibleIndex = 7; - this.gridBand10.Width = 130; - // - // gridBand12 - // - this.gridBand12.Caption = "缂栧彿"; - this.gridBand12.Columns.Add(this.gv_purchaseDept); - this.gridBand12.MinWidth = 50; - this.gridBand12.Name = "gridBand12"; - this.gridBand12.VisibleIndex = 0; - this.gridBand12.Width = 50; // // gv_purchaseDept // @@ -1150,15 +1033,6 @@ this.gv_purchaseDept.Visible = true; this.gv_purchaseDept.Width = 50; // - // gridBand13 - // - this.gridBand13.Caption = "鍚嶇О"; - this.gridBand13.Columns.Add(this.bandedGridColumn2); - this.gridBand13.MinWidth = 80; - this.gridBand13.Name = "gridBand13"; - this.gridBand13.VisibleIndex = 1; - this.gridBand13.Width = 80; - // // bandedGridColumn2 // this.bandedGridColumn2.Caption = "閲囪喘閮ㄩ棬鍚嶇О"; @@ -1169,17 +1043,6 @@ this.bandedGridColumn2.Tag = "query_a.departmentname"; this.bandedGridColumn2.Visible = true; this.bandedGridColumn2.Width = 80; - // - // gridBand14 - // - this.gridBand14.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand14.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; - this.gridBand14.Caption = "鏁伴噺楠屾敹"; - this.gridBand14.Columns.Add(this.gv_qtyAcceptance); - this.gridBand14.MinWidth = 50; - this.gridBand14.Name = "gridBand14"; - this.gridBand14.VisibleIndex = 8; - this.gridBand14.Width = 50; // // gv_qtyAcceptance // @@ -1194,15 +1057,6 @@ this.gv_qtyAcceptance.Visible = true; this.gv_qtyAcceptance.Width = 50; // - // gridBand15 - // - this.gridBand15.Caption = "閲囪喘鍛�"; - this.gridBand15.Columns.Add(this.gv_purchaser); - this.gridBand15.MinWidth = 60; - this.gridBand15.Name = "gridBand15"; - this.gridBand15.VisibleIndex = 9; - this.gridBand15.Width = 60; - // // gv_purchaser // this.gv_purchaser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -1215,15 +1069,6 @@ this.gv_purchaser.Tag = "query_a.PURCHASER"; this.gv_purchaser.Visible = true; this.gv_purchaser.Width = 60; - // - // gridBand16 - // - this.gridBand16.Caption = "璐ㄩ噺瑕佹眰"; - this.gridBand16.Columns.Add(this.gv_qualityReq); - this.gridBand16.MinWidth = 80; - this.gridBand16.Name = "gridBand16"; - this.gridBand16.VisibleIndex = 10; - this.gridBand16.Width = 80; // // gv_qualityReq // @@ -1238,49 +1083,18 @@ this.gv_qualityReq.Visible = true; this.gv_qualityReq.Width = 80; // - // gridBand17 - // - this.gridBand17.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand17.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.gridBand17.Caption = "浣滃簾鐘舵��"; - this.gridBand17.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { - this.gridBand19, - this.gridBand18, - this.gridBand20}); - this.gridBand17.Name = "gridBand17"; - this.gridBand17.VisibleIndex = 11; - this.gridBand17.Width = 300; - // - // gridBand19 - // - this.gridBand19.Caption = "浣滃簾鐘舵��"; - this.gridBand19.Columns.Add(this.gv_cancellationStatus); - this.gridBand19.MinWidth = 60; - this.gridBand19.Name = "gridBand19"; - this.gridBand19.VisibleIndex = 0; - this.gridBand19.Width = 60; - // // gv_cancellationStatus // this.gv_cancellationStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_cancellationStatus.AppearanceCell.Options.UseFont = true; this.gv_cancellationStatus.Caption = "浣滃簾鐘舵��"; - this.gv_cancellationStatus.FieldName = "cancellationStatus"; + this.gv_cancellationStatus.FieldName = "cancellationStatusTxt"; this.gv_cancellationStatus.MinWidth = 25; this.gv_cancellationStatus.Name = "gv_cancellationStatus"; this.gv_cancellationStatus.OptionsColumn.AllowEdit = false; this.gv_cancellationStatus.Tag = "query_a.CANCELLATION_STATUS"; this.gv_cancellationStatus.Visible = true; this.gv_cancellationStatus.Width = 60; - // - // gridBand18 - // - this.gridBand18.Caption = "浣滃簾浜�"; - this.gridBand18.Columns.Add(this.gv_cancellationPerson); - this.gridBand18.MinWidth = 60; - this.gridBand18.Name = "gridBand18"; - this.gridBand18.VisibleIndex = 1; - this.gridBand18.Width = 60; // // gv_cancellationPerson // @@ -1295,15 +1109,6 @@ this.gv_cancellationPerson.Visible = true; this.gv_cancellationPerson.Width = 60; // - // gridBand20 - // - this.gridBand20.Caption = "浣滃簾鏃ユ湡"; - this.gridBand20.Columns.Add(this.gv_cancellationDate); - this.gridBand20.MinWidth = 180; - this.gridBand20.Name = "gridBand20"; - this.gridBand20.VisibleIndex = 2; - this.gridBand20.Width = 180; - // // gv_cancellationDate // this.gv_cancellationDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -1316,27 +1121,6 @@ this.gv_cancellationDate.Tag = "query_a.CANCELLATION_DATE"; this.gv_cancellationDate.Visible = true; this.gv_cancellationDate.Width = 180; - // - // gridBand21 - // - this.gridBand21.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand21.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.gridBand21.Caption = "鍒涘缓淇℃伅"; - this.gridBand21.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { - this.gridBand25, - this.gridBand22}); - this.gridBand21.Name = "gridBand21"; - this.gridBand21.VisibleIndex = 12; - this.gridBand21.Width = 260; - // - // gridBand25 - // - this.gridBand25.Caption = "鍒涘缓浜�"; - this.gridBand25.Columns.Add(this.gv_createBy); - this.gridBand25.MinWidth = 80; - this.gridBand25.Name = "gridBand25"; - this.gridBand25.VisibleIndex = 0; - this.gridBand25.Width = 80; // // gv_createBy // @@ -1351,15 +1135,6 @@ this.gv_createBy.Visible = true; this.gv_createBy.Width = 80; // - // gridBand22 - // - this.gridBand22.Caption = "鍒涘缓鏃ユ湡"; - this.gridBand22.Columns.Add(this.gv_createDate); - this.gridBand22.MinWidth = 180; - this.gridBand22.Name = "gridBand22"; - this.gridBand22.VisibleIndex = 1; - this.gridBand22.Width = 180; - // // gv_createDate // this.gv_createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -1372,15 +1147,6 @@ this.gv_createDate.Tag = "query_a.CREATE_DATE"; this.gv_createDate.Visible = true; this.gv_createDate.Width = 180; - // - // gridBand23 - // - this.gridBand23.Caption = "澶囨敞"; - this.gridBand23.Columns.Add(this.gv_remarks); - this.gridBand23.MinWidth = 100; - this.gridBand23.Name = "gridBand23"; - this.gridBand23.VisibleIndex = 13; - this.gridBand23.Width = 100; // // gv_remarks // @@ -1395,15 +1161,6 @@ this.gv_remarks.Visible = true; this.gv_remarks.Width = 100; // - // gridBand24 - // - this.gridBand24.Caption = "鍙樻洿鍘熷洜"; - this.gridBand24.Columns.Add(this.gv_changereason); - this.gridBand24.MinWidth = 100; - this.gridBand24.Name = "gridBand24"; - this.gridBand24.VisibleIndex = 14; - this.gridBand24.Width = 100; - // // gv_changereason // this.gv_changereason.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -1416,28 +1173,6 @@ this.gv_changereason.Tag = "query_a.CHANGEREASON"; this.gv_changereason.Visible = true; this.gv_changereason.Width = 100; - // - // gridBand28 - // - this.gridBand28.AppearanceHeader.Options.UseTextOptions = true; - this.gridBand28.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.gridBand28.Caption = "ERP瀹℃牳淇℃伅"; - this.gridBand28.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { - this.gridBand27, - this.gridBand26}); - this.gridBand28.Name = "gridBand28"; - this.gridBand28.VisibleIndex = 15; - this.gridBand28.Width = 260; - // - // gridBand27 - // - this.gridBand27.Caption = "瀹℃牳浜�"; - this.gridBand27.Columns.Add(this.gv_settlementParty); - this.gridBand27.Columns.Add(this.gv_erpCheckBy); - this.gridBand27.MinWidth = 80; - this.gridBand27.Name = "gridBand27"; - this.gridBand27.VisibleIndex = 0; - this.gridBand27.Width = 80; // // gv_settlementParty // @@ -1463,15 +1198,6 @@ this.gv_erpCheckBy.Tag = "query_a.ERP_CHECK_BY"; this.gv_erpCheckBy.Visible = true; this.gv_erpCheckBy.Width = 80; - // - // gridBand26 - // - this.gridBand26.Caption = "ERP瀹℃牳鏃堕棿"; - this.gridBand26.Columns.Add(this.gv_erpCheckDate); - this.gridBand26.MinWidth = 180; - this.gridBand26.Name = "gridBand26"; - this.gridBand26.VisibleIndex = 1; - this.gridBand26.Width = 180; // // gv_erpCheckDate // @@ -1573,11 +1299,320 @@ this.txt_supplier.Size = new System.Drawing.Size(305, 30); this.txt_supplier.TabIndex = 227; // + // picCheckBox + // + this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck; + this.picCheckBox.Location = new System.Drawing.Point(844, 55); + this.picCheckBox.Name = "picCheckBox"; + this.picCheckBox.Size = new System.Drawing.Size(100, 50); + this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCheckBox.TabIndex = 229; + this.picCheckBox.TabStop = false; + this.picCheckBox.Visible = false; + // + // gridBand29 + // + this.gridBand29.Caption = "鏀舵枡缁勭粐"; + this.gridBand29.Columns.Add(this.gv_paymentParty); + this.gridBand29.Columns.Add(this.gv_transportMethod); + this.gridBand29.Columns.Add(this.gv_lastupdateDate); + this.gridBand29.Columns.Add(this.gv_lastupdateBy); + this.gridBand29.Columns.Add(this.gv_checkDate); + this.gridBand29.Columns.Add(this.gv_checkBy); + this.gridBand29.Columns.Add(this.gv_checkFalg); + this.gridBand29.MinWidth = 250; + this.gridBand29.Name = "gridBand29"; + this.gridBand29.Visible = false; + this.gridBand29.VisibleIndex = -1; + this.gridBand29.Width = 250; + // + // gridBand1 + // + this.gridBand1.AppearanceHeader.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.ControlText; + this.gridBand1.AppearanceHeader.Options.UseForeColor = true; + this.gridBand1.Caption = "ERPID鍙�"; + this.gridBand1.Columns.Add(this.gv_factory); + this.gridBand1.MinWidth = 50; + this.gridBand1.Name = "gridBand1"; + this.gridBand1.VisibleIndex = 0; + this.gridBand1.Width = 80; + // + // gridBand2 + // + this.gridBand2.Caption = "閲囪喘鍗曞彿"; + this.gridBand2.Columns.Add(this.gv_billNo); + this.gridBand2.MinWidth = 50; + this.gridBand2.Name = "gridBand2"; + this.gridBand2.VisibleIndex = 1; + this.gridBand2.Width = 120; + // + // gridBand3 + // + this.gridBand3.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand3.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gridBand3.Caption = "鍗曟嵁鐘舵��"; + this.gridBand3.Columns.Add(this.gv_documentStatus); + this.gridBand3.MinWidth = 70; + this.gridBand3.Name = "gridBand3"; + this.gridBand3.RowCount = 2; + this.gridBand3.VisibleIndex = 2; + // + // gridBand4 + // + this.gridBand4.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand4.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gridBand4.Caption = "鍗曟嵁绫诲瀷"; + this.gridBand4.Columns.Add(this.gv_documentType); + this.gridBand4.MinWidth = 50; + this.gridBand4.Name = "gridBand4"; + this.gridBand4.VisibleIndex = 3; + this.gridBand4.Width = 80; + // + // gridBand5 + // + this.gridBand5.Caption = "涓氬姟绫诲瀷"; + this.gridBand5.Columns.Add(this.gv_businessType); + this.gridBand5.MinWidth = 80; + this.gridBand5.Name = "gridBand5"; + this.gridBand5.Visible = false; + this.gridBand5.VisibleIndex = -1; + this.gridBand5.Width = 80; + // + // gridBand8 + // + this.gridBand8.Caption = "閲囪喘鏃ユ湡"; + this.gridBand8.Columns.Add(this.gv_purchaseDate); + this.gridBand8.MinWidth = 50; + this.gridBand8.Name = "gridBand8"; + this.gridBand8.VisibleIndex = 4; + this.gridBand8.Width = 170; + // + // gridBand6 + // + this.gridBand6.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.gridBand6.Caption = "渚涘簲鍟�"; + this.gridBand6.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { + this.gridBand11, + this.gridBand7}); + this.gridBand6.MinWidth = 50; + this.gridBand6.Name = "gridBand6"; + this.gridBand6.VisibleIndex = 5; + this.gridBand6.Width = 200; + // + // gridBand11 + // + this.gridBand11.Caption = "缂栧彿"; + this.gridBand11.Columns.Add(this.gv_supplier); + this.gridBand11.Name = "gridBand11"; + this.gridBand11.VisibleIndex = 0; + this.gridBand11.Width = 66; + // + // gridBand7 + // + this.gridBand7.Caption = "鍚嶇О"; + this.gridBand7.Columns.Add(this.bandedGridColumn1); + this.gridBand7.MinWidth = 50; + this.gridBand7.Name = "gridBand7"; + this.gridBand7.VisibleIndex = 1; + this.gridBand7.Width = 134; + // + // gridBand9 + // + this.gridBand9.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand9.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gridBand9.Caption = "鍏抽棴鏍囪瘑"; + this.gridBand9.Columns.Add(this.gv_closeStatus); + this.gridBand9.MinWidth = 50; + this.gridBand9.Name = "gridBand9"; + this.gridBand9.VisibleIndex = 6; + this.gridBand9.Width = 80; + // + // gridBand10 + // + this.gridBand10.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand10.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.gridBand10.Caption = "閲囪喘閮ㄩ棬"; + this.gridBand10.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { + this.gridBand12, + this.gridBand13}); + this.gridBand10.MinWidth = 50; + this.gridBand10.Name = "gridBand10"; + this.gridBand10.VisibleIndex = 7; + this.gridBand10.Width = 130; + // + // gridBand12 + // + this.gridBand12.Caption = "缂栧彿"; + this.gridBand12.Columns.Add(this.gv_purchaseDept); + this.gridBand12.MinWidth = 50; + this.gridBand12.Name = "gridBand12"; + this.gridBand12.VisibleIndex = 0; + this.gridBand12.Width = 50; + // + // gridBand13 + // + this.gridBand13.Caption = "鍚嶇О"; + this.gridBand13.Columns.Add(this.bandedGridColumn2); + this.gridBand13.MinWidth = 50; + this.gridBand13.Name = "gridBand13"; + this.gridBand13.VisibleIndex = 1; + this.gridBand13.Width = 80; + // + // gridBand14 + // + this.gridBand14.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand14.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gridBand14.Caption = "鏁伴噺楠屾敹"; + this.gridBand14.Columns.Add(this.gv_qtyAcceptance); + this.gridBand14.MinWidth = 50; + this.gridBand14.Name = "gridBand14"; + this.gridBand14.VisibleIndex = 8; + this.gridBand14.Width = 50; + // + // gridBand15 + // + this.gridBand15.Caption = "閲囪喘鍛�"; + this.gridBand15.Columns.Add(this.gv_purchaser); + this.gridBand15.MinWidth = 50; + this.gridBand15.Name = "gridBand15"; + this.gridBand15.VisibleIndex = 9; + this.gridBand15.Width = 60; + // + // gridBand16 + // + this.gridBand16.Caption = "璐ㄩ噺瑕佹眰"; + this.gridBand16.Columns.Add(this.gv_qualityReq); + this.gridBand16.MinWidth = 50; + this.gridBand16.Name = "gridBand16"; + this.gridBand16.VisibleIndex = 10; + this.gridBand16.Width = 80; + // + // gridBand17 + // + this.gridBand17.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand17.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.gridBand17.Caption = "浣滃簾鐘舵��"; + this.gridBand17.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { + this.gridBand19, + this.gridBand18, + this.gridBand20}); + this.gridBand17.Name = "gridBand17"; + this.gridBand17.VisibleIndex = 11; + this.gridBand17.Width = 300; + // + // gridBand19 + // + this.gridBand19.Caption = "浣滃簾鐘舵��"; + this.gridBand19.Columns.Add(this.gv_cancellationStatus); + this.gridBand19.MinWidth = 60; + this.gridBand19.Name = "gridBand19"; + this.gridBand19.VisibleIndex = 0; + this.gridBand19.Width = 60; + // + // gridBand18 + // + this.gridBand18.Caption = "浣滃簾浜�"; + this.gridBand18.Columns.Add(this.gv_cancellationPerson); + this.gridBand18.MinWidth = 60; + this.gridBand18.Name = "gridBand18"; + this.gridBand18.VisibleIndex = 1; + this.gridBand18.Width = 60; + // + // gridBand20 + // + this.gridBand20.Caption = "浣滃簾鏃ユ湡"; + this.gridBand20.Columns.Add(this.gv_cancellationDate); + this.gridBand20.MinWidth = 50; + this.gridBand20.Name = "gridBand20"; + this.gridBand20.VisibleIndex = 2; + this.gridBand20.Width = 180; + // + // gridBand21 + // + this.gridBand21.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand21.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.gridBand21.Caption = "鍒涘缓淇℃伅"; + this.gridBand21.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { + this.gridBand25, + this.gridBand22}); + this.gridBand21.Name = "gridBand21"; + this.gridBand21.VisibleIndex = 12; + this.gridBand21.Width = 260; + // + // gridBand25 + // + this.gridBand25.Caption = "鍒涘缓浜�"; + this.gridBand25.Columns.Add(this.gv_createBy); + this.gridBand25.MinWidth = 50; + this.gridBand25.Name = "gridBand25"; + this.gridBand25.VisibleIndex = 0; + this.gridBand25.Width = 80; + // + // gridBand22 + // + this.gridBand22.Caption = "鍒涘缓鏃ユ湡"; + this.gridBand22.Columns.Add(this.gv_createDate); + this.gridBand22.MinWidth = 50; + this.gridBand22.Name = "gridBand22"; + this.gridBand22.VisibleIndex = 1; + this.gridBand22.Width = 180; + // + // gridBand23 + // + this.gridBand23.Caption = "澶囨敞"; + this.gridBand23.Columns.Add(this.gv_remarks); + this.gridBand23.MinWidth = 50; + this.gridBand23.Name = "gridBand23"; + this.gridBand23.VisibleIndex = 13; + this.gridBand23.Width = 100; + // + // gridBand24 + // + this.gridBand24.Caption = "鍙樻洿鍘熷洜"; + this.gridBand24.Columns.Add(this.gv_changereason); + this.gridBand24.MinWidth = 50; + this.gridBand24.Name = "gridBand24"; + this.gridBand24.VisibleIndex = 14; + this.gridBand24.Width = 100; + // + // gridBand28 + // + this.gridBand28.AppearanceHeader.Options.UseTextOptions = true; + this.gridBand28.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.gridBand28.Caption = "ERP瀹℃牳淇℃伅"; + this.gridBand28.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { + this.gridBand27, + this.gridBand26}); + this.gridBand28.Name = "gridBand28"; + this.gridBand28.VisibleIndex = 15; + this.gridBand28.Width = 260; + // + // gridBand27 + // + this.gridBand27.Caption = "瀹℃牳浜�"; + this.gridBand27.Columns.Add(this.gv_settlementParty); + this.gridBand27.Columns.Add(this.gv_erpCheckBy); + this.gridBand27.MinWidth = 80; + this.gridBand27.Name = "gridBand27"; + this.gridBand27.VisibleIndex = 0; + this.gridBand27.Width = 80; + // + // gridBand26 + // + this.gridBand26.Caption = "ERP瀹℃牳鏃堕棿"; + this.gridBand26.Columns.Add(this.gv_erpCheckDate); + this.gridBand26.MinWidth = 50; + this.gridBand26.Name = "gridBand26"; + this.gridBand26.VisibleIndex = 1; + this.gridBand26.Width = 180; + // // Frm_MesRohIn // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1365, 682); + this.Controls.Add(this.picCheckBox); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); this.Name = "Frm_MesRohIn"; @@ -1596,6 +1631,7 @@ this.tabMx.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); this.ResumeLayout(false); } @@ -1689,6 +1725,7 @@ private UserControl.UcLookSupplier txt_supplier; private DevExpress.XtraEditors.LabelControl lbGuid; private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private System.Windows.Forms.PictureBox picCheckBox; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand29; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand1; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand2; diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs index 27948f7..0306c62 100644 --- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs +++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesRohIn.cs @@ -23,7 +23,7 @@ toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) => + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "docStusTxt", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); }); @@ -146,7 +146,6 @@ { MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } - } private void getModel(string strGuid) { @@ -187,6 +186,7 @@ gcMx1.BindingContext = new BindingContext(); gcMx1.DataSource = dt; gcMx1.ForceInitialize(); + gvMx1.BestFitColumns(); } else { @@ -202,7 +202,6 @@ { MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } - } } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 76a3f04..4792255 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -1570,7 +1570,7 @@ var checkStatus = dgv.GetRowCellValue(selectedRow, fileName).ToString(); // 鑾峰彇鎸囧畾鍒楃殑鍊� btnChkIco.Text = checkStatus; btnChkIco.Visible = true; - if (checkStatus == "1" || checkStatus.ToUpper() == true.ToString().ToUpper()) + if (checkStatus == "1" || checkStatus.ToUpper() == true.ToString().ToUpper()|| checkStatus == "宸插鏍�") { btnChkIco.Image = global::Gs.DevApp.Properties.Resources.ico_check; btnChkIco.Tag = "宸插鏍�"; @@ -1696,9 +1696,11 @@ /// <param name="action"></param> public static void SetGridViewParameter(GridView gridView1, PictureBox picCheckBox = null, Form fm = null, string fileName = "checkStatus", string icoName = "", DelegateGetModel action = null) { + gridView1.Appearance.HeaderPanel.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.ControlText; gridView1.OptionsView.ColumnAutoWidth = false;//鑷姩璋冩暣鍒楀 foreach (GridColumn column in gridView1.Columns) { + column.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; column.OptionsColumn.AllowEdit = true; column.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains; column.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; @@ -1855,6 +1857,12 @@ /// <param name="icoName"></param> public static void SetGridViewParameterMx(GridView gridView1) { + // gridView1.OptionsView.Alignment = DataGridViewContentAlignment.MiddleLeft; + foreach (GridColumn column in gridView1.Columns) + { + // column.DefaultCellStyle.Alignment = true; + column.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; + } gridView1.OptionsView.ColumnAutoWidth = false;//鑷姩璋冩暣鍒楀 gridView1.OptionsFilter.AllowFilterEditor = false; gridView1.OptionsFilter.ShowCustomFunctions = DevExpress.Utils.DefaultBoolean.False; diff --git a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs index ef9ff44..94f9463 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs @@ -59,6 +59,8 @@ lookSearchSupplier.Properties.DataSource = dt; lookSearchSupplier.Properties.DisplayMember = "itemName"; lookSearchSupplier.Properties.ValueMember = "id"; + lookSearchSupplier.ForceInitialize(); + lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; } catch (Exception ex) { diff --git a/DevApp/Gs.DevApp/UserControl/UcLookOrg.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcLookOrg.Designer.cs index cc132d2..5f81e93 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookOrg.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookOrg.Designer.cs @@ -31,8 +31,8 @@ this.lookSearchSupplier = new DevExpress.XtraEditors.SearchLookUpEdit(); this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.lookSearchSupplier.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit(); @@ -70,6 +70,14 @@ this.gridColumn1.FieldName = "fid"; this.gridColumn1.Name = "gridColumn1"; // + // gridColumn5 + // + this.gridColumn5.Caption = "缁勭粐鍚嶇О"; + this.gridColumn5.FieldName = "name"; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 0; + // // gridColumn2 // this.gridColumn2.Caption = "缁勭粐缂栧彿"; @@ -80,14 +88,6 @@ this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 80; - // - // gridColumn5 - // - this.gridColumn5.Caption = "缁勭粐鍚嶇О"; - this.gridColumn5.FieldName = "name"; - this.gridColumn5.Name = "gridColumn5"; - this.gridColumn5.Visible = true; - this.gridColumn5.VisibleIndex = 0; // // gridColumn4 // -- Gitblit v1.9.3