From 085fef1f2662c238d56ee0dbaae1e4c777c171e2 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 25 十一月 2024 09:55:10 +0800
Subject: [PATCH] 分页查询

---
 DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Department.Designer.cs |  547 +++++++-----------------------------------------------
 1 files changed, 75 insertions(+), 472 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Department.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Department.Designer.cs
index 5b3d254..f7dcc93 100644
--- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Department.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Department.Designer.cs
@@ -31,40 +31,15 @@
         /// </summary>
         private void InitializeComponent()
         {
-            this.lb_remark5 = new DevExpress.XtraEditors.LabelControl();
-            this.txt_remark5 = new DevExpress.XtraEditors.TextEdit();
-            this.lb_remark4 = new DevExpress.XtraEditors.LabelControl();
-            this.txt_remark4 = new DevExpress.XtraEditors.TextEdit();
-            this.lb_parentId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_parentId = new DevExpress.XtraEditors.TextEdit();
             this.gv_parentId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_useOrg = new DevExpress.XtraEditors.LabelControl();
-            this.txt_useOrg = new DevExpress.XtraEditors.TextEdit();
-            this.gv_useOrg = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_createOrg = new DevExpress.XtraEditors.LabelControl();
-            this.txt_createOrg = new DevExpress.XtraEditors.TextEdit();
-            this.gv_createOrg = new DevExpress.XtraGrid.Columns.GridColumn();
             this.lb_materialProperti = new DevExpress.XtraEditors.LabelControl();
             this.txt_materialProperti = new DevExpress.XtraEditors.TextEdit();
-            this.gv_materialProperti = new DevExpress.XtraGrid.Columns.GridColumn();
             this.lb_productionWorkshop = new DevExpress.XtraEditors.LabelControl();
             this.txt_productionWorkshop = new DevExpress.XtraEditors.TextEdit();
             this.gv_productionWorkshop = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_id = new DevExpress.XtraEditors.LabelControl();
-            this.txt_id = new DevExpress.XtraEditors.TextEdit();
             this.lb_remark = new DevExpress.XtraEditors.LabelControl();
             this.txt_remark = new DevExpress.XtraEditors.TextEdit();
             this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_lastupdateDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_lastupdateDate = new DevExpress.XtraEditors.TextEdit();
-            this.lb_lastupdateBy = new DevExpress.XtraEditors.LabelControl();
-            this.txt_lastupdateBy = new DevExpress.XtraEditors.TextEdit();
-            this.lb_createDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_createDate = new DevExpress.XtraEditors.TextEdit();
-            this.lb_createBy = new DevExpress.XtraEditors.LabelControl();
-            this.txt_createBy = new DevExpress.XtraEditors.TextEdit();
-            this.lb_factory = new DevExpress.XtraEditors.LabelControl();
-            this.txt_factory = new DevExpress.XtraEditors.TextEdit();
             this.gv_factory = new DevExpress.XtraGrid.Columns.GridColumn();
             this.lb_fmanager = new DevExpress.XtraEditors.LabelControl();
             this.txt_fmanager = new DevExpress.XtraEditors.TextEdit();
@@ -75,8 +50,6 @@
             this.lb_workshopNo = new DevExpress.XtraEditors.LabelControl();
             this.txt_workshopNo = new DevExpress.XtraEditors.TextEdit();
             this.gv_workshopNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_depextr5 = new DevExpress.XtraEditors.LabelControl();
-            this.txt_depextr5 = new DevExpress.XtraEditors.TextEdit();
             this.lb_depextr4 = new DevExpress.XtraEditors.LabelControl();
             this.txt_depextr4 = new DevExpress.XtraEditors.TextEdit();
             this.gv_depextr4 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -98,8 +71,6 @@
             this.lb_departmentid = new DevExpress.XtraEditors.LabelControl();
             this.txt_departmentid = new DevExpress.XtraEditors.TextEdit();
             this.gv_departmentid = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_company = new DevExpress.XtraEditors.LabelControl();
-            this.txt_company = new DevExpress.XtraEditors.TextEdit();
             this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
             this.gcMain = new DevExpress.XtraGrid.GridControl();
             this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
@@ -110,24 +81,12 @@
             this.panel1 = new System.Windows.Forms.Panel();
             this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
             this.lbGuid = new System.Windows.Forms.Label();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_remark5.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_remark4.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_parentId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_useOrg.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createOrg.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_materialProperti.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_productionWorkshop.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_id.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateBy.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_factory.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fmanager.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_workshopName.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_workshopNo.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_depextr5.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_depextr4.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_depextr3.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_depextr2.Properties)).BeginInit();
@@ -135,7 +94,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_departmentname.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_departmentcode.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_departmentid.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_company.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
@@ -145,148 +103,26 @@
             this.panel1.SuspendLayout();
             this.SuspendLayout();
             // 
-            // lb_remark5
-            // 
-            this.lb_remark5.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_remark5.Appearance.Options.UseFont = true;
-            this.lb_remark5.Location = new System.Drawing.Point(513, 250);
-            this.lb_remark5.Name = "lb_remark5";
-            this.lb_remark5.Size = new System.Drawing.Size(99, 21);
-            this.lb_remark5.TabIndex = 327;
-            this.lb_remark5.Text = "鑷畾涔夊瓧娈�5 ";
-            // 
-            // txt_remark5
-            // 
-            this.txt_remark5.Location = new System.Drawing.Point(618, 246);
-            this.txt_remark5.Name = "txt_remark5";
-            this.txt_remark5.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_remark5.Properties.Appearance.Options.UseFont = true;
-            this.txt_remark5.Size = new System.Drawing.Size(150, 28);
-            this.txt_remark5.TabIndex = 327;
-            // 
-            // lb_remark4
-            // 
-            this.lb_remark4.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_remark4.Appearance.Options.UseFont = true;
-            this.lb_remark4.Location = new System.Drawing.Point(261, 250);
-            this.lb_remark4.Name = "lb_remark4";
-            this.lb_remark4.Size = new System.Drawing.Size(82, 21);
-            this.lb_remark4.TabIndex = 319;
-            this.lb_remark4.Text = "鎵╁睍瀛楁4 ";
-            // 
-            // txt_remark4
-            // 
-            this.txt_remark4.Location = new System.Drawing.Point(349, 246);
-            this.txt_remark4.Name = "txt_remark4";
-            this.txt_remark4.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_remark4.Properties.Appearance.Options.UseFont = true;
-            this.txt_remark4.Size = new System.Drawing.Size(150, 28);
-            this.txt_remark4.TabIndex = 319;
-            // 
-            // lb_parentId
-            // 
-            this.lb_parentId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_parentId.Appearance.Options.UseFont = true;
-            this.lb_parentId.Location = new System.Drawing.Point(28, 216);
-            this.lb_parentId.Name = "lb_parentId";
-            this.lb_parentId.Size = new System.Drawing.Size(73, 21);
-            this.lb_parentId.TabIndex = 312;
-            this.lb_parentId.Text = "涓婄骇閮ㄩ棬 ";
-            // 
-            // txt_parentId
-            // 
-            this.txt_parentId.Location = new System.Drawing.Point(106, 212);
-            this.txt_parentId.Name = "txt_parentId";
-            this.txt_parentId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_parentId.Properties.Appearance.Options.UseFont = true;
-            this.txt_parentId.Size = new System.Drawing.Size(150, 28);
-            this.txt_parentId.TabIndex = 312;
-            // 
             // gv_parentId
             // 
             this.gv_parentId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_parentId.AppearanceCell.Options.UseFont = true;
-            this.gv_parentId.Caption = "涓婄骇閮ㄩ棬 ";
-            this.gv_parentId.FieldName = "parentId";
-            this.gv_parentId.MinWidth = 50;
+            this.gv_parentId.Caption = "涓婄骇閮ㄩ棬";
+            this.gv_parentId.FieldName = "fParentID";
+            this.gv_parentId.MinWidth = 150;
             this.gv_parentId.Name = "gv_parentId";
             this.gv_parentId.OptionsColumn.AllowEdit = false;
-            this.gv_parentId.Tag = "query_a.parent_id";
+            this.gv_parentId.OptionsFilter.ImmediateUpdateAutoFilter = false;
+            this.gv_parentId.Tag = "query_c.Departmentname";
             this.gv_parentId.Visible = true;
-            this.gv_parentId.VisibleIndex = 16;
-            this.gv_parentId.Width = 94;
-            // 
-            // lb_useOrg
-            // 
-            this.lb_useOrg.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_useOrg.Appearance.Options.UseFont = true;
-            this.lb_useOrg.Location = new System.Drawing.Point(270, 84);
-            this.lb_useOrg.Name = "lb_useOrg";
-            this.lb_useOrg.Size = new System.Drawing.Size(73, 21);
-            this.lb_useOrg.TabIndex = 306;
-            this.lb_useOrg.Text = "浣跨敤缁勭粐 ";
-            // 
-            // txt_useOrg
-            // 
-            this.txt_useOrg.Location = new System.Drawing.Point(349, 84);
-            this.txt_useOrg.Name = "txt_useOrg";
-            this.txt_useOrg.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_useOrg.Properties.Appearance.Options.UseFont = true;
-            this.txt_useOrg.Size = new System.Drawing.Size(150, 28);
-            this.txt_useOrg.TabIndex = 306;
-            // 
-            // gv_useOrg
-            // 
-            this.gv_useOrg.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_useOrg.AppearanceCell.Options.UseFont = true;
-            this.gv_useOrg.Caption = "浣跨敤缁勭粐 ";
-            this.gv_useOrg.FieldName = "useOrg";
-            this.gv_useOrg.MinWidth = 50;
-            this.gv_useOrg.Name = "gv_useOrg";
-            this.gv_useOrg.OptionsColumn.AllowEdit = false;
-            this.gv_useOrg.Tag = "query_a.use_org";
-            this.gv_useOrg.Visible = true;
-            this.gv_useOrg.VisibleIndex = 15;
-            this.gv_useOrg.Width = 94;
-            // 
-            // lb_createOrg
-            // 
-            this.lb_createOrg.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_createOrg.Appearance.Options.UseFont = true;
-            this.lb_createOrg.Location = new System.Drawing.Point(539, 180);
-            this.lb_createOrg.Name = "lb_createOrg";
-            this.lb_createOrg.Size = new System.Drawing.Size(73, 21);
-            this.lb_createOrg.TabIndex = 298;
-            this.lb_createOrg.Text = "鍒涘缓缁勭粐 ";
-            // 
-            // txt_createOrg
-            // 
-            this.txt_createOrg.Location = new System.Drawing.Point(618, 180);
-            this.txt_createOrg.Name = "txt_createOrg";
-            this.txt_createOrg.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_createOrg.Properties.Appearance.Options.UseFont = true;
-            this.txt_createOrg.Size = new System.Drawing.Size(150, 28);
-            this.txt_createOrg.TabIndex = 298;
-            // 
-            // gv_createOrg
-            // 
-            this.gv_createOrg.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_createOrg.AppearanceCell.Options.UseFont = true;
-            this.gv_createOrg.Caption = "鍒涘缓缁勭粐 ";
-            this.gv_createOrg.FieldName = "createOrg";
-            this.gv_createOrg.MinWidth = 50;
-            this.gv_createOrg.Name = "gv_createOrg";
-            this.gv_createOrg.OptionsColumn.AllowEdit = false;
-            this.gv_createOrg.Tag = "query_a.create_org";
-            this.gv_createOrg.Visible = true;
-            this.gv_createOrg.VisibleIndex = 14;
-            this.gv_createOrg.Width = 94;
+            this.gv_parentId.VisibleIndex = 13;
+            this.gv_parentId.Width = 150;
             // 
             // lb_materialProperti
             // 
             this.lb_materialProperti.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_materialProperti.Appearance.Options.UseFont = true;
-            this.lb_materialProperti.Location = new System.Drawing.Point(270, 180);
+            this.lb_materialProperti.Location = new System.Drawing.Point(270, 87);
             this.lb_materialProperti.Name = "lb_materialProperti";
             this.lb_materialProperti.Size = new System.Drawing.Size(73, 21);
             this.lb_materialProperti.TabIndex = 291;
@@ -294,32 +130,18 @@
             // 
             // txt_materialProperti
             // 
-            this.txt_materialProperti.Location = new System.Drawing.Point(349, 180);
+            this.txt_materialProperti.Location = new System.Drawing.Point(349, 83);
             this.txt_materialProperti.Name = "txt_materialProperti";
             this.txt_materialProperti.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_materialProperti.Properties.Appearance.Options.UseFont = true;
             this.txt_materialProperti.Size = new System.Drawing.Size(150, 28);
             this.txt_materialProperti.TabIndex = 291;
             // 
-            // gv_materialProperti
-            // 
-            this.gv_materialProperti.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_materialProperti.AppearanceCell.Options.UseFont = true;
-            this.gv_materialProperti.Caption = "鐗╂枡灞炴�� ";
-            this.gv_materialProperti.FieldName = "materialProperti";
-            this.gv_materialProperti.MinWidth = 50;
-            this.gv_materialProperti.Name = "gv_materialProperti";
-            this.gv_materialProperti.OptionsColumn.AllowEdit = false;
-            this.gv_materialProperti.Tag = "query_a.material_properti";
-            this.gv_materialProperti.Visible = true;
-            this.gv_materialProperti.VisibleIndex = 13;
-            this.gv_materialProperti.Width = 94;
-            // 
             // lb_productionWorkshop
             // 
             this.lb_productionWorkshop.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_productionWorkshop.Appearance.Options.UseFont = true;
-            this.lb_productionWorkshop.Location = new System.Drawing.Point(28, 180);
+            this.lb_productionWorkshop.Location = new System.Drawing.Point(28, 154);
             this.lb_productionWorkshop.Name = "lb_productionWorkshop";
             this.lb_productionWorkshop.Size = new System.Drawing.Size(73, 21);
             this.lb_productionWorkshop.TabIndex = 285;
@@ -327,7 +149,7 @@
             // 
             // txt_productionWorkshop
             // 
-            this.txt_productionWorkshop.Location = new System.Drawing.Point(106, 180);
+            this.txt_productionWorkshop.Location = new System.Drawing.Point(107, 150);
             this.txt_productionWorkshop.Name = "txt_productionWorkshop";
             this.txt_productionWorkshop.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_productionWorkshop.Properties.Appearance.Options.UseFont = true;
@@ -338,40 +160,22 @@
             // 
             this.gv_productionWorkshop.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_productionWorkshop.AppearanceCell.Options.UseFont = true;
-            this.gv_productionWorkshop.Caption = "鐢熶骇杞﹂棿 ";
+            this.gv_productionWorkshop.Caption = "鐢熶骇杞﹂棿";
             this.gv_productionWorkshop.FieldName = "productionWorkshop";
             this.gv_productionWorkshop.MinWidth = 50;
             this.gv_productionWorkshop.Name = "gv_productionWorkshop";
             this.gv_productionWorkshop.OptionsColumn.AllowEdit = false;
+            this.gv_productionWorkshop.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_productionWorkshop.Tag = "query_a.production_workshop";
             this.gv_productionWorkshop.Visible = true;
             this.gv_productionWorkshop.VisibleIndex = 12;
             this.gv_productionWorkshop.Width = 94;
             // 
-            // lb_id
-            // 
-            this.lb_id.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_id.Appearance.Options.UseFont = true;
-            this.lb_id.Location = new System.Drawing.Point(83, 288);
-            this.lb_id.Name = "lb_id";
-            this.lb_id.Size = new System.Drawing.Size(18, 21);
-            this.lb_id.TabIndex = 280;
-            this.lb_id.Text = "id ";
-            // 
-            // txt_id
-            // 
-            this.txt_id.Location = new System.Drawing.Point(106, 284);
-            this.txt_id.Name = "txt_id";
-            this.txt_id.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_id.Properties.Appearance.Options.UseFont = true;
-            this.txt_id.Size = new System.Drawing.Size(150, 28);
-            this.txt_id.TabIndex = 280;
-            // 
             // lb_remark
             // 
             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(573, 148);
+            this.lb_remark.Location = new System.Drawing.Point(304, 154);
             this.lb_remark.Name = "lb_remark";
             this.lb_remark.Size = new System.Drawing.Size(39, 21);
             this.lb_remark.TabIndex = 273;
@@ -379,7 +183,7 @@
             // 
             // txt_remark
             // 
-            this.txt_remark.Location = new System.Drawing.Point(618, 148);
+            this.txt_remark.Location = new System.Drawing.Point(349, 150);
             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;
@@ -390,130 +194,38 @@
             // 
             this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_remark.AppearanceCell.Options.UseFont = true;
-            this.gv_remark.Caption = "澶囨敞 ";
+            this.gv_remark.Caption = "澶囨敞";
             this.gv_remark.FieldName = "remark";
             this.gv_remark.MinWidth = 50;
             this.gv_remark.Name = "gv_remark";
             this.gv_remark.OptionsColumn.AllowEdit = false;
+            this.gv_remark.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_remark.Tag = "query_a.remark";
             this.gv_remark.Visible = true;
             this.gv_remark.VisibleIndex = 11;
             this.gv_remark.Width = 94;
             // 
-            // lb_lastupdateDate
-            // 
-            this.lb_lastupdateDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_lastupdateDate.Appearance.Options.UseFont = true;
-            this.lb_lastupdateDate.Location = new System.Drawing.Point(270, 148);
-            this.lb_lastupdateDate.Name = "lb_lastupdateDate";
-            this.lb_lastupdateDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_lastupdateDate.TabIndex = 267;
-            this.lb_lastupdateDate.Text = "淇敼鏃ユ湡 ";
-            // 
-            // txt_lastupdateDate
-            // 
-            this.txt_lastupdateDate.Location = new System.Drawing.Point(349, 148);
-            this.txt_lastupdateDate.Name = "txt_lastupdateDate";
-            this.txt_lastupdateDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_lastupdateDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_lastupdateDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_lastupdateDate.TabIndex = 267;
-            // 
-            // lb_lastupdateBy
-            // 
-            this.lb_lastupdateBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_lastupdateBy.Appearance.Options.UseFont = true;
-            this.lb_lastupdateBy.Location = new System.Drawing.Point(11, 148);
-            this.lb_lastupdateBy.Name = "lb_lastupdateBy";
-            this.lb_lastupdateBy.Size = new System.Drawing.Size(90, 21);
-            this.lb_lastupdateBy.TabIndex = 262;
-            this.lb_lastupdateBy.Text = "鏈�鍚庝慨鏀逛汉 ";
-            // 
-            // txt_lastupdateBy
-            // 
-            this.txt_lastupdateBy.Location = new System.Drawing.Point(106, 148);
-            this.txt_lastupdateBy.Name = "txt_lastupdateBy";
-            this.txt_lastupdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_lastupdateBy.Properties.Appearance.Options.UseFont = true;
-            this.txt_lastupdateBy.Size = new System.Drawing.Size(150, 28);
-            this.txt_lastupdateBy.TabIndex = 262;
-            // 
-            // lb_createDate
-            // 
-            this.lb_createDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_createDate.Appearance.Options.UseFont = true;
-            this.lb_createDate.Location = new System.Drawing.Point(539, 216);
-            this.lb_createDate.Name = "lb_createDate";
-            this.lb_createDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_createDate.TabIndex = 258;
-            this.lb_createDate.Text = "鍒涘缓鏃ユ湡 ";
-            // 
-            // txt_createDate
-            // 
-            this.txt_createDate.Location = new System.Drawing.Point(618, 212);
-            this.txt_createDate.Name = "txt_createDate";
-            this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_createDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_createDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_createDate.TabIndex = 258;
-            // 
-            // lb_createBy
-            // 
-            this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_createBy.Appearance.Options.UseFont = true;
-            this.lb_createBy.Location = new System.Drawing.Point(556, 116);
-            this.lb_createBy.Name = "lb_createBy";
-            this.lb_createBy.Size = new System.Drawing.Size(56, 21);
-            this.lb_createBy.TabIndex = 252;
-            this.lb_createBy.Text = "鍒涘缓浜� ";
-            // 
-            // txt_createBy
-            // 
-            this.txt_createBy.Location = new System.Drawing.Point(618, 116);
-            this.txt_createBy.Name = "txt_createBy";
-            this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_createBy.Properties.Appearance.Options.UseFont = true;
-            this.txt_createBy.Size = new System.Drawing.Size(150, 28);
-            this.txt_createBy.TabIndex = 252;
-            // 
-            // lb_factory
-            // 
-            this.lb_factory.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_factory.Appearance.Options.UseFont = true;
-            this.lb_factory.Location = new System.Drawing.Point(304, 116);
-            this.lb_factory.Name = "lb_factory";
-            this.lb_factory.Size = new System.Drawing.Size(39, 21);
-            this.lb_factory.TabIndex = 247;
-            this.lb_factory.Text = "宸ュ巶 ";
-            // 
-            // txt_factory
-            // 
-            this.txt_factory.Location = new System.Drawing.Point(349, 116);
-            this.txt_factory.Name = "txt_factory";
-            this.txt_factory.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_factory.Properties.Appearance.Options.UseFont = true;
-            this.txt_factory.Size = new System.Drawing.Size(150, 28);
-            this.txt_factory.TabIndex = 247;
-            // 
             // gv_factory
             // 
             this.gv_factory.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_factory.AppearanceCell.Options.UseFont = true;
-            this.gv_factory.Caption = "宸ュ巶 ";
-            this.gv_factory.FieldName = "factory";
-            this.gv_factory.MinWidth = 50;
+            this.gv_factory.Caption = "浣跨敤缁勭粐";
+            this.gv_factory.FieldName = "fSubsidiary";
+            this.gv_factory.MinWidth = 250;
             this.gv_factory.Name = "gv_factory";
             this.gv_factory.OptionsColumn.AllowEdit = false;
-            this.gv_factory.Tag = "query_a.factory";
+            this.gv_factory.OptionsFilter.AllowFilterModeChanging = DevExpress.Utils.DefaultBoolean.False;
+            this.gv_factory.OptionsFilter.ImmediateUpdateAutoFilter = false;
+            this.gv_factory.Tag = "org.fnamber";
             this.gv_factory.Visible = true;
             this.gv_factory.VisibleIndex = 0;
-            this.gv_factory.Width = 94;
+            this.gv_factory.Width = 250;
             // 
             // lb_fmanager
             // 
             this.lb_fmanager.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_fmanager.Appearance.Options.UseFont = true;
-            this.lb_fmanager.Location = new System.Drawing.Point(28, 116);
+            this.lb_fmanager.Location = new System.Drawing.Point(28, 119);
             this.lb_fmanager.Name = "lb_fmanager";
             this.lb_fmanager.Size = new System.Drawing.Size(73, 21);
             this.lb_fmanager.TabIndex = 243;
@@ -521,7 +233,7 @@
             // 
             // txt_fmanager
             // 
-            this.txt_fmanager.Location = new System.Drawing.Point(106, 116);
+            this.txt_fmanager.Location = new System.Drawing.Point(107, 115);
             this.txt_fmanager.Name = "txt_fmanager";
             this.txt_fmanager.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_fmanager.Properties.Appearance.Options.UseFont = true;
@@ -532,11 +244,12 @@
             // 
             this.gv_fmanager.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_fmanager.AppearanceCell.Options.UseFont = true;
-            this.gv_fmanager.Caption = "閮ㄩ棬缁忕悊 ";
+            this.gv_fmanager.Caption = "閮ㄩ棬缁忕悊";
             this.gv_fmanager.FieldName = "fmanager";
             this.gv_fmanager.MinWidth = 50;
             this.gv_fmanager.Name = "gv_fmanager";
             this.gv_fmanager.OptionsColumn.AllowEdit = false;
+            this.gv_fmanager.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_fmanager.Tag = "query_a.fmanager";
             this.gv_fmanager.Visible = true;
             this.gv_fmanager.VisibleIndex = 10;
@@ -546,7 +259,7 @@
             // 
             this.lb_workshopName.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_workshopName.Appearance.Options.UseFont = true;
-            this.lb_workshopName.Location = new System.Drawing.Point(287, 216);
+            this.lb_workshopName.Location = new System.Drawing.Point(543, 87);
             this.lb_workshopName.Name = "lb_workshopName";
             this.lb_workshopName.Size = new System.Drawing.Size(56, 21);
             this.lb_workshopName.TabIndex = 240;
@@ -554,7 +267,7 @@
             // 
             // txt_workshopName
             // 
-            this.txt_workshopName.Location = new System.Drawing.Point(349, 212);
+            this.txt_workshopName.Location = new System.Drawing.Point(605, 83);
             this.txt_workshopName.Name = "txt_workshopName";
             this.txt_workshopName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_workshopName.Properties.Appearance.Options.UseFont = true;
@@ -565,21 +278,22 @@
             // 
             this.gv_workshopName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_workshopName.AppearanceCell.Options.UseFont = true;
-            this.gv_workshopName.Caption = "杞﹂棿鍚� ";
+            this.gv_workshopName.Caption = "杞﹂棿鍚�";
             this.gv_workshopName.FieldName = "workshopName";
-            this.gv_workshopName.MinWidth = 50;
+            this.gv_workshopName.MinWidth = 150;
             this.gv_workshopName.Name = "gv_workshopName";
             this.gv_workshopName.OptionsColumn.AllowEdit = false;
+            this.gv_workshopName.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_workshopName.Tag = "query_a.workshop_name";
             this.gv_workshopName.Visible = true;
             this.gv_workshopName.VisibleIndex = 9;
-            this.gv_workshopName.Width = 94;
+            this.gv_workshopName.Width = 150;
             // 
             // lb_workshopNo
             // 
             this.lb_workshopNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_workshopNo.Appearance.Options.UseFont = true;
-            this.lb_workshopNo.Location = new System.Drawing.Point(555, 84);
+            this.lb_workshopNo.Location = new System.Drawing.Point(542, 52);
             this.lb_workshopNo.Name = "lb_workshopNo";
             this.lb_workshopNo.Size = new System.Drawing.Size(57, 21);
             this.lb_workshopNo.TabIndex = 235;
@@ -587,7 +301,7 @@
             // 
             // txt_workshopNo
             // 
-            this.txt_workshopNo.Location = new System.Drawing.Point(618, 84);
+            this.txt_workshopNo.Location = new System.Drawing.Point(605, 48);
             this.txt_workshopNo.Name = "txt_workshopNo";
             this.txt_workshopNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_workshopNo.Properties.Appearance.Options.UseFont = true;
@@ -598,40 +312,22 @@
             // 
             this.gv_workshopNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_workshopNo.AppearanceCell.Options.UseFont = true;
-            this.gv_workshopNo.Caption = "杞﹂棿ID ";
+            this.gv_workshopNo.Caption = "杞﹂棿ID";
             this.gv_workshopNo.FieldName = "workshopNo";
             this.gv_workshopNo.MinWidth = 50;
             this.gv_workshopNo.Name = "gv_workshopNo";
             this.gv_workshopNo.OptionsColumn.AllowEdit = false;
+            this.gv_workshopNo.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_workshopNo.Tag = "query_a.workshop_no";
             this.gv_workshopNo.Visible = true;
             this.gv_workshopNo.VisibleIndex = 8;
             this.gv_workshopNo.Width = 94;
             // 
-            // lb_depextr5
-            // 
-            this.lb_depextr5.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_depextr5.Appearance.Options.UseFont = true;
-            this.lb_depextr5.Location = new System.Drawing.Point(261, 288);
-            this.lb_depextr5.Name = "lb_depextr5";
-            this.lb_depextr5.Size = new System.Drawing.Size(82, 21);
-            this.lb_depextr5.TabIndex = 231;
-            this.lb_depextr5.Text = "鎵╁睍瀛楁5 ";
-            // 
-            // txt_depextr5
-            // 
-            this.txt_depextr5.Location = new System.Drawing.Point(349, 284);
-            this.txt_depextr5.Name = "txt_depextr5";
-            this.txt_depextr5.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_depextr5.Properties.Appearance.Options.UseFont = true;
-            this.txt_depextr5.Size = new System.Drawing.Size(150, 28);
-            this.txt_depextr5.TabIndex = 231;
-            // 
             // lb_depextr4
             // 
             this.lb_depextr4.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_depextr4.Appearance.Options.UseFont = true;
-            this.lb_depextr4.Location = new System.Drawing.Point(7, 84);
+            this.lb_depextr4.Location = new System.Drawing.Point(7, 87);
             this.lb_depextr4.Name = "lb_depextr4";
             this.lb_depextr4.Size = new System.Drawing.Size(94, 21);
             this.lb_depextr4.TabIndex = 228;
@@ -639,7 +335,7 @@
             // 
             // txt_depextr4
             // 
-            this.txt_depextr4.Location = new System.Drawing.Point(106, 84);
+            this.txt_depextr4.Location = new System.Drawing.Point(107, 83);
             this.txt_depextr4.Name = "txt_depextr4";
             this.txt_depextr4.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_depextr4.Properties.Appearance.Options.UseFont = true;
@@ -650,11 +346,12 @@
             // 
             this.gv_depextr4.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_depextr4.AppearanceCell.Options.UseFont = true;
-            this.gv_depextr4.Caption = "A鍚敤B绂佺敤 ";
+            this.gv_depextr4.Caption = "A鍚敤B绂佺敤";
             this.gv_depextr4.FieldName = "depextr4";
             this.gv_depextr4.MinWidth = 50;
             this.gv_depextr4.Name = "gv_depextr4";
             this.gv_depextr4.OptionsColumn.AllowEdit = false;
+            this.gv_depextr4.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_depextr4.Tag = "query_a.depextr4";
             this.gv_depextr4.Visible = true;
             this.gv_depextr4.VisibleIndex = 7;
@@ -664,7 +361,7 @@
             // 
             this.lb_depextr3.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_depextr3.Appearance.Options.UseFont = true;
-            this.lb_depextr3.Location = new System.Drawing.Point(32, 250);
+            this.lb_depextr3.Location = new System.Drawing.Point(274, 119);
             this.lb_depextr3.Name = "lb_depextr3";
             this.lb_depextr3.Size = new System.Drawing.Size(69, 21);
             this.lb_depextr3.TabIndex = 226;
@@ -672,7 +369,7 @@
             // 
             // txt_depextr3
             // 
-            this.txt_depextr3.Location = new System.Drawing.Point(106, 246);
+            this.txt_depextr3.Location = new System.Drawing.Point(349, 115);
             this.txt_depextr3.Name = "txt_depextr3";
             this.txt_depextr3.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_depextr3.Properties.Appearance.Options.UseFont = true;
@@ -683,11 +380,12 @@
             // 
             this.gv_depextr3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_depextr3.AppearanceCell.Options.UseFont = true;
-            this.gv_depextr3.Caption = "WIP浠撳簱 ";
+            this.gv_depextr3.Caption = "WIP浠撳簱";
             this.gv_depextr3.FieldName = "depextr3";
             this.gv_depextr3.MinWidth = 50;
             this.gv_depextr3.Name = "gv_depextr3";
             this.gv_depextr3.OptionsColumn.AllowEdit = false;
+            this.gv_depextr3.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_depextr3.Tag = "query_a.depextr3";
             this.gv_depextr3.Visible = true;
             this.gv_depextr3.VisibleIndex = 6;
@@ -697,7 +395,7 @@
             // 
             this.lb_depextr2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_depextr2.Appearance.Options.UseFont = true;
-            this.lb_depextr2.Location = new System.Drawing.Point(539, 52);
+            this.lb_depextr2.Location = new System.Drawing.Point(526, 14);
             this.lb_depextr2.Name = "lb_depextr2";
             this.lb_depextr2.Size = new System.Drawing.Size(73, 21);
             this.lb_depextr2.TabIndex = 222;
@@ -705,7 +403,7 @@
             // 
             // txt_depextr2
             // 
-            this.txt_depextr2.Location = new System.Drawing.Point(618, 52);
+            this.txt_depextr2.Location = new System.Drawing.Point(605, 14);
             this.txt_depextr2.Name = "txt_depextr2";
             this.txt_depextr2.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_depextr2.Properties.Appearance.Options.UseFont = true;
@@ -716,15 +414,16 @@
             // 
             this.gv_depextr2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_depextr2.AppearanceCell.Options.UseFont = true;
-            this.gv_depextr2.Caption = "閮ㄩ棬鍒嗙粍 ";
+            this.gv_depextr2.Caption = "閮ㄩ棬鍒嗙粍";
             this.gv_depextr2.FieldName = "depextr2";
-            this.gv_depextr2.MinWidth = 50;
+            this.gv_depextr2.MinWidth = 100;
             this.gv_depextr2.Name = "gv_depextr2";
             this.gv_depextr2.OptionsColumn.AllowEdit = false;
+            this.gv_depextr2.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_depextr2.Tag = "query_a.depextr2";
             this.gv_depextr2.Visible = true;
             this.gv_depextr2.VisibleIndex = 5;
-            this.gv_depextr2.Width = 94;
+            this.gv_depextr2.Width = 100;
             // 
             // lb_depextr1
             // 
@@ -738,7 +437,7 @@
             // 
             // txt_depextr1
             // 
-            this.txt_depextr1.Location = new System.Drawing.Point(349, 52);
+            this.txt_depextr1.Location = new System.Drawing.Point(349, 48);
             this.txt_depextr1.Name = "txt_depextr1";
             this.txt_depextr1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_depextr1.Properties.Appearance.Options.UseFont = true;
@@ -749,15 +448,16 @@
             // 
             this.gv_depextr1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_depextr1.AppearanceCell.Options.UseFont = true;
-            this.gv_depextr1.Caption = "閮ㄩ棬灞炴�� ";
+            this.gv_depextr1.Caption = "閮ㄩ棬灞炴��";
             this.gv_depextr1.FieldName = "depextr1";
-            this.gv_depextr1.MinWidth = 50;
+            this.gv_depextr1.MinWidth = 100;
             this.gv_depextr1.Name = "gv_depextr1";
             this.gv_depextr1.OptionsColumn.AllowEdit = false;
+            this.gv_depextr1.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_depextr1.Tag = "query_a.depextr1";
             this.gv_depextr1.Visible = true;
             this.gv_depextr1.VisibleIndex = 4;
-            this.gv_depextr1.Width = 94;
+            this.gv_depextr1.Width = 100;
             // 
             // lb_departmentname
             // 
@@ -771,7 +471,7 @@
             // 
             // txt_departmentname
             // 
-            this.txt_departmentname.Location = new System.Drawing.Point(106, 52);
+            this.txt_departmentname.Location = new System.Drawing.Point(107, 48);
             this.txt_departmentname.Name = "txt_departmentname";
             this.txt_departmentname.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_departmentname.Properties.Appearance.Options.UseFont = true;
@@ -782,21 +482,22 @@
             // 
             this.gv_departmentname.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_departmentname.AppearanceCell.Options.UseFont = true;
-            this.gv_departmentname.Caption = "閮ㄩ棬鍚嶇О ";
+            this.gv_departmentname.Caption = "閮ㄩ棬鍚嶇О";
             this.gv_departmentname.FieldName = "departmentname";
-            this.gv_departmentname.MinWidth = 50;
+            this.gv_departmentname.MinWidth = 150;
             this.gv_departmentname.Name = "gv_departmentname";
             this.gv_departmentname.OptionsColumn.AllowEdit = false;
+            this.gv_departmentname.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_departmentname.Tag = "query_a.departmentname";
             this.gv_departmentname.Visible = true;
             this.gv_departmentname.VisibleIndex = 3;
-            this.gv_departmentname.Width = 94;
+            this.gv_departmentname.Width = 150;
             // 
             // lb_departmentcode
             // 
             this.lb_departmentcode.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_departmentcode.Appearance.Options.UseFont = true;
-            this.lb_departmentcode.Location = new System.Drawing.Point(539, 18);
+            this.lb_departmentcode.Location = new System.Drawing.Point(270, 14);
             this.lb_departmentcode.Name = "lb_departmentcode";
             this.lb_departmentcode.Size = new System.Drawing.Size(73, 21);
             this.lb_departmentcode.TabIndex = 216;
@@ -804,7 +505,7 @@
             // 
             // txt_departmentcode
             // 
-            this.txt_departmentcode.Location = new System.Drawing.Point(618, 18);
+            this.txt_departmentcode.Location = new System.Drawing.Point(349, 14);
             this.txt_departmentcode.Name = "txt_departmentcode";
             this.txt_departmentcode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_departmentcode.Properties.Appearance.Options.UseFont = true;
@@ -815,11 +516,12 @@
             // 
             this.gv_departmentcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_departmentcode.AppearanceCell.Options.UseFont = true;
-            this.gv_departmentcode.Caption = "閮ㄩ棬缂栧彿 ";
+            this.gv_departmentcode.Caption = "閮ㄩ棬缂栧彿";
             this.gv_departmentcode.FieldName = "departmentcode";
-            this.gv_departmentcode.MinWidth = 50;
+            this.gv_departmentcode.MinWidth = 80;
             this.gv_departmentcode.Name = "gv_departmentcode";
             this.gv_departmentcode.OptionsColumn.AllowEdit = false;
+            this.gv_departmentcode.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_departmentcode.Tag = "query_a.departmentcode";
             this.gv_departmentcode.Visible = true;
             this.gv_departmentcode.VisibleIndex = 2;
@@ -829,7 +531,7 @@
             // 
             this.lb_departmentid.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_departmentid.Appearance.Options.UseFont = true;
-            this.lb_departmentid.Location = new System.Drawing.Point(286, 18);
+            this.lb_departmentid.Location = new System.Drawing.Point(44, 14);
             this.lb_departmentid.Name = "lb_departmentid";
             this.lb_departmentid.Size = new System.Drawing.Size(57, 21);
             this.lb_departmentid.TabIndex = 213;
@@ -837,7 +539,7 @@
             // 
             // txt_departmentid
             // 
-            this.txt_departmentid.Location = new System.Drawing.Point(349, 18);
+            this.txt_departmentid.Location = new System.Drawing.Point(107, 14);
             this.txt_departmentid.Name = "txt_departmentid";
             this.txt_departmentid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_departmentid.Properties.Appearance.Options.UseFont = true;
@@ -848,34 +550,16 @@
             // 
             this.gv_departmentid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
             this.gv_departmentid.AppearanceCell.Options.UseFont = true;
-            this.gv_departmentid.Caption = "閮ㄩ棬ID ";
+            this.gv_departmentid.Caption = "閮ㄩ棬ID";
             this.gv_departmentid.FieldName = "departmentid";
             this.gv_departmentid.MinWidth = 50;
             this.gv_departmentid.Name = "gv_departmentid";
             this.gv_departmentid.OptionsColumn.AllowEdit = false;
+            this.gv_departmentid.OptionsFilter.ImmediateUpdateAutoFilter = false;
             this.gv_departmentid.Tag = "query_a.departmentid";
             this.gv_departmentid.Visible = true;
             this.gv_departmentid.VisibleIndex = 1;
             this.gv_departmentid.Width = 94;
-            // 
-            // lb_company
-            // 
-            this.lb_company.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_company.Appearance.Options.UseFont = true;
-            this.lb_company.Location = new System.Drawing.Point(62, 18);
-            this.lb_company.Name = "lb_company";
-            this.lb_company.Size = new System.Drawing.Size(39, 21);
-            this.lb_company.TabIndex = 211;
-            this.lb_company.Text = "鍏徃 ";
-            // 
-            // txt_company
-            // 
-            this.txt_company.Location = new System.Drawing.Point(106, 18);
-            this.txt_company.Name = "txt_company";
-            this.txt_company.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_company.Properties.Appearance.Options.UseFont = true;
-            this.txt_company.Size = new System.Drawing.Size(150, 28);
-            this.txt_company.TabIndex = 211;
             // 
             // toolBarMenu1
             // 
@@ -921,13 +605,14 @@
             this.gv_fmanager,
             this.gv_remark,
             this.gv_productionWorkshop,
-            this.gv_materialProperti,
-            this.gv_createOrg,
-            this.gv_useOrg,
             this.gv_parentId});
             this.gridView1.GridControl = this.gcMain;
             this.gridView1.IndicatorWidth = 50;
             this.gridView1.Name = "gridView1";
+            this.gridView1.OptionsCustomization.AllowFilter = false;
+            this.gridView1.OptionsFilter.AllowAutoFilterConditionChange = DevExpress.Utils.DefaultBoolean.False;
+            this.gridView1.OptionsFilter.AllowFilterEditor = false;
+            this.gridView1.OptionsFilter.ShowCustomFunctions = DevExpress.Utils.DefaultBoolean.False;
             this.gridView1.OptionsFind.ShowSearchNavButtons = false;
             this.gridView1.OptionsView.ShowAutoFilterRow = true;
             this.gridView1.OptionsView.ShowGroupPanel = false;
@@ -978,42 +663,18 @@
             this.panel1.BackColor = System.Drawing.Color.White;
             this.panel1.Controls.Add(this.labelControl11);
             this.panel1.Controls.Add(this.lbGuid);
-            this.panel1.Controls.Add(this.lb_remark5);
-            this.panel1.Controls.Add(this.txt_remark5);
-            this.panel1.Controls.Add(this.lb_remark4);
-            this.panel1.Controls.Add(this.txt_remark4);
-            this.panel1.Controls.Add(this.lb_parentId);
-            this.panel1.Controls.Add(this.txt_parentId);
-            this.panel1.Controls.Add(this.lb_useOrg);
-            this.panel1.Controls.Add(this.txt_useOrg);
-            this.panel1.Controls.Add(this.lb_createOrg);
-            this.panel1.Controls.Add(this.txt_createOrg);
             this.panel1.Controls.Add(this.lb_materialProperti);
             this.panel1.Controls.Add(this.txt_materialProperti);
             this.panel1.Controls.Add(this.lb_productionWorkshop);
             this.panel1.Controls.Add(this.txt_productionWorkshop);
-            this.panel1.Controls.Add(this.lb_id);
-            this.panel1.Controls.Add(this.txt_id);
             this.panel1.Controls.Add(this.lb_remark);
             this.panel1.Controls.Add(this.txt_remark);
-            this.panel1.Controls.Add(this.lb_lastupdateDate);
-            this.panel1.Controls.Add(this.txt_lastupdateDate);
-            this.panel1.Controls.Add(this.lb_lastupdateBy);
-            this.panel1.Controls.Add(this.txt_lastupdateBy);
-            this.panel1.Controls.Add(this.lb_createDate);
-            this.panel1.Controls.Add(this.txt_createDate);
-            this.panel1.Controls.Add(this.lb_createBy);
-            this.panel1.Controls.Add(this.txt_createBy);
-            this.panel1.Controls.Add(this.lb_factory);
-            this.panel1.Controls.Add(this.txt_factory);
             this.panel1.Controls.Add(this.lb_fmanager);
             this.panel1.Controls.Add(this.txt_fmanager);
             this.panel1.Controls.Add(this.lb_workshopName);
             this.panel1.Controls.Add(this.txt_workshopName);
             this.panel1.Controls.Add(this.lb_workshopNo);
             this.panel1.Controls.Add(this.txt_workshopNo);
-            this.panel1.Controls.Add(this.lb_depextr5);
-            this.panel1.Controls.Add(this.txt_depextr5);
             this.panel1.Controls.Add(this.lb_depextr4);
             this.panel1.Controls.Add(this.txt_depextr4);
             this.panel1.Controls.Add(this.lb_depextr3);
@@ -1028,8 +689,6 @@
             this.panel1.Controls.Add(this.txt_departmentcode);
             this.panel1.Controls.Add(this.lb_departmentid);
             this.panel1.Controls.Add(this.txt_departmentid);
-            this.panel1.Controls.Add(this.lb_company);
-            this.panel1.Controls.Add(this.txt_company);
             this.panel1.Font = new System.Drawing.Font("Tahoma", 10F);
             this.panel1.Location = new System.Drawing.Point(76, 20);
             this.panel1.Name = "panel1";
@@ -1063,24 +722,12 @@
             this.Controls.Add(this.xtraTabControl1);
             this.Controls.Add(this.toolBarMenu1);
             this.Name = "Frm_Department";
-            ((System.ComponentModel.ISupportInitialize)(this.txt_remark5.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_remark4.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_parentId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_useOrg.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createOrg.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_materialProperti.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_productionWorkshop.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_id.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_lastupdateBy.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_factory.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fmanager.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_workshopName.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_workshopNo.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_depextr5.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_depextr4.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_depextr3.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_depextr2.Properties)).EndInit();
@@ -1088,7 +735,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_departmentname.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_departmentcode.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_departmentid.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_company.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
@@ -1111,54 +757,18 @@
         private System.Windows.Forms.Panel panel1;
         private System.Windows.Forms.Label lbGuid;
         private DevExpress.XtraEditors.LabelControl labelControl11;
-        //BQCreateConrolObejct
-        private DevExpress.XtraEditors.LabelControl lb_remark5;
-        private DevExpress.XtraEditors.TextEdit txt_remark5;
-
-        private DevExpress.XtraEditors.LabelControl lb_remark4;
-        private DevExpress.XtraEditors.TextEdit txt_remark4;
-
-        private DevExpress.XtraEditors.LabelControl lb_parentId;
-        private DevExpress.XtraEditors.TextEdit txt_parentId;
         private DevExpress.XtraGrid.Columns.GridColumn gv_parentId;
-
-        private DevExpress.XtraEditors.LabelControl lb_useOrg;
-        private DevExpress.XtraEditors.TextEdit txt_useOrg;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_useOrg;
-
-        private DevExpress.XtraEditors.LabelControl lb_createOrg;
-        private DevExpress.XtraEditors.TextEdit txt_createOrg;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_createOrg;
 
         private DevExpress.XtraEditors.LabelControl lb_materialProperti;
         private DevExpress.XtraEditors.TextEdit txt_materialProperti;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_materialProperti;
 
         private DevExpress.XtraEditors.LabelControl lb_productionWorkshop;
         private DevExpress.XtraEditors.TextEdit txt_productionWorkshop;
         private DevExpress.XtraGrid.Columns.GridColumn gv_productionWorkshop;
 
-        private DevExpress.XtraEditors.LabelControl lb_id;
-        private DevExpress.XtraEditors.TextEdit txt_id;
-
         private DevExpress.XtraEditors.LabelControl lb_remark;
         private DevExpress.XtraEditors.TextEdit txt_remark;
         private DevExpress.XtraGrid.Columns.GridColumn gv_remark;
-
-        private DevExpress.XtraEditors.LabelControl lb_lastupdateDate;
-        private DevExpress.XtraEditors.TextEdit txt_lastupdateDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_lastupdateBy;
-        private DevExpress.XtraEditors.TextEdit txt_lastupdateBy;
-
-        private DevExpress.XtraEditors.LabelControl lb_createDate;
-        private DevExpress.XtraEditors.TextEdit txt_createDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_createBy;
-        private DevExpress.XtraEditors.TextEdit txt_createBy;
-
-        private DevExpress.XtraEditors.LabelControl lb_factory;
-        private DevExpress.XtraEditors.TextEdit txt_factory;
         private DevExpress.XtraGrid.Columns.GridColumn gv_factory;
 
         private DevExpress.XtraEditors.LabelControl lb_fmanager;
@@ -1172,9 +782,6 @@
         private DevExpress.XtraEditors.LabelControl lb_workshopNo;
         private DevExpress.XtraEditors.TextEdit txt_workshopNo;
         private DevExpress.XtraGrid.Columns.GridColumn gv_workshopNo;
-
-        private DevExpress.XtraEditors.LabelControl lb_depextr5;
-        private DevExpress.XtraEditors.TextEdit txt_depextr5;
 
         private DevExpress.XtraEditors.LabelControl lb_depextr4;
         private DevExpress.XtraEditors.TextEdit txt_depextr4;
@@ -1203,9 +810,5 @@
         private DevExpress.XtraEditors.LabelControl lb_departmentid;
         private DevExpress.XtraEditors.TextEdit txt_departmentid;
         private DevExpress.XtraGrid.Columns.GridColumn gv_departmentid;
-
-        private DevExpress.XtraEditors.LabelControl lb_company;
-        private DevExpress.XtraEditors.TextEdit txt_company;
-
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3