From 998a0389c282411a5ea583ba50428a46e014c01c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 25 十二月 2024 13:44:17 +0800 Subject: [PATCH] 委外补料 --- DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.cs | 4 DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs | 8 DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs | 76 DevApp/Gs.DevApp/Gs.DevApp.csproj | 36 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs | 33 DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs | 168 +++ DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.cs | 538 ++++++++++ DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.resx | 120 ++ DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 2 DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 3 DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.Designer.cs | 1317 +++++++++++++++++++++++++ DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs | 57 DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.Designer.cs | 10 DevApp/Gs.DevApp/UserControl/UcLookWwgd.Designer.cs | 165 +++ DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.Designer.cs | 345 ------ DevApp/Gs.DevApp/UserControl/UcLookWwgd.resx | 120 ++ 16 files changed, 2,613 insertions(+), 389 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs index 95afe49..9377842 100644 --- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs @@ -29,11 +29,11 @@ /// </summary> private void InitializeComponent() { - 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 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(); this.gvMx1bld014 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1bld012 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSearchLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); @@ -111,6 +111,8 @@ this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.tabMx = new DevExpress.XtraTab.XtraTabControl(); this.panel1 = new System.Windows.Forms.Panel(); + this.txt_bl017 = new DevExpress.XtraEditors.ComboBoxEdit(); + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.txt_bl001 = new Gs.DevApp.UserControl.UcLookDaa(); this.txt_bl018 = new DevExpress.XtraEditors.CheckEdit(); this.txt_bl010 = new Gs.DevApp.UserControl.UcLookCk(); @@ -142,6 +144,7 @@ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); this.tabMx.SuspendLayout(); this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl017.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_bl018.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); this.SuspendLayout(); @@ -170,7 +173,7 @@ this.gvMx1bld012.FieldName = "bld012"; this.gvMx1bld012.MinWidth = 50; this.gvMx1bld012.Name = "gvMx1bld012"; - this.gvMx1bld012.Tag = "query_a.bld012"; + this.gvMx1bld012.Tag = "edit"; this.gvMx1bld012.Visible = true; this.gvMx1bld012.VisibleIndex = 1; this.gvMx1bld012.Width = 94; @@ -206,7 +209,7 @@ this.gvMx1bld010.FieldName = "bld010"; this.gvMx1bld010.MinWidth = 150; this.gvMx1bld010.Name = "gvMx1bld010"; - this.gvMx1bld010.Tag = "query_a.bld010"; + this.gvMx1bld010.Tag = "edit"; this.gvMx1bld010.Visible = true; this.gvMx1bld010.VisibleIndex = 8; this.gvMx1bld010.Width = 150; @@ -251,7 +254,7 @@ this.gvMx1bld007.FieldName = "bld007"; this.gvMx1bld007.MinWidth = 80; this.gvMx1bld007.Name = "gvMx1bld007"; - this.gvMx1bld007.Tag = "yz_quantity_0"; + this.gvMx1bld007.Tag = "yz_quantity_0_edit"; this.gvMx1bld007.Visible = true; this.gvMx1bld007.VisibleIndex = 5; this.gvMx1bld007.Width = 94; @@ -415,10 +418,10 @@ // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; - editorButtonImageOptions2.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, 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, 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); @@ -1111,6 +1114,8 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.txt_bl017); + this.panel1.Controls.Add(this.labelControl1); this.panel1.Controls.Add(this.txt_bl001); this.panel1.Controls.Add(this.txt_bl018); this.panel1.Controls.Add(this.txt_bl010); @@ -1146,6 +1151,29 @@ this.panel1.Size = new System.Drawing.Size(1126, 160); this.panel1.TabIndex = 1; // + // txt_bl017 + // + this.txt_bl017.EditValue = "鐢熶骇瓒呴"; + this.txt_bl017.Location = new System.Drawing.Point(852, 88); + this.txt_bl017.Name = "txt_bl017"; + this.txt_bl017.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txt_bl017.Properties.Items.AddRange(new object[] { + "鐢熶骇瓒呴"}); + this.txt_bl017.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; + this.txt_bl017.Size = new System.Drawing.Size(125, 24); + this.txt_bl017.TabIndex = 286; + // + // labelControl1 + // + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.labelControl1.Appearance.Options.UseFont = true; + this.labelControl1.Location = new System.Drawing.Point(773, 90); + this.labelControl1.Name = "labelControl1"; + this.labelControl1.Size = new System.Drawing.Size(68, 21); + this.labelControl1.TabIndex = 285; + this.labelControl1.Text = "鍗曟嵁绫诲瀷"; + // // txt_bl001 // this.txt_bl001.IsReadly = false; @@ -1174,7 +1202,7 @@ // // labelControl11 // - this.labelControl11.Location = new System.Drawing.Point(790, 107); + this.labelControl11.Location = new System.Drawing.Point(1042, 131); this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(45, 18); @@ -1185,7 +1213,7 @@ // lbGuid // this.lbGuid.AutoSize = true; - this.lbGuid.Location = new System.Drawing.Point(841, 107); + this.lbGuid.Location = new System.Drawing.Point(1093, 131); this.lbGuid.Name = "lbGuid"; this.lbGuid.Size = new System.Drawing.Size(0, 21); this.lbGuid.TabIndex = 1; @@ -1238,6 +1266,7 @@ this.tabMx.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl017.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_bl018.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); this.ResumeLayout(false); @@ -1340,5 +1369,7 @@ private DevExpress.XtraGrid.Columns.GridColumn dabGuid; private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private DevExpress.XtraEditors.LabelControl labelControl1; + private DevExpress.XtraEditors.ComboBoxEdit txt_bl017; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs index 32f720f..4cb261e 100644 --- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs @@ -54,8 +54,8 @@ txt_bl002.Text = txt_bl001.GetPrdNo(); txt_bl014.Text = txt_bl001.GetPrdName(); txt_bl015.Text = txt_bl001.GetPrdModel(); - txt_bl011.Text= txt_bl001.GetWorkName(); - txt_bl012.Text= txt_bl001.GetWorkXb(); + txt_bl011.Text = txt_bl001.GetWorkName(); + txt_bl012.Text = txt_bl001.GetWorkXb(); }; var _obj = new { @@ -207,9 +207,16 @@ return; } Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); - List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); - gvList.Add(gvMx1); - UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(lbGuid.Text.Trim()); + } + else + { + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + } } /// <summary> /// 鏂板浜嬩欢 @@ -248,13 +255,19 @@ txt_bl010.Focus(); return; } + if (string.IsNullOrEmpty(txt_bl017.Text.Trim())) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鍗曟嵁绫诲瀷锛�"); + txt_bl017.Focus(); + return; + } var _obj = new { guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 inGdId = inGdId,//宸ュ崟鍙� inCkId = inCkId,//浠撳簱 inYy = txt_bl007.Text.Trim(),//鍘熷洜 - inType = "鐢熶骇瓒呴", + inType = txt_bl017.Text.Trim(), list = new List<dynamic>(), }; gvMx1.CloseEditor(); @@ -279,7 +292,7 @@ _obj.list.Add(new { Guid = _guid, - DabGuid= (row["dabGuid"].ToString()), + DabGuid = (row["dabGuid"].ToString()), ItemId = (row["bld012"].ToString()), Sqsl = (row["bld007"].ToString()), Bz = (row["bld010"].ToString()), @@ -295,7 +308,9 @@ { lbGuid.Text = _rtn.rtnData; toolBarMenu1.isSetBtn = true; - UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false); + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false, gvList); } } catch (Exception ex) @@ -479,7 +494,7 @@ DataRowView SelectedDataRow = (DataRowView)LookupEdit.GetSelectedDataRow(); gvMx1.SetFocusedRowCellValue("bld002", SelectedDataRow["itemNo"]); gvMx1.SetFocusedRowCellValue("bld003", SelectedDataRow["itemName"]); - gvMx1.SetFocusedRowCellValue("bld004", SelectedDataRow["itemModel"]); + gvMx1.SetFocusedRowCellValue("bld004", SelectedDataRow["itemModel"]); gvMx1.SetFocusedRowCellValue("dabGuid", SelectedDataRow["dabGuid"]); } diff --git a/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs b/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs index 4413af9..cc9f00a 100644 --- a/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/User/Role.Designer.cs @@ -140,25 +140,25 @@ // this.roleName.Caption = "瑙掕壊鍚嶇О"; this.roleName.FieldName = "roleName"; - this.roleName.MinWidth = 80; + this.roleName.MinWidth = 120; this.roleName.Name = "roleName"; this.roleName.OptionsColumn.AllowEdit = false; this.roleName.Tag = "query_role_Name"; this.roleName.Visible = true; this.roleName.VisibleIndex = 0; - this.roleName.Width = 100; + this.roleName.Width = 120; // // rolRemark // this.rolRemark.Caption = "鍔熻兘澶囨敞"; this.rolRemark.FieldName = "roleRemark"; - this.rolRemark.MinWidth = 200; + this.rolRemark.MinWidth = 250; this.rolRemark.Name = "rolRemark"; this.rolRemark.OptionsColumn.AllowEdit = false; this.rolRemark.Tag = "query_role_Remark"; this.rolRemark.Visible = true; this.rolRemark.VisibleIndex = 1; - this.rolRemark.Width = 200; + this.rolRemark.Width = 250; // // status // diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs index 0cd7af6..41ee721 100644 --- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs @@ -246,6 +246,9 @@ this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.gcMain = 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.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.pageBar1 = new UserControls.Data.UcPageBar(); @@ -255,9 +258,6 @@ this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); this.picCheckBox = new System.Windows.Forms.PictureBox(); - this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.tabMxPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); @@ -2590,7 +2590,7 @@ this.gv_unit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); this.gv_unit.AppearanceCell.Options.UseFont = true; this.gv_unit.Caption = "鍗曚綅 "; - this.gv_unit.FieldName = "unit"; + this.gv_unit.FieldName = "dwName"; this.gv_unit.MinWidth = 50; this.gv_unit.Name = "gv_unit"; this.gv_unit.OptionsColumn.AllowEdit = false; @@ -2662,7 +2662,7 @@ this.gv_businessStatus.OptionsColumn.AllowEdit = false; this.gv_businessStatus.Tag = "query_a.BUSINESS_STATUS"; this.gv_businessStatus.Visible = true; - this.gv_businessStatus.VisibleIndex = 8; + this.gv_businessStatus.VisibleIndex = 9; this.gv_businessStatus.Width = 94; // // lb_orderType @@ -2695,7 +2695,7 @@ this.gv_orderType.OptionsColumn.AllowEdit = false; this.gv_orderType.Tag = "query_a.ORDER_TYPE"; this.gv_orderType.Visible = true; - this.gv_orderType.VisibleIndex = 7; + this.gv_orderType.VisibleIndex = 8; this.gv_orderType.Width = 94; // // lb_orderDate @@ -2728,7 +2728,7 @@ this.gv_orderDate.OptionsColumn.AllowEdit = false; this.gv_orderDate.Tag = "query_a.ORDER_DATE"; this.gv_orderDate.Visible = true; - this.gv_orderDate.VisibleIndex = 6; + this.gv_orderDate.VisibleIndex = 7; this.gv_orderDate.Width = 94; // // lb_warehouse @@ -2761,7 +2761,7 @@ this.gv_warehouse.OptionsColumn.AllowEdit = false; this.gv_warehouse.Tag = "query_a.WAREHOUSE"; this.gv_warehouse.Visible = true; - this.gv_warehouse.VisibleIndex = 5; + this.gv_warehouse.VisibleIndex = 6; this.gv_warehouse.Width = 94; // // lb_smtProcessAttr @@ -2914,6 +2914,36 @@ this.gridView1.OptionsFind.ShowSearchNavButtons = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; + // + // gridColumn3 + // + this.gridColumn3.Caption = "浜у搧缂栫爜"; + this.gridColumn3.FieldName = "wlbm"; + this.gridColumn3.MinWidth = 100; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 2; + this.gridColumn3.Width = 100; + // + // gridColumn2 + // + this.gridColumn2.Caption = "鐗╂枡鍚嶇О"; + this.gridColumn2.FieldName = "wlmc"; + this.gridColumn2.MinWidth = 150; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 3; + this.gridColumn2.Width = 150; + // + // gridColumn1 + // + this.gridColumn1.Caption = "瑙勬牸鍨嬪彿"; + this.gridColumn1.FieldName = "wlgg"; + this.gridColumn1.MinWidth = 150; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 4; + this.gridColumn1.Width = 150; // // xtraTabControl1 // @@ -3118,36 +3148,6 @@ this.picCheckBox.TabIndex = 8; this.picCheckBox.TabStop = false; this.picCheckBox.Visible = false; - // - // gridColumn1 - // - this.gridColumn1.Caption = "瑙勬牸鍨嬪彿"; - this.gridColumn1.FieldName = "wlgg"; - this.gridColumn1.MinWidth = 150; - this.gridColumn1.Name = "gridColumn1"; - this.gridColumn1.Visible = true; - this.gridColumn1.VisibleIndex = 4; - this.gridColumn1.Width = 150; - // - // gridColumn2 - // - this.gridColumn2.Caption = "鐗╂枡鍚嶇О"; - this.gridColumn2.FieldName = "wlmc"; - this.gridColumn2.MinWidth = 150; - this.gridColumn2.Name = "gridColumn2"; - this.gridColumn2.Visible = true; - this.gridColumn2.VisibleIndex = 3; - this.gridColumn2.Width = 150; - // - // gridColumn3 - // - this.gridColumn3.Caption = "浜у搧缂栫爜"; - this.gridColumn3.FieldName = "wlbm"; - this.gridColumn3.MinWidth = 100; - this.gridColumn3.Name = "gridColumn3"; - this.gridColumn3.Visible = true; - this.gridColumn3.VisibleIndex = 2; - this.gridColumn3.Width = 100; // // Frm_ProductionOrder // diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.Designer.cs new file mode 100644 index 0000000..52da09e --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.Designer.cs @@ -0,0 +1,1317 @@ +/* Create By GS EasyCode */ +namespace Gs.DevApp.DevFrm +{ + partial class Frm_WwCl + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + 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.gvMx1bld014 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld012 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemSearchLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); + this.repositoryItemSearchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gvMx1bld010 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld009 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld008 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld007 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld006 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld004 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld003 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld002 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld001 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1mid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1id = new DevExpress.XtraGrid.Columns.GridColumn(); + this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx1 = new DevExpress.XtraGrid.GridControl(); + this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.dabGuid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + this.gv_wcTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_wcUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl019 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl018 = new DevExpress.XtraEditors.LabelControl(); + this.gv_bl018 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl017 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl016 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl016 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl016 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl015 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl015 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl015 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl014 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl014 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl014 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl013 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl013 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl013 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl012 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl011 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl010 = new DevExpress.XtraEditors.LabelControl(); + this.gv_bl010 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl009 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl008 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl007 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl007 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl007 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl006 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl006 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl006 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl005 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl004 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl003 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl002 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl002 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl002 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl001 = new DevExpress.XtraEditors.LabelControl(); + this.gv_bl001 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_blNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_blNo = new DevExpress.XtraEditors.TextEdit(); + this.gv_blNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_id = new DevExpress.XtraGrid.Columns.GridColumn(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); + this.gcMain = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.pageBar1 = new UserControls.Data.UcPageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.tabMx = new DevExpress.XtraTab.XtraTabControl(); + this.panel1 = new System.Windows.Forms.Panel(); + this.txt_bl001 = new Gs.DevApp.UserControl.UcLookWwgd(); + this.txt_bl017 = new DevExpress.XtraEditors.ComboBoxEdit(); + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl018 = new DevExpress.XtraEditors.CheckEdit(); + this.txt_bl010 = new Gs.DevApp.UserControl.UcLookCk(); + this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); + this.lbGuid = new System.Windows.Forms.Label(); + this.picCheckBox = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).BeginInit(); + this.tabMxPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl016.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl015.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl014.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl013.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl007.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl006.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl002.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_blNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); + this.tabMx.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl017.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl018.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); + this.SuspendLayout(); + // + // gvMx1bld014 + // + this.gvMx1bld014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld014.AppearanceCell.Options.UseFont = true; + this.gvMx1bld014.Caption = "ERP鎶曟枡鍗曡id "; + this.gvMx1bld014.FieldName = "bld014"; + this.gvMx1bld014.MinWidth = 50; + this.gvMx1bld014.Name = "gvMx1bld014"; + this.gvMx1bld014.Tag = "query_a.bld014"; + this.gvMx1bld014.Width = 94; + // + // gvMx1bld012 + // + this.gvMx1bld012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld012.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld012.AppearanceCell.Options.UseFont = true; + this.gvMx1bld012.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld012.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld012.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld012.Caption = "鐗╂枡id "; + this.gvMx1bld012.ColumnEdit = this.repositoryItemSearchLookUpEdit1; + this.gvMx1bld012.FieldName = "bld012"; + this.gvMx1bld012.MinWidth = 50; + this.gvMx1bld012.Name = "gvMx1bld012"; + this.gvMx1bld012.Tag = "edit"; + this.gvMx1bld012.Visible = true; + this.gvMx1bld012.VisibleIndex = 1; + this.gvMx1bld012.Width = 94; + // + // repositoryItemSearchLookUpEdit1 + // + this.repositoryItemSearchLookUpEdit1.AutoHeight = false; + this.repositoryItemSearchLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemSearchLookUpEdit1.DisplayMember = "itemId"; + this.repositoryItemSearchLookUpEdit1.Name = "repositoryItemSearchLookUpEdit1"; + this.repositoryItemSearchLookUpEdit1.NullText = "璇烽�夋嫨"; + this.repositoryItemSearchLookUpEdit1.PopupView = this.repositoryItemSearchLookUpEdit1View; + this.repositoryItemSearchLookUpEdit1.ValueMember = "itemId"; + this.repositoryItemSearchLookUpEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemSearchLookUpEdit1_EditValueChanged); + // + // repositoryItemSearchLookUpEdit1View + // + this.repositoryItemSearchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + this.repositoryItemSearchLookUpEdit1View.Name = "repositoryItemSearchLookUpEdit1View"; + this.repositoryItemSearchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; + this.repositoryItemSearchLookUpEdit1View.OptionsView.ShowGroupPanel = false; + // + // gvMx1bld010 + // + this.gvMx1bld010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld010.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld010.AppearanceCell.Options.UseFont = true; + this.gvMx1bld010.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld010.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld010.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld010.Caption = "澶囨敞 "; + this.gvMx1bld010.FieldName = "bld010"; + this.gvMx1bld010.MinWidth = 150; + this.gvMx1bld010.Name = "gvMx1bld010"; + this.gvMx1bld010.Tag = "edit"; + this.gvMx1bld010.Visible = true; + this.gvMx1bld010.VisibleIndex = 8; + this.gvMx1bld010.Width = 150; + // + // gvMx1bld009 + // + this.gvMx1bld009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld009.AppearanceCell.Options.UseFont = true; + this.gvMx1bld009.Caption = "鍗曚綅 "; + this.gvMx1bld009.FieldName = "bld009"; + this.gvMx1bld009.MinWidth = 50; + this.gvMx1bld009.Name = "gvMx1bld009"; + this.gvMx1bld009.OptionsColumn.ReadOnly = true; + this.gvMx1bld009.Tag = "query_a.bld009"; + this.gvMx1bld009.Visible = true; + this.gvMx1bld009.VisibleIndex = 7; + this.gvMx1bld009.Width = 94; + // + // gvMx1bld008 + // + this.gvMx1bld008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld008.AppearanceCell.Options.UseFont = true; + this.gvMx1bld008.Caption = "宸查鏁伴噺 "; + this.gvMx1bld008.FieldName = "bld008"; + this.gvMx1bld008.MinWidth = 80; + this.gvMx1bld008.Name = "gvMx1bld008"; + this.gvMx1bld008.OptionsColumn.ReadOnly = true; + this.gvMx1bld008.Tag = "query_a.bld008"; + this.gvMx1bld008.Visible = true; + this.gvMx1bld008.VisibleIndex = 6; + this.gvMx1bld008.Width = 94; + // + // gvMx1bld007 + // + this.gvMx1bld007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld007.AppearanceCell.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); + this.gvMx1bld007.AppearanceCell.Options.UseFont = true; + this.gvMx1bld007.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld007.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld007.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld007.Caption = "鐢宠鏁伴噺 "; + this.gvMx1bld007.FieldName = "bld007"; + this.gvMx1bld007.MinWidth = 80; + this.gvMx1bld007.Name = "gvMx1bld007"; + this.gvMx1bld007.Tag = "yz_quantity_0_edit"; + this.gvMx1bld007.Visible = true; + this.gvMx1bld007.VisibleIndex = 5; + this.gvMx1bld007.Width = 94; + // + // gvMx1bld006 + // + this.gvMx1bld006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld006.AppearanceCell.Options.UseFont = true; + this.gvMx1bld006.Caption = "璁″垝鏁伴噺 "; + this.gvMx1bld006.FieldName = "bld006"; + this.gvMx1bld006.MinWidth = 80; + this.gvMx1bld006.Name = "gvMx1bld006"; + this.gvMx1bld006.OptionsColumn.ReadOnly = true; + this.gvMx1bld006.Tag = "query_a.bld006"; + this.gvMx1bld006.Width = 94; + // + // gvMx1bld004 + // + this.gvMx1bld004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld004.AppearanceCell.Options.UseFont = true; + this.gvMx1bld004.Caption = "瑙勬牸鍨嬪彿 "; + this.gvMx1bld004.FieldName = "bld004"; + this.gvMx1bld004.MinWidth = 120; + this.gvMx1bld004.Name = "gvMx1bld004"; + this.gvMx1bld004.OptionsColumn.ReadOnly = true; + this.gvMx1bld004.Tag = "query_a.bld004"; + this.gvMx1bld004.Visible = true; + this.gvMx1bld004.VisibleIndex = 4; + this.gvMx1bld004.Width = 120; + // + // gvMx1bld003 + // + this.gvMx1bld003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld003.AppearanceCell.Options.UseFont = true; + this.gvMx1bld003.Caption = "鐗╂枡鍚嶇О "; + this.gvMx1bld003.FieldName = "bld003"; + this.gvMx1bld003.MinWidth = 120; + this.gvMx1bld003.Name = "gvMx1bld003"; + this.gvMx1bld003.OptionsColumn.ReadOnly = true; + this.gvMx1bld003.Tag = "query_a.bld003"; + this.gvMx1bld003.Visible = true; + this.gvMx1bld003.VisibleIndex = 3; + this.gvMx1bld003.Width = 120; + // + // gvMx1bld002 + // + this.gvMx1bld002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld002.AppearanceCell.Options.UseFont = true; + this.gvMx1bld002.Caption = "鐗╂枡缂栧彿 "; + this.gvMx1bld002.FieldName = "bld002"; + this.gvMx1bld002.MinWidth = 100; + this.gvMx1bld002.Name = "gvMx1bld002"; + this.gvMx1bld002.OptionsColumn.ReadOnly = true; + this.gvMx1bld002.Tag = "query_a.bld002"; + this.gvMx1bld002.Visible = true; + this.gvMx1bld002.VisibleIndex = 2; + this.gvMx1bld002.Width = 100; + // + // gvMx1bld001 + // + this.gvMx1bld001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld001.AppearanceCell.Options.UseFont = true; + this.gvMx1bld001.Caption = "宸ュ崟鍙� "; + this.gvMx1bld001.FieldName = "bld001"; + this.gvMx1bld001.MinWidth = 50; + this.gvMx1bld001.Name = "gvMx1bld001"; + this.gvMx1bld001.OptionsColumn.ReadOnly = true; + this.gvMx1bld001.Tag = "query_a.bld001"; + this.gvMx1bld001.Visible = true; + this.gvMx1bld001.VisibleIndex = 0; + this.gvMx1bld001.Width = 94; + // + // gvMx1mid + // + this.gvMx1mid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1mid.AppearanceCell.Options.UseFont = true; + this.gvMx1mid.Caption = "MID "; + this.gvMx1mid.FieldName = "mid"; + this.gvMx1mid.MinWidth = 50; + this.gvMx1mid.Name = "gvMx1mid"; + this.gvMx1mid.OptionsColumn.ReadOnly = true; + this.gvMx1mid.Tag = "query_a.mid"; + this.gvMx1mid.Width = 94; + // + // gvMx1id + // + this.gvMx1id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1id.AppearanceCell.Options.UseFont = true; + this.gvMx1id.Caption = "ID "; + this.gvMx1id.FieldName = "guid"; + this.gvMx1id.MinWidth = 50; + this.gvMx1id.Name = "gvMx1id"; + this.gvMx1id.OptionsColumn.ReadOnly = true; + this.gvMx1id.Tag = "query_a.id"; + this.gvMx1id.Width = 94; + // + // tabMxPage1 + // + this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Name = "tabMxPage1"; + this.tabMxPage1.Size = new System.Drawing.Size(1124, 378); + this.tabMxPage1.Text = "瓒呴鐢宠鏄庣粏"; + // + // gcMx1 + // + this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx1.Location = new System.Drawing.Point(0, 0); + this.gcMx1.MainView = this.gvMx1; + this.gcMx1.Name = "gcMx1"; + this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemSearchLookUpEdit1, + this.repositoryItemButtonEdit1}); + this.gcMx1.Size = new System.Drawing.Size(1124, 378); + this.gcMx1.TabIndex = 0; + this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx1}); + // + // gvMx1 + // + this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx1id, + this.gvMx1mid, + this.gvMx1bld001, + this.gvMx1bld012, + this.gvMx1bld002, + this.gvMx1bld003, + this.gvMx1bld004, + this.gvMx1bld006, + this.gvMx1bld007, + this.gvMx1bld008, + this.gvMx1bld009, + this.gvMx1bld010, + this.gvMx1bld014, + this.dabGuid, + this.gvMxDel}); + this.gvMx1.GridControl = this.gcMx1; + this.gvMx1.Name = "gvMx1"; + this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + this.gvMx1.OptionsFind.ShowSearchNavButtons = false; + this.gvMx1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; + this.gvMx1.OptionsView.ShowGroupPanel = false; + // + // dabGuid + // + this.dabGuid.Caption = "gridColumn1"; + this.dabGuid.FieldName = "dabGuid"; + this.dabGuid.MinWidth = 25; + this.dabGuid.Name = "dabGuid"; + this.dabGuid.Width = 94; + // + // gvMxDel + // + this.gvMxDel.Caption = "绉诲嚭"; + this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1; + this.gvMxDel.MinWidth = 25; + this.gvMxDel.Name = "gvMxDel"; + this.gvMxDel.Visible = true; + this.gvMxDel.VisibleIndex = 9; + this.gvMxDel.Width = 94; + // + // repositoryItemButtonEdit1 + // + this.repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions2.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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", 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); + // + // gv_wcTime + // + this.gv_wcTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_wcTime.AppearanceCell.Options.UseFont = true; + this.gv_wcTime.Caption = "瀹屾垚鏃堕棿 "; + this.gv_wcTime.FieldName = "wcTime"; + this.gv_wcTime.MinWidth = 50; + this.gv_wcTime.Name = "gv_wcTime"; + this.gv_wcTime.OptionsColumn.AllowEdit = false; + this.gv_wcTime.Tag = "query_a.wc_time"; + this.gv_wcTime.Visible = true; + this.gv_wcTime.VisibleIndex = 22; + this.gv_wcTime.Width = 94; + // + // gv_wcUser + // + this.gv_wcUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_wcUser.AppearanceCell.Options.UseFont = true; + this.gv_wcUser.Caption = "瀹屾垚浜� "; + this.gv_wcUser.FieldName = "wcUser"; + this.gv_wcUser.MinWidth = 50; + this.gv_wcUser.Name = "gv_wcUser"; + this.gv_wcUser.OptionsColumn.AllowEdit = false; + this.gv_wcUser.Tag = "query_a.wc_user"; + this.gv_wcUser.Visible = true; + this.gv_wcUser.VisibleIndex = 21; + this.gv_wcUser.Width = 94; + // + // gv_itemId + // + this.gv_itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemId.AppearanceCell.Options.UseFont = true; + this.gv_itemId.Caption = "浜у搧id "; + this.gv_itemId.FieldName = "itemId"; + this.gv_itemId.MinWidth = 50; + this.gv_itemId.Name = "gv_itemId"; + this.gv_itemId.OptionsColumn.AllowEdit = false; + this.gv_itemId.Tag = "query_a.item_id"; + this.gv_itemId.Visible = true; + this.gv_itemId.VisibleIndex = 20; + this.gv_itemId.Width = 94; + // + // gv_bl019 + // + this.gv_bl019.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl019.AppearanceCell.Options.UseFont = true; + this.gv_bl019.Caption = "瀹岀粨鏍囪瘑 "; + this.gv_bl019.FieldName = "bl019"; + this.gv_bl019.MaxWidth = 50; + this.gv_bl019.MinWidth = 50; + this.gv_bl019.Name = "gv_bl019"; + this.gv_bl019.OptionsColumn.AllowEdit = false; + this.gv_bl019.Tag = "query_a.bl019"; + this.gv_bl019.UnboundDataType = typeof(bool); + this.gv_bl019.Visible = true; + this.gv_bl019.VisibleIndex = 1; + this.gv_bl019.Width = 50; + // + // lb_bl018 + // + this.lb_bl018.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl018.Appearance.Options.UseFont = true; + this.lb_bl018.Location = new System.Drawing.Point(939, 20); + this.lb_bl018.Name = "lb_bl018"; + this.lb_bl018.Size = new System.Drawing.Size(73, 21); + this.lb_bl018.TabIndex = 280; + this.lb_bl018.Text = "瀹℃牳鐘舵�� "; + // + // gv_bl018 + // + this.gv_bl018.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl018.AppearanceCell.Options.UseFont = true; + this.gv_bl018.Caption = "瀹℃牳鐘舵�� "; + this.gv_bl018.FieldName = "bl018"; + this.gv_bl018.MaxWidth = 50; + this.gv_bl018.MinWidth = 50; + this.gv_bl018.Name = "gv_bl018"; + this.gv_bl018.OptionsColumn.AllowEdit = false; + this.gv_bl018.Tag = "query_a.bl018"; + this.gv_bl018.UnboundDataType = typeof(bool); + this.gv_bl018.Visible = true; + this.gv_bl018.VisibleIndex = 0; + this.gv_bl018.Width = 50; + // + // gv_bl017 + // + this.gv_bl017.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl017.AppearanceCell.Options.UseFont = true; + this.gv_bl017.Caption = "涓氬姟绫诲瀷缂栫爜 "; + this.gv_bl017.FieldName = "bl017"; + this.gv_bl017.MinWidth = 50; + this.gv_bl017.Name = "gv_bl017"; + this.gv_bl017.OptionsColumn.AllowEdit = false; + this.gv_bl017.Tag = "query_a.bl017"; + this.gv_bl017.Visible = true; + this.gv_bl017.VisibleIndex = 19; + this.gv_bl017.Width = 94; + // + // lb_bl016 + // + this.lb_bl016.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl016.Appearance.Options.UseFont = true; + this.lb_bl016.Location = new System.Drawing.Point(790, 20); + this.lb_bl016.Name = "lb_bl016"; + this.lb_bl016.Size = new System.Drawing.Size(56, 21); + this.lb_bl016.TabIndex = 267; + this.lb_bl016.Text = "瀹℃牳浜� "; + // + // txt_bl016 + // + this.txt_bl016.Enabled = false; + this.txt_bl016.Location = new System.Drawing.Point(852, 16); + this.txt_bl016.Name = "txt_bl016"; + this.txt_bl016.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl016.Properties.Appearance.Options.UseFont = true; + this.txt_bl016.Size = new System.Drawing.Size(81, 28); + this.txt_bl016.TabIndex = 267; + // + // gv_bl016 + // + this.gv_bl016.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl016.AppearanceCell.Options.UseFont = true; + this.gv_bl016.Caption = "瀹℃牳浜� "; + this.gv_bl016.FieldName = "bl016"; + this.gv_bl016.MinWidth = 50; + this.gv_bl016.Name = "gv_bl016"; + this.gv_bl016.OptionsColumn.AllowEdit = false; + this.gv_bl016.Tag = "query_a.bl016"; + this.gv_bl016.Visible = true; + this.gv_bl016.VisibleIndex = 18; + this.gv_bl016.Width = 94; + // + // lb_bl015 + // + this.lb_bl015.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl015.Appearance.Options.UseFont = true; + this.lb_bl015.Location = new System.Drawing.Point(773, 54); + this.lb_bl015.Name = "lb_bl015"; + this.lb_bl015.Size = new System.Drawing.Size(73, 21); + this.lb_bl015.TabIndex = 262; + this.lb_bl015.Text = "浜у搧鍨嬪彿 "; + // + // txt_bl015 + // + this.txt_bl015.Enabled = false; + this.txt_bl015.Location = new System.Drawing.Point(852, 50); + this.txt_bl015.Name = "txt_bl015"; + this.txt_bl015.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl015.Properties.Appearance.Options.UseFont = true; + this.txt_bl015.Size = new System.Drawing.Size(229, 28); + this.txt_bl015.TabIndex = 262; + // + // gv_bl015 + // + this.gv_bl015.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl015.AppearanceCell.Options.UseFont = true; + this.gv_bl015.Caption = "浜у搧鍨嬪彿 "; + this.gv_bl015.FieldName = "bl015"; + this.gv_bl015.MinWidth = 50; + this.gv_bl015.Name = "gv_bl015"; + this.gv_bl015.OptionsColumn.AllowEdit = false; + this.gv_bl015.Tag = "query_a.bl015"; + this.gv_bl015.Visible = true; + this.gv_bl015.VisibleIndex = 17; + this.gv_bl015.Width = 94; + // + // lb_bl014 + // + this.lb_bl014.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl014.Appearance.Options.UseFont = true; + this.lb_bl014.Location = new System.Drawing.Point(531, 54); + this.lb_bl014.Name = "lb_bl014"; + this.lb_bl014.Size = new System.Drawing.Size(73, 21); + this.lb_bl014.TabIndex = 258; + this.lb_bl014.Text = "浜у搧鍚嶇О "; + // + // txt_bl014 + // + this.txt_bl014.Enabled = false; + this.txt_bl014.Location = new System.Drawing.Point(606, 50); + this.txt_bl014.Name = "txt_bl014"; + this.txt_bl014.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl014.Properties.Appearance.Options.UseFont = true; + this.txt_bl014.Size = new System.Drawing.Size(160, 28); + this.txt_bl014.TabIndex = 258; + // + // gv_bl014 + // + this.gv_bl014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl014.AppearanceCell.Options.UseFont = true; + this.gv_bl014.Caption = "浜у搧鍚嶇О "; + this.gv_bl014.FieldName = "bl014"; + this.gv_bl014.MinWidth = 50; + this.gv_bl014.Name = "gv_bl014"; + this.gv_bl014.OptionsColumn.AllowEdit = false; + this.gv_bl014.Tag = "query_a.bl014"; + this.gv_bl014.Visible = true; + this.gv_bl014.VisibleIndex = 16; + this.gv_bl014.Width = 94; + // + // lb_bl013 + // + this.lb_bl013.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl013.Appearance.Options.UseFont = true; + this.lb_bl013.Location = new System.Drawing.Point(281, 20); + this.lb_bl013.Name = "lb_bl013"; + this.lb_bl013.Size = new System.Drawing.Size(73, 21); + this.lb_bl013.TabIndex = 252; + this.lb_bl013.Text = "浠诲姟鍗曞彿 "; + // + // txt_bl013 + // + this.txt_bl013.Enabled = false; + this.txt_bl013.Location = new System.Drawing.Point(360, 16); + this.txt_bl013.Name = "txt_bl013"; + this.txt_bl013.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl013.Properties.Appearance.Options.UseFont = true; + this.txt_bl013.Size = new System.Drawing.Size(150, 28); + this.txt_bl013.TabIndex = 252; + // + // gv_bl013 + // + this.gv_bl013.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl013.AppearanceCell.Options.UseFont = true; + this.gv_bl013.Caption = "浠诲姟鍗曞彿 "; + this.gv_bl013.FieldName = "bl013"; + this.gv_bl013.MinWidth = 50; + this.gv_bl013.Name = "gv_bl013"; + this.gv_bl013.OptionsColumn.AllowEdit = false; + this.gv_bl013.Tag = "query_a.bl013"; + this.gv_bl013.Visible = true; + this.gv_bl013.VisibleIndex = 15; + this.gv_bl013.Width = 94; + // + // gv_bl012 + // + this.gv_bl012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl012.AppearanceCell.Options.UseFont = true; + this.gv_bl012.Caption = "琛ユ枡浜х嚎 "; + this.gv_bl012.FieldName = "bl012"; + this.gv_bl012.MinWidth = 50; + this.gv_bl012.Name = "gv_bl012"; + this.gv_bl012.OptionsColumn.AllowEdit = false; + this.gv_bl012.Tag = "query_a.bl012"; + this.gv_bl012.Visible = true; + this.gv_bl012.VisibleIndex = 14; + this.gv_bl012.Width = 94; + // + // gv_bl011 + // + this.gv_bl011.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl011.AppearanceCell.Options.UseFont = true; + this.gv_bl011.Caption = "琛ユ枡閮ㄩ棬 "; + this.gv_bl011.FieldName = "bl011"; + this.gv_bl011.MinWidth = 50; + this.gv_bl011.Name = "gv_bl011"; + this.gv_bl011.OptionsColumn.AllowEdit = false; + this.gv_bl011.Tag = "query_a.bl011"; + this.gv_bl011.Visible = true; + this.gv_bl011.VisibleIndex = 13; + this.gv_bl011.Width = 94; + // + // lb_bl010 + // + this.lb_bl010.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl010.Appearance.Options.UseFont = true; + this.lb_bl010.Location = new System.Drawing.Point(46, 90); + this.lb_bl010.Name = "lb_bl010"; + this.lb_bl010.Size = new System.Drawing.Size(56, 21); + this.lb_bl010.TabIndex = 240; + this.lb_bl010.Text = "鍙戞枡浠� "; + // + // gv_bl010 + // + this.gv_bl010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl010.AppearanceCell.Options.UseFont = true; + this.gv_bl010.Caption = "鍙戞枡浠� "; + this.gv_bl010.FieldName = "bl010"; + this.gv_bl010.MinWidth = 50; + this.gv_bl010.Name = "gv_bl010"; + this.gv_bl010.OptionsColumn.AllowEdit = false; + this.gv_bl010.Tag = "query_a.bl010"; + this.gv_bl010.Visible = true; + this.gv_bl010.VisibleIndex = 12; + this.gv_bl010.Width = 94; + // + // gv_bl009 + // + this.gv_bl009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl009.AppearanceCell.Options.UseFont = true; + this.gv_bl009.Caption = "涓氬姟绫诲瀷 "; + this.gv_bl009.FieldName = "bl009"; + this.gv_bl009.MinWidth = 50; + this.gv_bl009.Name = "gv_bl009"; + this.gv_bl009.OptionsColumn.AllowEdit = false; + this.gv_bl009.Tag = "query_a.bl009"; + this.gv_bl009.Visible = true; + this.gv_bl009.VisibleIndex = 11; + this.gv_bl009.Width = 94; + // + // gv_bl008 + // + this.gv_bl008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl008.AppearanceCell.Options.UseFont = true; + this.gv_bl008.Caption = "鍑哄簱绫诲埆锛堣ˉ鏂�,瓒呴锛� "; + this.gv_bl008.FieldName = "bl008"; + this.gv_bl008.MinWidth = 50; + this.gv_bl008.Name = "gv_bl008"; + this.gv_bl008.OptionsColumn.AllowEdit = false; + this.gv_bl008.Tag = "query_a.bl008"; + this.gv_bl008.Visible = true; + this.gv_bl008.VisibleIndex = 10; + this.gv_bl008.Width = 94; + // + // lb_bl007 + // + this.lb_bl007.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl007.Appearance.Options.UseFont = true; + this.lb_bl007.Location = new System.Drawing.Point(29, 125); + this.lb_bl007.Name = "lb_bl007"; + this.lb_bl007.Size = new System.Drawing.Size(73, 21); + this.lb_bl007.TabIndex = 228; + this.lb_bl007.Text = "琛ユ枡鍘熷洜 "; + // + // txt_bl007 + // + this.txt_bl007.Location = new System.Drawing.Point(112, 121); + this.txt_bl007.Name = "txt_bl007"; + this.txt_bl007.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl007.Properties.Appearance.Options.UseFont = true; + this.txt_bl007.Size = new System.Drawing.Size(398, 28); + this.txt_bl007.TabIndex = 228; + // + // gv_bl007 + // + this.gv_bl007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl007.AppearanceCell.Options.UseFont = true; + this.gv_bl007.Caption = "琛ユ枡鍘熷洜 "; + this.gv_bl007.FieldName = "bl007"; + this.gv_bl007.MinWidth = 50; + this.gv_bl007.Name = "gv_bl007"; + this.gv_bl007.OptionsColumn.AllowEdit = false; + this.gv_bl007.Tag = "query_a.bl007"; + this.gv_bl007.Visible = true; + this.gv_bl007.VisibleIndex = 9; + this.gv_bl007.Width = 94; + // + // lb_bl006 + // + this.lb_bl006.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl006.Appearance.Options.UseFont = true; + this.lb_bl006.Location = new System.Drawing.Point(531, 20); + this.lb_bl006.Name = "lb_bl006"; + this.lb_bl006.Size = new System.Drawing.Size(73, 21); + this.lb_bl006.TabIndex = 226; + this.lb_bl006.Text = "瀹℃牳鏃ユ湡 "; + // + // txt_bl006 + // + this.txt_bl006.Enabled = false; + this.txt_bl006.Location = new System.Drawing.Point(606, 16); + this.txt_bl006.Name = "txt_bl006"; + this.txt_bl006.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl006.Properties.Appearance.Options.UseFont = true; + this.txt_bl006.Size = new System.Drawing.Size(160, 28); + this.txt_bl006.TabIndex = 226; + // + // gv_bl006 + // + this.gv_bl006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl006.AppearanceCell.Options.UseFont = true; + this.gv_bl006.Caption = "瀹℃牳鏃ユ湡 "; + this.gv_bl006.FieldName = "bl006"; + this.gv_bl006.MinWidth = 50; + this.gv_bl006.Name = "gv_bl006"; + this.gv_bl006.OptionsColumn.AllowEdit = false; + this.gv_bl006.Tag = "query_a.bl006"; + this.gv_bl006.Visible = true; + this.gv_bl006.VisibleIndex = 8; + this.gv_bl006.Width = 94; + // + // gv_bl005 + // + this.gv_bl005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl005.AppearanceCell.Options.UseFont = true; + this.gv_bl005.Caption = "棰嗘枡鏃ユ湡 "; + this.gv_bl005.FieldName = "bl005"; + this.gv_bl005.MinWidth = 50; + this.gv_bl005.Name = "gv_bl005"; + this.gv_bl005.OptionsColumn.AllowEdit = false; + this.gv_bl005.Tag = "query_a.bl005"; + this.gv_bl005.Visible = true; + this.gv_bl005.VisibleIndex = 7; + this.gv_bl005.Width = 94; + // + // gv_bl004 + // + this.gv_bl004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl004.AppearanceCell.Options.UseFont = true; + this.gv_bl004.Caption = "鐢宠浜� "; + this.gv_bl004.FieldName = "bl004"; + this.gv_bl004.MinWidth = 50; + this.gv_bl004.Name = "gv_bl004"; + this.gv_bl004.OptionsColumn.AllowEdit = false; + this.gv_bl004.Tag = "query_a.bl004"; + this.gv_bl004.Visible = true; + this.gv_bl004.VisibleIndex = 6; + this.gv_bl004.Width = 94; + // + // gv_bl003 + // + this.gv_bl003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl003.AppearanceCell.Options.UseFont = true; + this.gv_bl003.Caption = "浜ч噺 "; + this.gv_bl003.FieldName = "bl003"; + this.gv_bl003.MinWidth = 50; + this.gv_bl003.Name = "gv_bl003"; + this.gv_bl003.OptionsColumn.AllowEdit = false; + this.gv_bl003.Tag = "query_a.bl003"; + this.gv_bl003.Visible = true; + this.gv_bl003.VisibleIndex = 5; + this.gv_bl003.Width = 94; + // + // lb_bl002 + // + this.lb_bl002.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl002.Appearance.Options.UseFont = true; + this.lb_bl002.Location = new System.Drawing.Point(281, 54); + this.lb_bl002.Name = "lb_bl002"; + this.lb_bl002.Size = new System.Drawing.Size(73, 21); + this.lb_bl002.TabIndex = 216; + this.lb_bl002.Text = "浜у搧缂栧彿 "; + // + // txt_bl002 + // + this.txt_bl002.Enabled = false; + this.txt_bl002.Location = new System.Drawing.Point(360, 50); + this.txt_bl002.Name = "txt_bl002"; + this.txt_bl002.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl002.Properties.Appearance.Options.UseFont = true; + this.txt_bl002.Size = new System.Drawing.Size(150, 28); + this.txt_bl002.TabIndex = 216; + // + // gv_bl002 + // + this.gv_bl002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl002.AppearanceCell.Options.UseFont = true; + this.gv_bl002.Caption = "浜у搧缂栧彿 "; + this.gv_bl002.FieldName = "bl002"; + this.gv_bl002.MinWidth = 80; + this.gv_bl002.Name = "gv_bl002"; + this.gv_bl002.OptionsColumn.AllowEdit = false; + this.gv_bl002.Tag = "query_a.bl002"; + this.gv_bl002.Visible = true; + this.gv_bl002.VisibleIndex = 4; + this.gv_bl002.Width = 94; + // + // lb_bl001 + // + this.lb_bl001.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl001.Appearance.Options.UseFont = true; + this.lb_bl001.Location = new System.Drawing.Point(29, 54); + this.lb_bl001.Name = "lb_bl001"; + this.lb_bl001.Size = new System.Drawing.Size(73, 21); + this.lb_bl001.TabIndex = 213; + this.lb_bl001.Text = "濮斿宸ュ崟 "; + // + // gv_bl001 + // + this.gv_bl001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl001.AppearanceCell.Options.UseFont = true; + this.gv_bl001.Caption = "鐢熶骇宸ュ崟 "; + this.gv_bl001.FieldName = "bl001"; + this.gv_bl001.MinWidth = 100; + this.gv_bl001.Name = "gv_bl001"; + this.gv_bl001.OptionsColumn.AllowEdit = false; + this.gv_bl001.Tag = "query_a.bl001"; + this.gv_bl001.Visible = true; + this.gv_bl001.VisibleIndex = 3; + this.gv_bl001.Width = 100; + // + // lb_blNo + // + this.lb_blNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_blNo.Appearance.Options.UseFont = true; + this.lb_blNo.Location = new System.Drawing.Point(29, 20); + this.lb_blNo.Name = "lb_blNo"; + this.lb_blNo.Size = new System.Drawing.Size(73, 21); + this.lb_blNo.TabIndex = 211; + this.lb_blNo.Text = "瓒呴鍗曞彿 "; + // + // txt_blNo + // + this.txt_blNo.Enabled = false; + this.txt_blNo.Location = new System.Drawing.Point(112, 16); + this.txt_blNo.Name = "txt_blNo"; + this.txt_blNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_blNo.Properties.Appearance.Options.UseFont = true; + this.txt_blNo.Size = new System.Drawing.Size(150, 28); + this.txt_blNo.TabIndex = 211; + // + // gv_blNo + // + this.gv_blNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_blNo.AppearanceCell.Options.UseFont = true; + this.gv_blNo.Caption = "琛ユ枡鍗曞彿 "; + this.gv_blNo.FieldName = "blNo"; + this.gv_blNo.MinWidth = 100; + this.gv_blNo.Name = "gv_blNo"; + this.gv_blNo.OptionsColumn.AllowEdit = false; + this.gv_blNo.Tag = "query_a.bl_no"; + this.gv_blNo.Visible = true; + this.gv_blNo.VisibleIndex = 2; + this.gv_blNo.Width = 100; + // + // gv_id + // + this.gv_id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_id.AppearanceCell.Options.UseFont = true; + this.gv_id.Caption = "ID "; + this.gv_id.FieldName = "guid"; + this.gv_id.MinWidth = 50; + this.gv_id.Name = "gv_id"; + this.gv_id.OptionsColumn.AllowEdit = false; + this.gv_id.Tag = "query_a.id"; + this.gv_id.Width = 94; + // + // toolBarMenu1 + // + this.toolBarMenu1.chkParameter = null; + this.toolBarMenu1.currentAction = null; + this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; + this.toolBarMenu1.guidKey = null; + this.toolBarMenu1.isSetBtn = false; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.rptParameter = null; + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.TabIndex = 0; + this.toolBarMenu1.xlsInService = null; + this.toolBarMenu1.xlsOutParameter = null; + // + // gcMain + // + this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain.Location = new System.Drawing.Point(0, 0); + this.gcMain.MainView = this.gridView1; + this.gcMain.Name = "gcMain"; + this.gcMain.Size = new System.Drawing.Size(1126, 531); + this.gcMain.TabIndex = 1; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + 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); + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.ColumnPanelRowHeight = 50; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gv_id, + this.gv_bl018, + this.gv_bl019, + this.gv_blNo, + this.gv_bl001, + this.gv_bl002, + this.gv_bl003, + this.gv_bl004, + this.gv_bl005, + this.gv_bl006, + this.gv_bl007, + this.gv_bl008, + this.gv_bl009, + this.gv_bl010, + this.gv_bl011, + this.gv_bl012, + this.gv_bl013, + this.gv_bl014, + this.gv_bl015, + this.gv_bl016, + this.gv_bl017, + this.gv_itemId, + this.gv_wcUser, + this.gv_wcTime}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.IndicatorWidth = 50; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.gcMain); + this.xtraTabPage1.Controls.Add(this.pageBar1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 531); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.TabIndex = 3; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.tabMx); + this.xtraTabPage2.Controls.Add(this.panel1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.PageEnabled = false; + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; + // + // tabMx + // + this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabMx.Location = new System.Drawing.Point(0, 160); + this.tabMx.Name = "tabMx"; + this.tabMx.SelectedTabPage = this.tabMxPage1; + this.tabMx.Size = new System.Drawing.Size(1126, 410); + this.tabMx.TabIndex = 2; + this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabMxPage1}); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.txt_bl001); + this.panel1.Controls.Add(this.txt_bl017); + this.panel1.Controls.Add(this.labelControl1); + this.panel1.Controls.Add(this.txt_bl018); + this.panel1.Controls.Add(this.txt_bl010); + this.panel1.Controls.Add(this.labelControl11); + this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_bl018); + this.panel1.Controls.Add(this.lb_bl016); + this.panel1.Controls.Add(this.txt_bl016); + this.panel1.Controls.Add(this.lb_bl015); + this.panel1.Controls.Add(this.txt_bl015); + this.panel1.Controls.Add(this.lb_bl014); + this.panel1.Controls.Add(this.txt_bl014); + this.panel1.Controls.Add(this.lb_bl013); + this.panel1.Controls.Add(this.txt_bl013); + this.panel1.Controls.Add(this.lb_bl010); + this.panel1.Controls.Add(this.lb_bl007); + this.panel1.Controls.Add(this.txt_bl007); + this.panel1.Controls.Add(this.lb_bl006); + this.panel1.Controls.Add(this.txt_bl006); + this.panel1.Controls.Add(this.lb_bl002); + this.panel1.Controls.Add(this.txt_bl002); + this.panel1.Controls.Add(this.lb_bl001); + this.panel1.Controls.Add(this.lb_blNo); + this.panel1.Controls.Add(this.txt_blNo); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + 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(1126, 160); + this.panel1.TabIndex = 1; + // + // txt_bl001 + // + this.txt_bl001.IsReadly = false; + this.txt_bl001.Location = new System.Drawing.Point(112, 50); + this.txt_bl001.Name = "txt_bl001"; + this.txt_bl001.Size = new System.Drawing.Size(150, 28); + this.txt_bl001.TabIndex = 287; + // + // txt_bl017 + // + this.txt_bl017.EditValue = "鐢熶骇瓒呴"; + this.txt_bl017.Location = new System.Drawing.Point(360, 88); + this.txt_bl017.Name = "txt_bl017"; + this.txt_bl017.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txt_bl017.Properties.Items.AddRange(new object[] { + "濮斿瓒呴"}); + this.txt_bl017.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; + this.txt_bl017.Size = new System.Drawing.Size(150, 24); + this.txt_bl017.TabIndex = 286; + // + // labelControl1 + // + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.labelControl1.Appearance.Options.UseFont = true; + this.labelControl1.Location = new System.Drawing.Point(281, 90); + this.labelControl1.Name = "labelControl1"; + this.labelControl1.Size = new System.Drawing.Size(68, 21); + this.labelControl1.TabIndex = 285; + this.labelControl1.Text = "鍗曟嵁绫诲瀷"; + // + // txt_bl018 + // + this.txt_bl018.Enabled = false; + this.txt_bl018.Location = new System.Drawing.Point(1014, 18); + this.txt_bl018.Name = "txt_bl018"; + this.txt_bl018.Properties.Caption = ""; + this.txt_bl018.Size = new System.Drawing.Size(59, 24); + this.txt_bl018.TabIndex = 282; + // + // txt_bl010 + // + this.txt_bl010.IsReadly = false; + this.txt_bl010.Location = new System.Drawing.Point(112, 85); + this.txt_bl010.Margin = new System.Windows.Forms.Padding(0); + this.txt_bl010.Name = "txt_bl010"; + this.txt_bl010.Size = new System.Drawing.Size(150, 30); + this.txt_bl010.TabIndex = 281; + // + // labelControl11 + // + this.labelControl11.Location = new System.Drawing.Point(914, 97); + this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.labelControl11.Name = "labelControl11"; + this.labelControl11.Size = new System.Drawing.Size(45, 18); + this.labelControl11.TabIndex = 130; + this.labelControl11.Text = "涓婚敭锛�"; + this.labelControl11.Visible = false; + // + // lbGuid + // + this.lbGuid.AutoSize = true; + this.lbGuid.Location = new System.Drawing.Point(965, 97); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(0, 21); + this.lbGuid.TabIndex = 1; + this.lbGuid.Visible = false; + // + // picCheckBox + // + this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck; + this.picCheckBox.Location = new System.Drawing.Point(988, 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 = 7; + this.picCheckBox.TabStop = false; + this.picCheckBox.Visible = false; + // + // Frm_WwCl + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.picCheckBox); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); + this.Name = "Frm_WwCl"; + this.Text = "瓒呴鐢宠"; + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).EndInit(); + this.tabMxPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl016.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl015.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl014.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl013.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl007.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl006.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl002.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_blNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + this.xtraTabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); + this.tabMx.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl017.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl018.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); + this.ResumeLayout(false); + + } + #endregion + private UserControl.UcToolBarMenu toolBarMenu1; + private DevExpress.XtraGrid.GridControl gcMain; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private UserControls.Data.UcPageBar pageBar1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.LabelControl labelControl11; + private DevExpress.XtraTab.XtraTabControl tabMx; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld014; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld012; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld010; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld009; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld008; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld007; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld006; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld004; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld003; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld002; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld001; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1mid; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1id; + private DevExpress.XtraTab.XtraTabPage tabMxPage1; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraGrid.Columns.GridColumn gv_wcTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_wcUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_itemId; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl019; + + private DevExpress.XtraEditors.LabelControl lb_bl018; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl018; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl017; + + private DevExpress.XtraEditors.LabelControl lb_bl016; + private DevExpress.XtraEditors.TextEdit txt_bl016; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl016; + + private DevExpress.XtraEditors.LabelControl lb_bl015; + private DevExpress.XtraEditors.TextEdit txt_bl015; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl015; + + private DevExpress.XtraEditors.LabelControl lb_bl014; + private DevExpress.XtraEditors.TextEdit txt_bl014; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl014; + + private DevExpress.XtraEditors.LabelControl lb_bl013; + private DevExpress.XtraEditors.TextEdit txt_bl013; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl013; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl012; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl011; + + private DevExpress.XtraEditors.LabelControl lb_bl010; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl010; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl009; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl008; + + private DevExpress.XtraEditors.LabelControl lb_bl007; + private DevExpress.XtraEditors.TextEdit txt_bl007; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl007; + + private DevExpress.XtraEditors.LabelControl lb_bl006; + private DevExpress.XtraEditors.TextEdit txt_bl006; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl006; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl005; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl004; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl003; + + private DevExpress.XtraEditors.LabelControl lb_bl002; + private DevExpress.XtraEditors.TextEdit txt_bl002; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl002; + + private DevExpress.XtraEditors.LabelControl lb_bl001; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl001; + + private DevExpress.XtraEditors.LabelControl lb_blNo; + private DevExpress.XtraEditors.TextEdit txt_blNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_blNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_id; + private UserControl.UcLookCk txt_bl010; + private DevExpress.XtraEditors.CheckEdit txt_bl018; + private System.Windows.Forms.PictureBox picCheckBox; + private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit repositoryItemSearchLookUpEdit1; + private DevExpress.XtraGrid.Views.Grid.GridView repositoryItemSearchLookUpEdit1View; + private DevExpress.XtraGrid.Columns.GridColumn dabGuid; + private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private DevExpress.XtraEditors.LabelControl labelControl1; + private DevExpress.XtraEditors.ComboBoxEdit txt_bl017; + private UserControl.UcLookWwgd txt_bl001; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.cs new file mode 100644 index 0000000..2bf8a4b --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.cs @@ -0,0 +1,538 @@ +using DevExpress.XtraEditors; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Gs.DevApp.UserControl; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Gs.DevApp.DevFrm +{ + public partial class Frm_WwCl : DevExpress.XtraEditors.XtraForm + { + string _webServiceName = "WWBlManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); + public Frm_WwCl() + { + InitializeComponent(); + this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; + this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; + this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; + this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; + toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "bl018", "", (value) => + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }); + getPageList(1); + pageBar1.PagerEvent += PageBar1_PagerEvent; + //璁剧疆浠撳簱閫夋嫨 + txt_bl010.getSuppler(""); + this.txt_bl010.EditChanged += (s, e) => + { + + }; + //璁剧疆宸ュ崟 + this.txt_bl001.EditChanged += (s, e) => + { + txt_bl002.Text = txt_bl001.GetPrdNo(); + txt_bl014.Text = txt_bl001.GetPrdName(); + txt_bl015.Text = txt_bl001.GetPrdModel(); + }; + var _obj = new + { + currentPage = 1, + everyPageSize = 999999, + sortName = "", + keyWhere = "", + }; + var json = JsonConvert.SerializeObject(_obj); + try + { + var strReturn = UtilityHelper.HttpPost("", "WomdaaManager/GetListSelectDab", json); + var rtn = UtilityHelper.ReturnToTablePage(strReturn); + var dt = rtn.rtnData.list; + this.repositoryItemSearchLookUpEdit1.DataSource = dt; + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns); + Task.Delay(100); + getPageList(1); + } + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + var frm = new ShowFilter(gridView1.Columns, _filterList); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + _filterList = e.FilterList; + getPageList(1); + } + + /// <summary> + /// 鍙栨秷浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); + } + + /// <summary> + /// 鍒犻櫎浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_blNo, gridView1, "blNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + mxGuid = Guid.Empty.ToString(), + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + UtilityHelper.JumpToTab(xtraTabControl1, 0); + getPageList(1); + } + + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + { + _filterList.Clear(); + if (gridView1.ActiveFilter.Count > 0) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + } + getPageList(1); + } + } + /// <summary> + /// 淇敼浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_blNo, gridView1, "blNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(lbGuid.Text.Trim()); + } + else + { + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + } + } + /// <summary> + /// 鏂板浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) + { + lbGuid.Text = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); + List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gridViews.Add(gvMx1); + UtilityHelper.CleanValueByControl(this.panel1.Controls, true, gridViews); + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + + } + /// <summary> + /// 淇濆瓨浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) + { + toolBarMenu1.isSetBtn = false; + string inGdId = txt_bl001.GetId();//宸ュ崟鍙� + string inCkId = txt_bl010.GetId();//鍙戞枡浠� + if (string.IsNullOrEmpty(inGdId)) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨宸ュ崟锛�"); + txt_bl001.Focus(); + return; + } + if (string.IsNullOrEmpty(inCkId)) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨浠撳簱锛�"); + txt_bl010.Focus(); + return; + } + if (string.IsNullOrEmpty(txt_bl017.Text.Trim())) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鍗曟嵁绫诲瀷锛�"); + txt_bl017.Focus(); + return; + } + var _obj = new + { + guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 + inGdId = inGdId,//宸ュ崟鍙� + inCkId = inCkId,//浠撳簱 + inYy = txt_bl007.Text.Trim(),//鍘熷洜 + inType = txt_bl017.Text.Trim(),//绫诲瀷 + list = new List<dynamic>(), + }; + gvMx1.CloseEditor(); + gvMx1.UpdateCurrentRow(); + if (gvMx1.DataRowCount <= 0) + { + MsgHelper.ShowError("鏄庣粏涓嶈兘涓虹┖锛岃閫夋嫨浣犵殑鐢宠鏄庣粏锛�"); + return; + } + for (var i = 0; i < gvMx1.DataRowCount; i++) + { + var row = gvMx1.GetDataRow(i); + if (row != null) + { + Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString()); + string _msl = row["bld007"].ToString(); + if (string.IsNullOrEmpty(_msl)) + { + MsgHelper.ShowError("鏁伴噺涓嶈兘涓虹┖锛�"); + return; + } + _obj.list.Add(new + { + Guid = _guid, + DabGuid = (row["dabGuid"].ToString()), + ItemId = (row["bld012"].ToString()), + Sqsl = (row["bld007"].ToString()), + Bz = (row["bld010"].ToString()), + }); + } + } + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + if (_rtn.rtnCode > 0) + { + lbGuid.Text = _rtn.rtnData; + toolBarMenu1.isSetBtn = true; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false, gvList); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); + string json = JsonConvert.SerializeObject(pgq); + try + { + var strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn); + if (dd.rtnCode > 0) + { + DataTable dt = dd.rtnData.list; + gcMain.BindingContext = new BindingContext(); + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + if (dt.Rows.Count > 0) + { + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + } + else + UtilityHelper.SetDefaultTable(gcMain, gridView1); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 + } + else + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + + } + private void getModel(string strGuid) + { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; + if (string.IsNullOrEmpty(strGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + lbGuid.Text = strGuid; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList); + JObject _job = JObject.Parse(strJson); + JArray array = new JArray(); + foreach (var a in _job["rtnData"]["list"]) + { + array.Add(a); + } + DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); + if (dt.Rows.Count > 0) + { + gcMx1.BindingContext = new BindingContext(); + gcMx1.DataSource = dt; + gcMx1.ForceInitialize(); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + } + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + + /// <summary> + /// 瀹℃牳浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnChkClick(object sender, EventArgs e) + { + _toolCk(1); + } + + /// <summary> + /// 鍙嶅鏍� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e) + { + _toolCk(0); + } + + /// <summary> + /// 宸ュ叿鏉′簨浠� + /// </summary> + /// <param name="inFieldValue"></param> + private void _toolCk(int _inFieldValue) + { + string strMsg = ""; + switch (_inFieldValue) + { + case 1: + strMsg = "瀹℃牳"; + break; + case 0: + strMsg = "鍙嶅鏍�"; + break; + }; + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_blNo, gridView1, "blNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + inFieldValue = _inFieldValue, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "EditModelSubmit", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + MsgHelper.Warning(_rtn.rtnData.outMsg.ToString()); + if (_rtn.rtnCode > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + getPageList(this.pageBar1.CurrentPage); + } + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + + private void repositoryItemSearchLookUpEdit1_EditValueChanged(object sender, EventArgs e) + { + SearchLookUpEdit LookupEdit = sender as SearchLookUpEdit; + DataRowView SelectedDataRow = (DataRowView)LookupEdit.GetSelectedDataRow(); + gvMx1.SetFocusedRowCellValue("bld002", SelectedDataRow["itemNo"]); + gvMx1.SetFocusedRowCellValue("bld003", SelectedDataRow["itemName"]); + gvMx1.SetFocusedRowCellValue("bld004", SelectedDataRow["itemModel"]); + gvMx1.SetFocusedRowCellValue("dabGuid", SelectedDataRow["dabGuid"]); + } + + private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) + { + var rowhandle = gvMx1.FocusedRowHandle; + if (rowhandle < 0) + return; + if (e.Button.Index == 0) + { + var dr = gvMx1.GetDataRow(rowhandle); + var mxGuid = dr["guid"].ToString(); + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) + return; + if (string.IsNullOrEmpty(mxGuid)) + { + gvMx1.DeleteRow(rowhandle); + return; + } + var _obj = new + { + guid = lbGuid.Text.Trim(), + mxGuid = mxGuid, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (_rtn.rtnCode > 0) getModel(lbGuid.Text); + } + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.resx b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwCl.resx @@ -0,0 +1,120 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.Designer.cs index d929055..3283f1e 100644 --- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.Designer.cs @@ -55,24 +55,10 @@ this.lb_remark = new DevExpress.XtraEditors.LabelControl(); this.txt_remark = new DevExpress.XtraEditors.TextEdit(); this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_departId = new DevExpress.XtraEditors.LabelControl(); - this.txt_departId = new DevExpress.XtraEditors.TextEdit(); this.gv_departId = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_daa013 = new DevExpress.XtraEditors.LabelControl(); - this.txt_daa013 = new DevExpress.XtraEditors.TextEdit(); - this.lb_pcTime = new DevExpress.XtraEditors.LabelControl(); - this.txt_pcTime = new DevExpress.XtraEditors.TextEdit(); this.gv_pcTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_scheduleOrder = new DevExpress.XtraEditors.LabelControl(); - this.txt_scheduleOrder = new DevExpress.XtraEditors.TextEdit(); this.gv_scheduleOrder = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_miCn = new DevExpress.XtraEditors.LabelControl(); - this.txt_miCn = new DevExpress.XtraEditors.TextEdit(); - this.lb_pcSh = new DevExpress.XtraEditors.LabelControl(); - this.txt_pcSh = new DevExpress.XtraEditors.TextEdit(); this.gv_pcSh = new DevExpress.XtraGrid.Columns.GridColumn(); - this.lb_pcId = new DevExpress.XtraEditors.LabelControl(); - this.txt_pcId = new DevExpress.XtraEditors.TextEdit(); this.lb_wgUser = new DevExpress.XtraEditors.LabelControl(); this.txt_wgUser = new DevExpress.XtraEditors.TextEdit(); this.gv_wgUser = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -126,25 +112,12 @@ this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.tabMx = new DevExpress.XtraTab.XtraTabControl(); this.panel1 = new System.Windows.Forms.Panel(); - this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); - this.txt_printRemark = new DevExpress.XtraEditors.TextEdit(); - this.txt_iCount_1 = new DevExpress.XtraEditors.TextEdit(); - this.labelControl14 = new DevExpress.XtraEditors.LabelControl(); - this.txt_psnQty_1 = new DevExpress.XtraEditors.TextEdit(); - this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); this.tabMxPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_departId.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_daa013.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_pcTime.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_scheduleOrder.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_miCn.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_pcSh.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_pcId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wgUser.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wgTime.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_daa018.Properties)).BeginInit(); @@ -168,9 +141,6 @@ ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); this.tabMx.SuspendLayout(); this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.txt_printRemark.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_iCount_1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_psnQty_1.Properties)).BeginInit(); this.SuspendLayout(); // // gvMx1dab002 @@ -437,7 +407,7 @@ // this.tabMxPage1.Controls.Add(this.gcMx1); this.tabMxPage1.Name = "tabMxPage1"; - this.tabMxPage1.Size = new System.Drawing.Size(1124, 265); + this.tabMxPage1.Size = new System.Drawing.Size(1124, 383); this.tabMxPage1.Text = "澶囨枡鍗曡韩"; // // gcMx1 @@ -446,7 +416,7 @@ this.gcMx1.Location = new System.Drawing.Point(0, 0); this.gcMx1.MainView = this.gvMx1; this.gcMx1.Name = "gcMx1"; - this.gcMx1.Size = new System.Drawing.Size(1124, 265); + this.gcMx1.Size = new System.Drawing.Size(1124, 383); this.gcMx1.TabIndex = 0; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx1}); @@ -485,7 +455,7 @@ // this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_remark.Appearance.Options.UseFont = true; - this.lb_remark.Location = new System.Drawing.Point(515, 180); + this.lb_remark.Location = new System.Drawing.Point(42, 121); this.lb_remark.Name = "lb_remark"; this.lb_remark.Size = new System.Drawing.Size(34, 21); this.lb_remark.TabIndex = 312; @@ -493,11 +463,11 @@ // // txt_remark // - this.txt_remark.Location = new System.Drawing.Point(575, 180); + this.txt_remark.Location = new System.Drawing.Point(80, 117); this.txt_remark.Name = "txt_remark"; this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_remark.Properties.Appearance.Options.UseFont = true; - this.txt_remark.Size = new System.Drawing.Size(150, 28); + this.txt_remark.Size = new System.Drawing.Size(413, 28); this.txt_remark.TabIndex = 312; // // gv_remark @@ -514,25 +484,6 @@ this.gv_remark.VisibleIndex = 20; this.gv_remark.Width = 94; // - // lb_departId - // - this.lb_departId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_departId.Appearance.Options.UseFont = true; - this.lb_departId.Location = new System.Drawing.Point(756, 114); - this.lb_departId.Name = "lb_departId"; - this.lb_departId.Size = new System.Drawing.Size(86, 21); - this.lb_departId.TabIndex = 306; - this.lb_departId.Text = "棰嗘枡閮ㄩ棬id "; - // - // txt_departId - // - this.txt_departId.Location = new System.Drawing.Point(816, 114); - this.txt_departId.Name = "txt_departId"; - this.txt_departId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_departId.Properties.Appearance.Options.UseFont = true; - this.txt_departId.Size = new System.Drawing.Size(150, 28); - this.txt_departId.TabIndex = 306; - // // gv_departId // this.gv_departId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -546,44 +497,6 @@ this.gv_departId.Visible = true; this.gv_departId.VisibleIndex = 19; this.gv_departId.Width = 94; - // - // lb_daa013 - // - this.lb_daa013.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_daa013.Appearance.Options.UseFont = true; - this.lb_daa013.Location = new System.Drawing.Point(515, 143); - this.lb_daa013.Name = "lb_daa013"; - this.lb_daa013.Size = new System.Drawing.Size(59, 21); - this.lb_daa013.TabIndex = 298; - this.lb_daa013.Text = "daa013 "; - // - // txt_daa013 - // - this.txt_daa013.Location = new System.Drawing.Point(575, 143); - this.txt_daa013.Name = "txt_daa013"; - this.txt_daa013.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_daa013.Properties.Appearance.Options.UseFont = true; - this.txt_daa013.Size = new System.Drawing.Size(150, 28); - this.txt_daa013.TabIndex = 298; - // - // lb_pcTime - // - this.lb_pcTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_pcTime.Appearance.Options.UseFont = true; - this.lb_pcTime.Location = new System.Drawing.Point(270, 180); - this.lb_pcTime.Name = "lb_pcTime"; - this.lb_pcTime.Size = new System.Drawing.Size(73, 21); - this.lb_pcTime.TabIndex = 291; - this.lb_pcTime.Text = "鎺掍骇鏃堕棿 "; - // - // txt_pcTime - // - this.txt_pcTime.Location = new System.Drawing.Point(330, 180); - this.txt_pcTime.Name = "txt_pcTime"; - this.txt_pcTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_pcTime.Properties.Appearance.Options.UseFont = true; - this.txt_pcTime.Size = new System.Drawing.Size(150, 28); - this.txt_pcTime.TabIndex = 291; // // gv_pcTime // @@ -599,25 +512,6 @@ this.gv_pcTime.VisibleIndex = 18; this.gv_pcTime.Width = 180; // - // lb_scheduleOrder - // - this.lb_scheduleOrder.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_scheduleOrder.Appearance.Options.UseFont = true; - this.lb_scheduleOrder.Location = new System.Drawing.Point(20, 180); - this.lb_scheduleOrder.Name = "lb_scheduleOrder"; - this.lb_scheduleOrder.Size = new System.Drawing.Size(39, 21); - this.lb_scheduleOrder.TabIndex = 285; - this.lb_scheduleOrder.Text = "搴忓彿 "; - // - // txt_scheduleOrder - // - this.txt_scheduleOrder.Location = new System.Drawing.Point(80, 180); - this.txt_scheduleOrder.Name = "txt_scheduleOrder"; - this.txt_scheduleOrder.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_scheduleOrder.Properties.Appearance.Options.UseFont = true; - this.txt_scheduleOrder.Size = new System.Drawing.Size(150, 28); - this.txt_scheduleOrder.TabIndex = 285; - // // gv_scheduleOrder // this.gv_scheduleOrder.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); @@ -631,44 +525,6 @@ this.gv_scheduleOrder.Visible = true; this.gv_scheduleOrder.VisibleIndex = 17; this.gv_scheduleOrder.Width = 94; - // - // lb_miCn - // - this.lb_miCn.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_miCn.Appearance.Options.UseFont = true; - this.lb_miCn.Location = new System.Drawing.Point(756, 82); - this.lb_miCn.Name = "lb_miCn"; - this.lb_miCn.Size = new System.Drawing.Size(73, 21); - this.lb_miCn.TabIndex = 280; - this.lb_miCn.Text = "鍒嗛挓浜ц兘 "; - // - // txt_miCn - // - this.txt_miCn.Location = new System.Drawing.Point(816, 82); - this.txt_miCn.Name = "txt_miCn"; - this.txt_miCn.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_miCn.Properties.Appearance.Options.UseFont = true; - this.txt_miCn.Size = new System.Drawing.Size(150, 28); - this.txt_miCn.TabIndex = 280; - // - // lb_pcSh - // - this.lb_pcSh.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_pcSh.Appearance.Options.UseFont = true; - this.lb_pcSh.Location = new System.Drawing.Point(515, 111); - this.lb_pcSh.Name = "lb_pcSh"; - this.lb_pcSh.Size = new System.Drawing.Size(73, 21); - this.lb_pcSh.TabIndex = 273; - this.lb_pcSh.Text = "鎺掍骇瀹℃牳 "; - // - // txt_pcSh - // - this.txt_pcSh.Location = new System.Drawing.Point(575, 111); - this.txt_pcSh.Name = "txt_pcSh"; - this.txt_pcSh.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_pcSh.Properties.Appearance.Options.UseFont = true; - this.txt_pcSh.Size = new System.Drawing.Size(150, 28); - this.txt_pcSh.TabIndex = 273; // // gv_pcSh // @@ -684,30 +540,11 @@ this.gv_pcSh.VisibleIndex = 16; this.gv_pcSh.Width = 94; // - // lb_pcId - // - this.lb_pcId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.lb_pcId.Appearance.Options.UseFont = true; - this.lb_pcId.Location = new System.Drawing.Point(270, 148); - this.lb_pcId.Name = "lb_pcId"; - this.lb_pcId.Size = new System.Drawing.Size(52, 21); - this.lb_pcId.TabIndex = 267; - this.lb_pcId.Text = "鎺掍骇id "; - // - // txt_pcId - // - this.txt_pcId.Location = new System.Drawing.Point(330, 148); - this.txt_pcId.Name = "txt_pcId"; - this.txt_pcId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_pcId.Properties.Appearance.Options.UseFont = true; - this.txt_pcId.Size = new System.Drawing.Size(150, 28); - this.txt_pcId.TabIndex = 267; - // // lb_wgUser // this.lb_wgUser.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_wgUser.Appearance.Options.UseFont = true; - this.lb_wgUser.Location = new System.Drawing.Point(20, 148); + this.lb_wgUser.Location = new System.Drawing.Point(519, 52); this.lb_wgUser.Name = "lb_wgUser"; this.lb_wgUser.Size = new System.Drawing.Size(56, 21); this.lb_wgUser.TabIndex = 262; @@ -715,7 +552,7 @@ // // txt_wgUser // - this.txt_wgUser.Location = new System.Drawing.Point(80, 148); + this.txt_wgUser.Location = new System.Drawing.Point(578, 48); this.txt_wgUser.Name = "txt_wgUser"; this.txt_wgUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_wgUser.Properties.Appearance.Options.UseFont = true; @@ -740,7 +577,7 @@ // this.lb_wgTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_wgTime.Appearance.Options.UseFont = true; - this.lb_wgTime.Location = new System.Drawing.Point(756, 50); + this.lb_wgTime.Location = new System.Drawing.Point(502, 84); this.lb_wgTime.Name = "lb_wgTime"; this.lb_wgTime.Size = new System.Drawing.Size(73, 21); this.lb_wgTime.TabIndex = 258; @@ -748,7 +585,7 @@ // // txt_wgTime // - this.txt_wgTime.Location = new System.Drawing.Point(816, 50); + this.txt_wgTime.Location = new System.Drawing.Point(578, 80); this.txt_wgTime.Name = "txt_wgTime"; this.txt_wgTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_wgTime.Properties.Appearance.Options.UseFont = true; @@ -773,7 +610,7 @@ // this.lb_daa018.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_daa018.Appearance.Options.UseFont = true; - this.lb_daa018.Location = new System.Drawing.Point(515, 79); + this.lb_daa018.Location = new System.Drawing.Point(502, 15); this.lb_daa018.Name = "lb_daa018"; this.lb_daa018.Size = new System.Drawing.Size(73, 21); this.lb_daa018.TabIndex = 252; @@ -781,7 +618,7 @@ // // txt_daa018 // - this.txt_daa018.Location = new System.Drawing.Point(575, 79); + this.txt_daa018.Location = new System.Drawing.Point(578, 11); this.txt_daa018.Name = "txt_daa018"; this.txt_daa018.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_daa018.Properties.Appearance.Options.UseFont = true; @@ -806,7 +643,7 @@ // this.lb_blUser.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_blUser.Appearance.Options.UseFont = true; - this.lb_blUser.Location = new System.Drawing.Point(270, 116); + this.lb_blUser.Location = new System.Drawing.Point(519, 121); this.lb_blUser.Name = "lb_blUser"; this.lb_blUser.Size = new System.Drawing.Size(56, 21); this.lb_blUser.TabIndex = 247; @@ -814,7 +651,7 @@ // // txt_blUser // - this.txt_blUser.Location = new System.Drawing.Point(330, 116); + this.txt_blUser.Location = new System.Drawing.Point(578, 117); this.txt_blUser.Name = "txt_blUser"; this.txt_blUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_blUser.Properties.Appearance.Options.UseFont = true; @@ -839,7 +676,7 @@ // this.lb_blTime.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_blTime.Appearance.Options.UseFont = true; - this.lb_blTime.Location = new System.Drawing.Point(20, 116); + this.lb_blTime.Location = new System.Drawing.Point(796, 121); this.lb_blTime.Name = "lb_blTime"; this.lb_blTime.Size = new System.Drawing.Size(73, 21); this.lb_blTime.TabIndex = 243; @@ -847,7 +684,7 @@ // // txt_blTime // - this.txt_blTime.Location = new System.Drawing.Point(80, 116); + this.txt_blTime.Location = new System.Drawing.Point(877, 117); this.txt_blTime.Name = "txt_blTime"; this.txt_blTime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_blTime.Properties.Appearance.Options.UseFont = true; @@ -872,7 +709,7 @@ // this.lb_blState.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_blState.Appearance.Options.UseFont = true; - this.lb_blState.Location = new System.Drawing.Point(756, 18); + this.lb_blState.Location = new System.Drawing.Point(796, 84); this.lb_blState.Name = "lb_blState"; this.lb_blState.Size = new System.Drawing.Size(73, 21); this.lb_blState.TabIndex = 240; @@ -880,7 +717,7 @@ // // txt_blState // - this.txt_blState.Location = new System.Drawing.Point(816, 18); + this.txt_blState.Location = new System.Drawing.Point(877, 80); this.txt_blState.Name = "txt_blState"; this.txt_blState.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_blState.Properties.Appearance.Options.UseFont = true; @@ -905,7 +742,7 @@ // this.lb_mesEndProd.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_mesEndProd.Appearance.Options.UseFont = true; - this.lb_mesEndProd.Location = new System.Drawing.Point(515, 47); + this.lb_mesEndProd.Location = new System.Drawing.Point(762, 52); this.lb_mesEndProd.Name = "lb_mesEndProd"; this.lb_mesEndProd.Size = new System.Drawing.Size(107, 21); this.lb_mesEndProd.TabIndex = 235; @@ -913,7 +750,7 @@ // // txt_mesEndProd // - this.txt_mesEndProd.Location = new System.Drawing.Point(575, 47); + this.txt_mesEndProd.Location = new System.Drawing.Point(877, 48); this.txt_mesEndProd.Name = "txt_mesEndProd"; this.txt_mesEndProd.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_mesEndProd.Properties.Appearance.Options.UseFont = true; @@ -938,7 +775,7 @@ // this.lb_mesStartProd.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_mesStartProd.Appearance.Options.UseFont = true; - this.lb_mesStartProd.Location = new System.Drawing.Point(270, 84); + this.lb_mesStartProd.Location = new System.Drawing.Point(762, 15); this.lb_mesStartProd.Name = "lb_mesStartProd"; this.lb_mesStartProd.Size = new System.Drawing.Size(107, 21); this.lb_mesStartProd.TabIndex = 231; @@ -946,7 +783,7 @@ // // txt_mesStartProd // - this.txt_mesStartProd.Location = new System.Drawing.Point(330, 84); + this.txt_mesStartProd.Location = new System.Drawing.Point(877, 11); this.txt_mesStartProd.Name = "txt_mesStartProd"; this.txt_mesStartProd.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_mesStartProd.Properties.Appearance.Options.UseFont = true; @@ -979,7 +816,7 @@ // // txt_daa011 // - this.txt_daa011.Location = new System.Drawing.Point(80, 84); + this.txt_daa011.Location = new System.Drawing.Point(80, 80); this.txt_daa011.Name = "txt_daa011"; this.txt_daa011.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_daa011.Properties.Appearance.Options.UseFont = true; @@ -1004,7 +841,7 @@ // this.lb_daa014.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_daa014.Appearance.Options.UseFont = true; - this.lb_daa014.Location = new System.Drawing.Point(258, 15); + this.lb_daa014.Location = new System.Drawing.Point(251, 15); this.lb_daa014.Name = "lb_daa014"; this.lb_daa014.Size = new System.Drawing.Size(90, 21); this.lb_daa014.TabIndex = 226; @@ -1012,7 +849,7 @@ // // txt_daa014 // - this.txt_daa014.Location = new System.Drawing.Point(318, 15); + this.txt_daa014.Location = new System.Drawing.Point(343, 11); this.txt_daa014.Name = "txt_daa014"; this.txt_daa014.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_daa014.Properties.Appearance.Options.UseFont = true; @@ -1037,7 +874,7 @@ // this.lb_unit.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_unit.Appearance.Options.UseFont = true; - this.lb_unit.Location = new System.Drawing.Point(515, 15); + this.lb_unit.Location = new System.Drawing.Point(289, 84); this.lb_unit.Name = "lb_unit"; this.lb_unit.Size = new System.Drawing.Size(52, 21); this.lb_unit.TabIndex = 222; @@ -1045,7 +882,7 @@ // // txt_unit // - this.txt_unit.Location = new System.Drawing.Point(575, 15); + this.txt_unit.Location = new System.Drawing.Point(343, 80); this.txt_unit.Name = "txt_unit"; this.txt_unit.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_unit.Properties.Appearance.Options.UseFont = true; @@ -1070,7 +907,7 @@ // this.lb_daa008.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_daa008.Appearance.Options.UseFont = true; - this.lb_daa008.Location = new System.Drawing.Point(270, 52); + this.lb_daa008.Location = new System.Drawing.Point(268, 52); this.lb_daa008.Name = "lb_daa008"; this.lb_daa008.Size = new System.Drawing.Size(73, 21); this.lb_daa008.TabIndex = 219; @@ -1078,7 +915,7 @@ // // txt_daa008 // - this.txt_daa008.Location = new System.Drawing.Point(330, 52); + this.txt_daa008.Location = new System.Drawing.Point(343, 48); this.txt_daa008.Name = "txt_daa008"; this.txt_daa008.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_daa008.Properties.Appearance.Options.UseFont = true; @@ -1103,7 +940,7 @@ // this.lb_daa003.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lb_daa003.Appearance.Options.UseFont = true; - this.lb_daa003.Location = new System.Drawing.Point(20, 52); + this.lb_daa003.Location = new System.Drawing.Point(24, 52); this.lb_daa003.Name = "lb_daa003"; this.lb_daa003.Size = new System.Drawing.Size(52, 21); this.lb_daa003.TabIndex = 217; @@ -1111,7 +948,7 @@ // // txt_daa003 // - this.txt_daa003.Location = new System.Drawing.Point(80, 52); + this.txt_daa003.Location = new System.Drawing.Point(80, 48); this.txt_daa003.Name = "txt_daa003"; this.txt_daa003.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_daa003.Properties.Appearance.Options.UseFont = true; @@ -1130,7 +967,7 @@ // // txt_daa001 // - this.txt_daa001.Location = new System.Drawing.Point(80, 15); + this.txt_daa001.Location = new System.Drawing.Point(80, 11); this.txt_daa001.Name = "txt_daa001"; this.txt_daa001.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txt_daa001.Properties.Appearance.Options.UseFont = true; @@ -1287,10 +1124,10 @@ // tabMx // this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabMx.Location = new System.Drawing.Point(0, 273); + this.tabMx.Location = new System.Drawing.Point(0, 155); this.tabMx.Name = "tabMx"; this.tabMx.SelectedTabPage = this.tabMxPage1; - this.tabMx.Size = new System.Drawing.Size(1126, 297); + this.tabMx.Size = new System.Drawing.Size(1126, 415); this.tabMx.TabIndex = 2; this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabMxPage1}); @@ -1298,30 +1135,10 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.White; - this.panel1.Controls.Add(this.labelControl1); - this.panel1.Controls.Add(this.txt_printRemark); - this.panel1.Controls.Add(this.txt_iCount_1); - this.panel1.Controls.Add(this.labelControl14); - this.panel1.Controls.Add(this.txt_psnQty_1); - this.panel1.Controls.Add(this.labelControl12); this.panel1.Controls.Add(this.labelControl11); this.panel1.Controls.Add(this.lbGuid); this.panel1.Controls.Add(this.lb_remark); this.panel1.Controls.Add(this.txt_remark); - this.panel1.Controls.Add(this.lb_departId); - this.panel1.Controls.Add(this.txt_departId); - this.panel1.Controls.Add(this.lb_daa013); - this.panel1.Controls.Add(this.txt_daa013); - this.panel1.Controls.Add(this.lb_pcTime); - this.panel1.Controls.Add(this.txt_pcTime); - this.panel1.Controls.Add(this.lb_scheduleOrder); - this.panel1.Controls.Add(this.txt_scheduleOrder); - this.panel1.Controls.Add(this.lb_miCn); - this.panel1.Controls.Add(this.txt_miCn); - this.panel1.Controls.Add(this.lb_pcSh); - this.panel1.Controls.Add(this.txt_pcSh); - this.panel1.Controls.Add(this.lb_pcId); - this.panel1.Controls.Add(this.txt_pcId); this.panel1.Controls.Add(this.lb_wgUser); this.panel1.Controls.Add(this.txt_wgUser); this.panel1.Controls.Add(this.lb_wgTime); @@ -1354,65 +1171,12 @@ 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(1126, 273); + this.panel1.Size = new System.Drawing.Size(1126, 155); this.panel1.TabIndex = 1; - // - // labelControl1 - // - this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.labelControl1.Appearance.Options.UseFont = true; - this.labelControl1.Location = new System.Drawing.Point(17, 229); - this.labelControl1.Name = "labelControl1"; - this.labelControl1.Size = new System.Drawing.Size(74, 21); - this.labelControl1.TabIndex = 468; - this.labelControl1.Text = "鎵撳嵃澶囨敞:"; - // - // txt_printRemark - // - this.txt_printRemark.Location = new System.Drawing.Point(95, 225); - this.txt_printRemark.Name = "txt_printRemark"; - this.txt_printRemark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_printRemark.Properties.Appearance.Options.UseFont = true; - this.txt_printRemark.Size = new System.Drawing.Size(150, 28); - this.txt_printRemark.TabIndex = 469; - // - // txt_iCount_1 - // - this.txt_iCount_1.Location = new System.Drawing.Point(564, 225); - this.txt_iCount_1.Name = "txt_iCount_1"; - this.txt_iCount_1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_iCount_1.Properties.Appearance.Options.UseFont = true; - this.txt_iCount_1.Size = new System.Drawing.Size(96, 28); - this.txt_iCount_1.TabIndex = 467; - // - // labelControl14 - // - this.labelControl14.Location = new System.Drawing.Point(465, 230); - this.labelControl14.Name = "labelControl14"; - this.labelControl14.Size = new System.Drawing.Size(95, 18); - this.labelControl14.TabIndex = 466; - this.labelControl14.Text = "鎵撳嵃鏉$爜寮犳暟:"; - // - // txt_psnQty_1 - // - this.txt_psnQty_1.Location = new System.Drawing.Point(353, 225); - this.txt_psnQty_1.Name = "txt_psnQty_1"; - this.txt_psnQty_1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); - this.txt_psnQty_1.Properties.Appearance.Options.UseFont = true; - this.txt_psnQty_1.Size = new System.Drawing.Size(96, 28); - this.txt_psnQty_1.TabIndex = 465; - // - // labelControl12 - // - this.labelControl12.Location = new System.Drawing.Point(254, 230); - this.labelControl12.Name = "labelControl12"; - this.labelControl12.Size = new System.Drawing.Size(95, 18); - this.labelControl12.TabIndex = 464; - this.labelControl12.Text = "姣忓紶鏉$爜鏁伴噺:"; // // labelControl11 // - this.labelControl11.Location = new System.Drawing.Point(816, 180); + this.labelControl11.Location = new System.Drawing.Point(745, 127); this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(45, 18); @@ -1423,7 +1187,7 @@ // lbGuid // this.lbGuid.AutoSize = true; - this.lbGuid.Location = new System.Drawing.Point(867, 180); + this.lbGuid.Location = new System.Drawing.Point(796, 127); this.lbGuid.Name = "lbGuid"; this.lbGuid.Size = new System.Drawing.Size(0, 21); this.lbGuid.TabIndex = 1; @@ -1442,13 +1206,6 @@ ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_departId.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_daa013.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_pcTime.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_scheduleOrder.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_miCn.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_pcSh.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_pcId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wgUser.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wgTime.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_daa018.Properties)).EndInit(); @@ -1473,9 +1230,6 @@ this.tabMx.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.txt_printRemark.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_iCount_1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_psnQty_1.Properties)).EndInit(); this.ResumeLayout(false); } @@ -1520,31 +1274,10 @@ private DevExpress.XtraEditors.LabelControl lb_remark; private DevExpress.XtraEditors.TextEdit txt_remark; private DevExpress.XtraGrid.Columns.GridColumn gv_remark; - - private DevExpress.XtraEditors.LabelControl lb_departId; - private DevExpress.XtraEditors.TextEdit txt_departId; private DevExpress.XtraGrid.Columns.GridColumn gv_departId; - - private DevExpress.XtraEditors.LabelControl lb_daa013; - private DevExpress.XtraEditors.TextEdit txt_daa013; - - private DevExpress.XtraEditors.LabelControl lb_pcTime; - private DevExpress.XtraEditors.TextEdit txt_pcTime; private DevExpress.XtraGrid.Columns.GridColumn gv_pcTime; - - private DevExpress.XtraEditors.LabelControl lb_scheduleOrder; - private DevExpress.XtraEditors.TextEdit txt_scheduleOrder; private DevExpress.XtraGrid.Columns.GridColumn gv_scheduleOrder; - - private DevExpress.XtraEditors.LabelControl lb_miCn; - private DevExpress.XtraEditors.TextEdit txt_miCn; - - private DevExpress.XtraEditors.LabelControl lb_pcSh; - private DevExpress.XtraEditors.TextEdit txt_pcSh; private DevExpress.XtraGrid.Columns.GridColumn gv_pcSh; - - private DevExpress.XtraEditors.LabelControl lb_pcId; - private DevExpress.XtraEditors.TextEdit txt_pcId; private DevExpress.XtraEditors.LabelControl lb_wgUser; private DevExpress.XtraEditors.TextEdit txt_wgUser; @@ -1600,12 +1333,6 @@ private DevExpress.XtraEditors.LabelControl lb_daa001; private DevExpress.XtraEditors.TextEdit txt_daa001; private DevExpress.XtraGrid.Columns.GridColumn gv_daa001; - private DevExpress.XtraEditors.LabelControl labelControl1; - private DevExpress.XtraEditors.TextEdit txt_printRemark; - private DevExpress.XtraEditors.TextEdit txt_iCount_1; - private DevExpress.XtraEditors.LabelControl labelControl14; - private DevExpress.XtraEditors.TextEdit txt_psnQty_1; - private DevExpress.XtraEditors.LabelControl labelControl12; private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.Designer.cs index 55c14c6..e6d204f 100644 --- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.Designer.cs @@ -532,7 +532,7 @@ this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.create_by"; this.gv_createBy.Visible = true; - this.gv_createBy.VisibleIndex = 3; + this.gv_createBy.VisibleIndex = 2; this.gv_createBy.Width = 100; // // gv_createTime @@ -546,7 +546,7 @@ this.gv_createTime.OptionsColumn.AllowEdit = false; this.gv_createTime.Tag = "query_a.create_time"; this.gv_createTime.Visible = true; - this.gv_createTime.VisibleIndex = 2; + this.gv_createTime.VisibleIndex = 3; this.gv_createTime.Width = 180; // // lb_hNo @@ -575,13 +575,13 @@ this.gv_hNo.AppearanceCell.Options.UseFont = true; this.gv_hNo.Caption = "鎺掍骇缂栧彿 "; this.gv_hNo.FieldName = "hNo"; - this.gv_hNo.MinWidth = 130; + this.gv_hNo.MinWidth = 150; this.gv_hNo.Name = "gv_hNo"; this.gv_hNo.OptionsColumn.AllowEdit = false; this.gv_hNo.Tag = "query_a.hNo"; this.gv_hNo.Visible = true; this.gv_hNo.VisibleIndex = 1; - this.gv_hNo.Width = 130; + this.gv_hNo.Width = 150; // // toolBarMenu1 // @@ -620,8 +620,8 @@ this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gv_shState, this.gv_hNo, - this.gv_createTime, this.gv_createBy, + this.gv_createTime, this.gv_shBy, this.gv_shTime, this.gv_wwDd}); diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.cs index c92a99e..d5a1e50 100644 --- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.cs +++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwPc.cs @@ -240,7 +240,9 @@ { lbGuid.Text = ""; Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); - UtilityHelper.CleanValueByControl(panel1.Controls, true); + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.CleanValueByControl(panel1.Controls, true, gvList); Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); } /// <summary> diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj index 55311ab..2a31f43 100644 --- a/DevApp/Gs.DevApp/Gs.DevApp.csproj +++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj @@ -272,17 +272,17 @@ <Compile Include="DevFrm\Ck\Frm_MesItemBlDJ.Designer.cs"> <DependentUpon>Frm_MesItemBlDJ.cs</DependentUpon> </Compile> - <Compile Include="DevFrm\Ck\Frm_MesItemClDj.cs"> - <SubType>Form</SubType> - </Compile> - <Compile Include="DevFrm\Ck\Frm_MesItemClDj.Designer.cs"> - <DependentUpon>Frm_MesItemClDj.cs</DependentUpon> - </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemCl.cs"> <SubType>Form</SubType> </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemCl.Designer.cs"> <DependentUpon>Frm_MesItemCl.cs</DependentUpon> + </Compile> + <Compile Include="DevFrm\Ck\Frm_MesItemClDj.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DevFrm\Ck\Frm_MesItemClDj.Designer.cs"> + <DependentUpon>Frm_MesItemClDj.cs</DependentUpon> </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemQtCk.cs"> <SubType>Form</SubType> @@ -578,6 +578,12 @@ <Compile Include="DevFrm\WOM\Frm_Wompba.Designer.cs"> <DependentUpon>Frm_Wompba.cs</DependentUpon> </Compile> + <Compile Include="DevFrm\WW\Frm_WwCl.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DevFrm\WW\Frm_WwCl.Designer.cs"> + <DependentUpon>Frm_WwCl.cs</DependentUpon> + </Compile> <Compile Include="DevFrm\WW\Frm_ProductionOrder.cs"> <SubType>Form</SubType> </Compile> @@ -797,6 +803,12 @@ <Compile Include="UserControl\UcLookWorkshop.Designer.cs"> <DependentUpon>UcLookWorkshop.cs</DependentUpon> </Compile> + <Compile Include="UserControl\UcLookWwgd.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="UserControl\UcLookWwgd.Designer.cs"> + <DependentUpon>UcLookWwgd.cs</DependentUpon> + </Compile> <Compile Include="UserControl\UcPageBar.cs"> <SubType>UserControl</SubType> </Compile> @@ -869,11 +881,11 @@ <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBlDJ.resx"> <DependentUpon>Frm_MesItemBlDJ.cs</DependentUpon> </EmbeddedResource> - <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemClDj.resx"> - <DependentUpon>Frm_MesItemClDj.cs</DependentUpon> - </EmbeddedResource> <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemCl.resx"> <DependentUpon>Frm_MesItemCl.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemClDj.resx"> + <DependentUpon>Frm_MesItemClDj.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemQtCk.resx"> <DependentUpon>Frm_MesItemQtCk.cs</DependentUpon> @@ -1008,6 +1020,9 @@ <EmbeddedResource Include="DevFrm\WOM\Frm_Wompba.resx"> <DependentUpon>Frm_Wompba.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="DevFrm\WW\Frm_WwCl.resx"> + <DependentUpon>Frm_WwCl.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="DevFrm\WW\Frm_ProductionOrder.resx"> <DependentUpon>Frm_ProductionOrder.cs</DependentUpon> </EmbeddedResource> @@ -1116,6 +1131,9 @@ <EmbeddedResource Include="UserControl\UcLookWorkshop.resx"> <DependentUpon>UcLookWorkshop.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="UserControl\UcLookWwgd.resx"> + <DependentUpon>UcLookWwgd.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="UserControl\UcPageBar.resx"> <DependentUpon>UcPageBar.cs</DependentUpon> </EmbeddedResource> diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 3f0d55e..87b763c 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -896,7 +896,7 @@ if (colmn.Tag!=null && colmn.Tag.ToString().EndsWith("edit")) colmn.OptionsColumn.ReadOnly = isEdt; else - colmn.OptionsColumn.ReadOnly = !isEdt; + colmn.OptionsColumn.ReadOnly = isEdt; } } } diff --git a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.Designer.cs new file mode 100644 index 0000000..ebcd125 --- /dev/null +++ b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.Designer.cs @@ -0,0 +1,165 @@ +锘縩amespace Gs.DevApp.UserControl +{ + partial class UcLookWwgd + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.lookSearchSupplier = new DevExpress.XtraEditors.SearchLookUpEdit(); + this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn6 = 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(); + this.SuspendLayout(); + // + // lookSearchSupplier + // + this.lookSearchSupplier.Dock = System.Windows.Forms.DockStyle.Fill; + this.lookSearchSupplier.EditValue = "璇烽�夋嫨"; + this.lookSearchSupplier.Location = new System.Drawing.Point(0, 0); + this.lookSearchSupplier.Name = "lookSearchSupplier"; + this.lookSearchSupplier.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lookSearchSupplier.Properties.Appearance.Options.UseFont = true; + this.lookSearchSupplier.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.lookSearchSupplier.Properties.PopupView = this.searchLookUpEdit1View; + this.lookSearchSupplier.Size = new System.Drawing.Size(282, 28); + this.lookSearchSupplier.TabIndex = 11; + // + // searchLookUpEdit1View + // + this.searchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn5, + this.gridColumn2, + this.gridColumn8, + this.gridColumn3, + this.gridColumn1, + this.gridColumn7, + this.gridColumn6, + this.gridColumn4}); + this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + this.searchLookUpEdit1View.Name = "searchLookUpEdit1View"; + this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; + this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false; + // + // gridColumn5 + // + this.gridColumn5.Caption = "濮斿宸ュ崟鍙�"; + this.gridColumn5.FieldName = "daa001"; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Visible = true; + this.gridColumn5.VisibleIndex = 0; + // + // gridColumn2 + // + this.gridColumn2.Caption = "宸ュ崟鏁伴噺"; + this.gridColumn2.FieldName = "daa008"; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 1; + // + // gridColumn8 + // + this.gridColumn8.Caption = "濮斿浠诲姟鍗曞彿"; + this.gridColumn8.FieldName = "daa014"; + this.gridColumn8.Name = "gridColumn8"; + this.gridColumn8.Visible = true; + this.gridColumn8.VisibleIndex = 2; + // + // gridColumn3 + // + this.gridColumn3.Caption = "浜у搧缂栫爜"; + this.gridColumn3.FieldName = "itemNo"; + this.gridColumn3.MinWidth = 100; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 3; + this.gridColumn3.Width = 100; + // + // gridColumn1 + // + this.gridColumn1.Caption = "浜у搧鍚嶇О"; + this.gridColumn1.FieldName = "itemmName"; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 4; + // + // gridColumn7 + // + this.gridColumn7.Caption = "浜у搧瑙勬牸鍨嬪彿"; + this.gridColumn7.FieldName = "itemModel"; + this.gridColumn7.Name = "gridColumn7"; + this.gridColumn7.Visible = true; + this.gridColumn7.VisibleIndex = 5; + // + // gridColumn6 + // + this.gridColumn6.Caption = "鍗曚綅"; + this.gridColumn6.FieldName = "fnumber"; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.Visible = true; + this.gridColumn6.VisibleIndex = 6; + // + // gridColumn4 + // + this.gridColumn4.Caption = "guid"; + this.gridColumn4.FieldName = "guid"; + this.gridColumn4.Name = "gridColumn4"; + // + // UcLookWwgd + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.lookSearchSupplier); + this.Name = "UcLookWwgd"; + this.Size = new System.Drawing.Size(282, 28); + ((System.ComponentModel.ISupportInitialize)(this.lookSearchSupplier.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private DevExpress.XtraEditors.SearchLookUpEdit lookSearchSupplier; + private DevExpress.XtraGrid.Views.Grid.GridView searchLookUpEdit1View; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + } +} diff --git a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs new file mode 100644 index 0000000..09a8106 --- /dev/null +++ b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs @@ -0,0 +1,168 @@ +锘縰sing DevExpress.XtraEditors; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Gs.DevApp.UserControl +{ + public partial class UcLookWwgd : DevExpress.XtraEditors.XtraUserControl + { + public UcLookWwgd() + { + InitializeComponent(); + lookSearchSupplier.Properties.NullText = "璇烽�夋嫨"; + lookSearchSupplier.EditValueChanged += + LookSearchSupplier_EditValueChanged; + getSuppler(); + } + + public bool IsReadly { get; set; } + + /// <summary> + /// 鏀瑰彉浜嬩欢 + /// </summary> + public event EventHandler EditChanged; + + private void LookSearchSupplier_EditValueChanged(object sender, + EventArgs e) + { + if (EditChanged != null) EditChanged(this, e); + } + + private void getSuppler() + { + var pgq = new PageQueryModel(1, 999999, "a.daa001", "asc", "", " and 1=1"); + var json = JsonConvert.SerializeObject(pgq); + try + { + var strReturn = UtilityHelper.HttpPost("", "WWBlManager/SelectForm", json); + var rtn = UtilityHelper.ReturnToTablePage(strReturn); + var dt = rtn.rtnData.list; + lookSearchSupplier.Properties.DataSource = dt; + lookSearchSupplier.Properties.DisplayMember = "daa001"; + lookSearchSupplier.Properties.ValueMember = "id"; + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + /// <summary> + /// 宸ュ崟guid + /// </summary> + /// <returns></returns> + public string GetId() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["id"].ToString(); + return id; + } + return ""; + } + /// <summary> + /// 宸ュ崟缂栧彿 + /// </summary> + /// <returns></returns> + public string GetCode() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["daa001"].ToString(); + return id; + } + return ""; + } + /// <summary> + /// 宸ュ崟鏂囨湰锛屽簲璇ユ槸缂栧彿 + /// </summary> + /// <returns></returns> + public string GetName() + { + var name = lookSearchSupplier.Text.Trim(); + return name; + } + /// <summary> + /// + /// </summary> + /// <param name="Code"></param> + public void SetIdOrCode(string Code) + { + if (Code == "-1") + { + lookSearchSupplier.EditValue = null; + return; + } + if (!string.IsNullOrEmpty(Code)) + lookSearchSupplier.EditValue = (((Code.ToString().Trim()))); + } + + /// <summary> + /// 浜у搧id + /// </summary> + /// <returns></returns> + public string GetPrdId() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["daa003"].ToString(); + return id; + } + return ""; + } + /// <summary> + /// 浜у搧鍚嶇О + /// </summary> + /// <returns></returns> + public string GetPrdName() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["itemName"].ToString(); + return id; + } + return ""; + } + /// <summary> + /// 浜у搧瑙勬牸鍨嬪彿 + /// </summary> + /// <returns></returns> + public string GetPrdModel() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["itemModel"].ToString(); + return id; + } + return ""; + } + /// <summary> + /// 浜у搧缂栫爜 + /// </summary> + /// <returns></returns> + public string GetPrdNo() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["itemNo"].ToString(); + return id; + } + return ""; + } + } +} diff --git a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.resx b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.resx @@ -0,0 +1,120 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs index f4c7c84..79fc47c 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs @@ -457,6 +457,9 @@ lst.Add(btnAdd.Name); lst.Add(btnEdit.Name); lst.Add(btnEsc.Name); + lst.Add(btnChk.Name); + lst.Add(btnFchk.Name); + lst.Add(btnDel.Name); _enabledBtn(lst); } } -- Gitblit v1.9.3