From 5b419c5a4fd892b1777e8c5ac584bf2df3cbbb3e Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 28 二月 2025 16:32:12 +0800
Subject: [PATCH] 布局

---
 DevApp/Gs.DevApp/DevFrm/Ck/UcBlclDj.cs                     |   16 
 DevApp/Gs.DevApp/DevFrm/WW/WwBlcl.cs                       |   16 
 DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs                       |   12 
 DevApp/Gs.DevApp/DevFrm/WW/Frm_WwLlDj.cs                   |   16 
 DevApp/Gs.DevApp/UserControl/showLayOut.cs                 |  107 +
 DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs                   |   15 
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs                  |   16 
 DevApp/Gs.DevApp/Gs.DevApp.csproj                          |    6 
 DevApp/Gs.DevApp/App.config                                |    4 
 DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs              |  167 ++-
 DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.Designer.cs | 2039 +++++++++++++++++++++++-------------------
 DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs                     |   16 
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs                  |   53 +
 /dev/null                                                  |    0 
 DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs     |    5 
 DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs              |  169 +++
 DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs          |   34 
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs                  |   16 
 DevApp/Gs.DevApp/DevFrm/WW/WwBlclDj.cs                     |   16 
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs                  |   17 
 DevApp/Gs.DevApp/DevFrm/XtraForm1.cs                       |   23 
 21 files changed, 1,539 insertions(+), 1,224 deletions(-)

diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config
index dfcd2d5..c371e91 100644
--- a/DevApp/Gs.DevApp/App.config
+++ b/DevApp/Gs.DevApp/App.config
@@ -28,8 +28,8 @@
 		</assemblyBinding>
 	</runtime>
     <appSettings>
-		 <!--<add key="WebApiUrl" value="http://localhost:5263/" />-->
-		<add key="WebApiUrl" value="http://192.168.1.145:81/" /> 
+		 <add key="WebApiUrl" value="http://localhost:5263/" />
+		<!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> 
         <add key="LogPath" value="logs" />
         <add key="ProductName" value="骞挎繁绉戞妧 G-MES V2.0" />
         <add key="PageSize" value="50" />
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs b/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
index cdfac6f..1ba02a6 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/UcBlcl.cs
@@ -41,7 +41,6 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             Form parentForm = this.FindForm();
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
@@ -118,16 +117,7 @@
         /// </summary>
         /// <param name="sender"></param>
         /// <param name="e"></param>
-
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            Form parentForm = this.FindForm();
-            string _formNamespace = parentForm.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+ 
         /// <summary>
         /// 鏃ュ織
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/UcBlclDj.cs b/DevApp/Gs.DevApp/DevFrm/Ck/UcBlclDj.cs
index e10e558..a737502 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/UcBlclDj.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/UcBlclDj.cs
@@ -33,7 +33,6 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             Form parentForm = this.FindForm();
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
@@ -61,20 +60,7 @@
             Task.Delay(100);
             getPageList(1);
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            Form parentForm = this.FindForm();
-            string _formNamespace = parentForm.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+      
         /// <summary>
         /// 鏃ュ織
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.Designer.cs
index 4f93f2a..d3d9244 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.Designer.cs
@@ -29,24 +29,82 @@
         /// </summary>
         private void InitializeComponent()
         {
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition();
             DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
             DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
-            this.gvMx1fseq = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1fEntrynote = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1fRealQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1fMustQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1salesDetailId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1pid = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1id = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
+            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
+            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
+            this.spc1 = new DevExpress.XtraEditors.SplitContainerControl();
+            this.gcMain = new DevExpress.XtraGrid.GridControl();
+            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.gv_id = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fBillTypeID = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fSaleOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fStockOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fCreatorId = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fApproverID = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fCreateDate = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fApproveDate = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fSalesManID = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fCustomerID = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fDate = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fNote = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_fApproverStaus = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.pageBar1 = new UserControls.Data.UcPageBar();
+            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
+            this.spc2 = new DevExpress.XtraEditors.SplitContainerControl();
+            this.lay2 = new DevExpress.XtraLayout.LayoutControl();
+            this.txt_fCustomerIDTxt = new DevExpress.XtraEditors.TextEdit();
+            this.lbGuid = new System.Windows.Forms.Label();
+            this.txt_salesId = new Gs.DevApp.UserControl.UcLookSales();
+            this.txt_fSaleOrgIdTxt = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fDate = new DevExpress.XtraEditors.TextEdit();
+            this.txt_id = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fNote = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fBillTypeID = new DevExpress.XtraEditors.ComboBoxEdit();
+            this.txt_billNo = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fCreatorId = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fSalesManIDTxt = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fApproveDate = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fCreateDate = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fApproverID = new DevExpress.XtraEditors.TextEdit();
+            this.txt_fApproverStaus = new DevExpress.XtraEditors.CheckEdit();
+            this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.tabMx = new DevExpress.XtraTab.XtraTabControl();
             this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
             this.gcMx1 = new DevExpress.XtraGrid.GridControl();
             this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.repositoryItemSearchLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
-            this.repositoryItemSearchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -55,6 +113,16 @@
             this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1id = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1pid = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1salesDetailId = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1fMustQty = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1fRealQty = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1fEntrynote = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1fseq = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
             this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -77,192 +145,821 @@
             this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn();
             this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
-            this.lb_fApproverStaus = new DevExpress.XtraEditors.LabelControl();
-            this.gv_fApproverStaus = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fNote = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fNote = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fNote = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fCustomerID = new DevExpress.XtraEditors.LabelControl();
-            this.gv_fCustomerID = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fSalesManID = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fSalesManIDTxt = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fSalesManID = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fApproveDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fApproveDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fApproveDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fCreateDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fCreateDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fCreateDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fApproverID = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fApproverID = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fApproverID = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fCreatorId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fCreatorId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fCreatorId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gv_fStockOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fSaleOrgId = new DevExpress.XtraEditors.LabelControl();
-            this.gv_fSaleOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fBillTypeID = new DevExpress.XtraEditors.LabelControl();
-            this.gv_fBillTypeID = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_billNo = new DevExpress.XtraEditors.LabelControl();
-            this.txt_billNo = new DevExpress.XtraEditors.TextEdit();
-            this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_id = new DevExpress.XtraEditors.LabelControl();
-            this.txt_id = new DevExpress.XtraEditors.TextEdit();
-            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.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
-            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_fApproverStaus = new DevExpress.XtraEditors.CheckEdit();
-            this.txt_fCustomerIDTxt = new DevExpress.XtraEditors.TextEdit();
-            this.txt_salesId = new Gs.DevApp.UserControl.UcLookSales();
-            this.lb_salesId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fSaleOrgIdTxt = new DevExpress.XtraEditors.TextEdit();
-            this.txt_fBillTypeID = new DevExpress.XtraEditors.ComboBoxEdit();
-            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
-            this.lbGuid = new System.Windows.Forms.Label();
             this.picCheckBox = new System.Windows.Forms.PictureBox();
-            this.tabMxPage1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fNote.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
+            this.xtraTabControl1.SuspendLayout();
+            this.xtraTabPage1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.spc1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.spc1.Panel1)).BeginInit();
+            this.spc1.Panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.spc1.Panel2)).BeginInit();
+            this.spc1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+            this.xtraTabPage2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.spc2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.spc2.Panel1)).BeginInit();
+            this.spc2.Panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.spc2.Panel2)).BeginInit();
+            this.spc2.Panel2.SuspendLayout();
+            this.spc2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.lay2)).BeginInit();
+            this.lay2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fCustomerIDTxt.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fSaleOrgIdTxt.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fDate.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_id.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fNote.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fBillTypeID.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fCreatorId.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fSalesManIDTxt.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fApproveDate.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fCreateDate.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fApproverID.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fCreatorId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_id.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.txt_fApproverStaus.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
             this.tabMx.SuspendLayout();
-            this.panel1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fApproverStaus.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fCustomerIDTxt.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fSaleOrgIdTxt.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fBillTypeID.Properties)).BeginInit();
+            this.tabMxPage1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit();
             this.SuspendLayout();
             // 
-            // gvMx1fseq
+            // toolBarMenu1
             // 
-            this.gvMx1fseq.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1fseq.AppearanceCell.Options.UseFont = true;
-            this.gvMx1fseq.Caption = "鎺掑簭 ";
-            this.gvMx1fseq.FieldName = "fseq";
-            this.gvMx1fseq.MinWidth = 50;
-            this.gvMx1fseq.Name = "gvMx1fseq";
-            this.gvMx1fseq.Tag = "query_a.FSEQ";
-            this.gvMx1fseq.Visible = true;
-            this.gvMx1fseq.VisibleIndex = 4;
-            this.gvMx1fseq.Width = 94;
+            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;
             // 
-            // gvMx1fEntrynote
+            // xtraTabControl1
             // 
-            this.gvMx1fEntrynote.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1fEntrynote.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
-            this.gvMx1fEntrynote.AppearanceCell.Options.UseFont = true;
-            this.gvMx1fEntrynote.AppearanceCell.Options.UseForeColor = true;
-            this.gvMx1fEntrynote.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
-            this.gvMx1fEntrynote.AppearanceHeader.Options.UseForeColor = true;
-            this.gvMx1fEntrynote.Caption = "澶囨敞 ";
-            this.gvMx1fEntrynote.FieldName = "fEntrynote";
-            this.gvMx1fEntrynote.MinWidth = 50;
-            this.gvMx1fEntrynote.Name = "gvMx1fEntrynote";
-            this.gvMx1fEntrynote.Tag = "edit";
-            this.gvMx1fEntrynote.Visible = true;
-            this.gvMx1fEntrynote.VisibleIndex = 3;
-            this.gvMx1fEntrynote.Width = 94;
+            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});
             // 
-            // gvMx1fRealQty
+            // xtraTabPage1
             // 
-            this.gvMx1fRealQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1fRealQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1fRealQty.Caption = "瀹炲彂鏁伴噺 ";
-            this.gvMx1fRealQty.FieldName = "fRealQty";
-            this.gvMx1fRealQty.MinWidth = 50;
-            this.gvMx1fRealQty.Name = "gvMx1fRealQty";
-            this.gvMx1fRealQty.Tag = "query_a.FRealQty";
-            this.gvMx1fRealQty.Visible = true;
-            this.gvMx1fRealQty.VisibleIndex = 2;
-            this.gvMx1fRealQty.Width = 94;
+            this.xtraTabPage1.Controls.Add(this.spc1);
+            this.xtraTabPage1.Name = "xtraTabPage1";
+            this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570);
+            this.xtraTabPage1.Text = "鏁版嵁鍒楄〃";
             // 
-            // gvMx1fMustQty
+            // spc1
             // 
-            this.gvMx1fMustQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1fMustQty.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
-            this.gvMx1fMustQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1fMustQty.AppearanceCell.Options.UseForeColor = true;
-            this.gvMx1fMustQty.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
-            this.gvMx1fMustQty.AppearanceHeader.Options.UseForeColor = true;
-            this.gvMx1fMustQty.Caption = "搴斿彂鏁伴噺 ";
-            this.gvMx1fMustQty.FieldName = "fMustQty";
-            this.gvMx1fMustQty.MinWidth = 50;
-            this.gvMx1fMustQty.Name = "gvMx1fMustQty";
-            this.gvMx1fMustQty.Tag = "yz_quantity_0_edit";
-            this.gvMx1fMustQty.Visible = true;
-            this.gvMx1fMustQty.VisibleIndex = 1;
-            this.gvMx1fMustQty.Width = 94;
+            this.spc1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.spc1.Horizontal = false;
+            this.spc1.Location = new System.Drawing.Point(0, 0);
+            this.spc1.Name = "spc1";
             // 
-            // gvMx1salesDetailId
+            // spc1.Panel1
             // 
-            this.gvMx1salesDetailId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1salesDetailId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1salesDetailId.Caption = "SALES_ORDER_DETAIL鐨凣uid ";
-            this.gvMx1salesDetailId.FieldName = "salesDetailId";
-            this.gvMx1salesDetailId.MinWidth = 50;
-            this.gvMx1salesDetailId.Name = "gvMx1salesDetailId";
-            this.gvMx1salesDetailId.Tag = "query_a.SalesDetailId";
-            this.gvMx1salesDetailId.Width = 94;
+            this.spc1.Panel1.AutoScroll = true;
+            this.spc1.Panel1.Controls.Add(this.gcMain);
+            this.spc1.Panel1.Controls.Add(this.pageBar1);
+            this.spc1.Panel1.Text = "Panel1";
             // 
-            // gvMx1pid
+            // spc1.Panel2
             // 
-            this.gvMx1pid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1pid.AppearanceCell.Options.UseFont = true;
-            this.gvMx1pid.Caption = "涓昏〃guid ";
-            this.gvMx1pid.FieldName = "pid";
-            this.gvMx1pid.MinWidth = 50;
-            this.gvMx1pid.Name = "gvMx1pid";
-            this.gvMx1pid.Tag = "query_a.pid";
-            this.gvMx1pid.Width = 94;
+            this.spc1.Panel2.Text = "Panel2";
+            this.spc1.Size = new System.Drawing.Size(1126, 570);
+            this.spc1.SplitterPosition = 406;
+            this.spc1.TabIndex = 0;
             // 
-            // gvMx1id
+            // gcMain
             // 
-            this.gvMx1id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1id.AppearanceCell.Options.UseFont = true;
-            this.gvMx1id.Caption = "涓婚敭 ";
-            this.gvMx1id.FieldName = "id";
-            this.gvMx1id.MinWidth = 50;
-            this.gvMx1id.Name = "gvMx1id";
-            this.gvMx1id.Tag = "query_a.id";
-            this.gvMx1id.Width = 94;
+            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, 367);
+            this.gcMain.TabIndex = 2;
+            this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+            this.gridView1});
+            // 
+            // gridView1
+            // 
+            this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gridView1.Appearance.Row.Options.UseFont = true;
+            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.gv_id,
+            this.gv_billNo,
+            this.gv_fBillTypeID,
+            this.gv_fSaleOrgId,
+            this.gv_fStockOrgId,
+            this.gv_fCreatorId,
+            this.gv_fApproverID,
+            this.gv_fCreateDate,
+            this.gv_fApproveDate,
+            this.gv_fSalesManID,
+            this.gv_fCustomerID,
+            this.gv_fDate,
+            this.gv_fNote,
+            this.gv_fApproverStaus,
+            this.gridColumn2});
+            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;
+            // 
+            // gv_id
+            // 
+            this.gv_id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_id.AppearanceCell.Options.UseFont = true;
+            this.gv_id.Caption = "涓婚敭GUID";
+            this.gv_id.FieldName = "id";
+            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.Visible = true;
+            this.gv_id.VisibleIndex = 0;
+            this.gv_id.Width = 94;
+            // 
+            // gv_billNo
+            // 
+            this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_billNo.AppearanceCell.Options.UseFont = true;
+            this.gv_billNo.Caption = "鍗曟嵁缂栧彿 ";
+            this.gv_billNo.FieldName = "billNo";
+            this.gv_billNo.MinWidth = 50;
+            this.gv_billNo.Name = "gv_billNo";
+            this.gv_billNo.OptionsColumn.AllowEdit = false;
+            this.gv_billNo.Tag = "query_a.bill_no";
+            this.gv_billNo.Visible = true;
+            this.gv_billNo.VisibleIndex = 1;
+            this.gv_billNo.Width = 94;
+            // 
+            // gv_fBillTypeID
+            // 
+            this.gv_fBillTypeID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fBillTypeID.AppearanceCell.Options.UseFont = true;
+            this.gv_fBillTypeID.Caption = "鍗曟嵁绫诲瀷 ";
+            this.gv_fBillTypeID.FieldName = "fBillTypeID";
+            this.gv_fBillTypeID.MinWidth = 50;
+            this.gv_fBillTypeID.Name = "gv_fBillTypeID";
+            this.gv_fBillTypeID.OptionsColumn.AllowEdit = false;
+            this.gv_fBillTypeID.Tag = "query_a.FBillTypeID";
+            this.gv_fBillTypeID.Visible = true;
+            this.gv_fBillTypeID.VisibleIndex = 2;
+            this.gv_fBillTypeID.Width = 94;
+            // 
+            // gv_fSaleOrgId
+            // 
+            this.gv_fSaleOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fSaleOrgId.AppearanceCell.Options.UseFont = true;
+            this.gv_fSaleOrgId.Caption = "閿�鍞粍缁� ";
+            this.gv_fSaleOrgId.FieldName = "fSaleOrgId";
+            this.gv_fSaleOrgId.MinWidth = 50;
+            this.gv_fSaleOrgId.Name = "gv_fSaleOrgId";
+            this.gv_fSaleOrgId.OptionsColumn.AllowEdit = false;
+            this.gv_fSaleOrgId.Tag = "query_a.FSaleOrgId";
+            this.gv_fSaleOrgId.Visible = true;
+            this.gv_fSaleOrgId.VisibleIndex = 3;
+            this.gv_fSaleOrgId.Width = 94;
+            // 
+            // gv_fStockOrgId
+            // 
+            this.gv_fStockOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fStockOrgId.AppearanceCell.Options.UseFont = true;
+            this.gv_fStockOrgId.Caption = "鍙戣揣缁勭粐 ";
+            this.gv_fStockOrgId.FieldName = "fStockOrgId";
+            this.gv_fStockOrgId.MinWidth = 50;
+            this.gv_fStockOrgId.Name = "gv_fStockOrgId";
+            this.gv_fStockOrgId.OptionsColumn.AllowEdit = false;
+            this.gv_fStockOrgId.Tag = "query_a.FStockOrgId";
+            this.gv_fStockOrgId.Visible = true;
+            this.gv_fStockOrgId.VisibleIndex = 4;
+            this.gv_fStockOrgId.Width = 94;
+            // 
+            // gv_fCreatorId
+            // 
+            this.gv_fCreatorId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fCreatorId.AppearanceCell.Options.UseFont = true;
+            this.gv_fCreatorId.Caption = "鍒涘缓浜� ";
+            this.gv_fCreatorId.FieldName = "fCreatorId";
+            this.gv_fCreatorId.MinWidth = 50;
+            this.gv_fCreatorId.Name = "gv_fCreatorId";
+            this.gv_fCreatorId.OptionsColumn.AllowEdit = false;
+            this.gv_fCreatorId.Tag = "query_a.FCreatorId";
+            this.gv_fCreatorId.Visible = true;
+            this.gv_fCreatorId.VisibleIndex = 5;
+            this.gv_fCreatorId.Width = 94;
+            // 
+            // gv_fApproverID
+            // 
+            this.gv_fApproverID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fApproverID.AppearanceCell.Options.UseFont = true;
+            this.gv_fApproverID.Caption = "瀹℃牳浜�";
+            this.gv_fApproverID.FieldName = "fApproverID";
+            this.gv_fApproverID.MinWidth = 50;
+            this.gv_fApproverID.Name = "gv_fApproverID";
+            this.gv_fApproverID.OptionsColumn.AllowEdit = false;
+            this.gv_fApproverID.Tag = "query_a.FApproverID";
+            this.gv_fApproverID.Visible = true;
+            this.gv_fApproverID.VisibleIndex = 6;
+            this.gv_fApproverID.Width = 94;
+            // 
+            // gv_fCreateDate
+            // 
+            this.gv_fCreateDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fCreateDate.AppearanceCell.Options.UseFont = true;
+            this.gv_fCreateDate.Caption = "鍒涘缓鏃ユ湡 ";
+            this.gv_fCreateDate.FieldName = "fCreateDate";
+            this.gv_fCreateDate.MinWidth = 50;
+            this.gv_fCreateDate.Name = "gv_fCreateDate";
+            this.gv_fCreateDate.OptionsColumn.AllowEdit = false;
+            this.gv_fCreateDate.Tag = "query_a.FCreateDate";
+            this.gv_fCreateDate.Visible = true;
+            this.gv_fCreateDate.VisibleIndex = 7;
+            this.gv_fCreateDate.Width = 94;
+            // 
+            // gv_fApproveDate
+            // 
+            this.gv_fApproveDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fApproveDate.AppearanceCell.Options.UseFont = true;
+            this.gv_fApproveDate.Caption = "瀹℃牳鏃ユ湡 ";
+            this.gv_fApproveDate.FieldName = "fApproveDate";
+            this.gv_fApproveDate.MinWidth = 50;
+            this.gv_fApproveDate.Name = "gv_fApproveDate";
+            this.gv_fApproveDate.OptionsColumn.AllowEdit = false;
+            this.gv_fApproveDate.Tag = "query_a.FApproveDate";
+            this.gv_fApproveDate.Visible = true;
+            this.gv_fApproveDate.VisibleIndex = 8;
+            this.gv_fApproveDate.Width = 94;
+            // 
+            // gv_fSalesManID
+            // 
+            this.gv_fSalesManID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fSalesManID.AppearanceCell.Options.UseFont = true;
+            this.gv_fSalesManID.Caption = "閿�鍞憳 ";
+            this.gv_fSalesManID.FieldName = "fSalesManID";
+            this.gv_fSalesManID.MinWidth = 50;
+            this.gv_fSalesManID.Name = "gv_fSalesManID";
+            this.gv_fSalesManID.OptionsColumn.AllowEdit = false;
+            this.gv_fSalesManID.Tag = "query_a.FSalesManID";
+            this.gv_fSalesManID.Visible = true;
+            this.gv_fSalesManID.VisibleIndex = 9;
+            this.gv_fSalesManID.Width = 94;
+            // 
+            // gv_fCustomerID
+            // 
+            this.gv_fCustomerID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fCustomerID.AppearanceCell.Options.UseFont = true;
+            this.gv_fCustomerID.Caption = "瀹㈡埛 ";
+            this.gv_fCustomerID.FieldName = "fCustomerID";
+            this.gv_fCustomerID.MinWidth = 50;
+            this.gv_fCustomerID.Name = "gv_fCustomerID";
+            this.gv_fCustomerID.OptionsColumn.AllowEdit = false;
+            this.gv_fCustomerID.Tag = "query_a.FCustomerID";
+            this.gv_fCustomerID.Visible = true;
+            this.gv_fCustomerID.VisibleIndex = 10;
+            this.gv_fCustomerID.Width = 94;
+            // 
+            // gv_fDate
+            // 
+            this.gv_fDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fDate.AppearanceCell.Options.UseFont = true;
+            this.gv_fDate.Caption = "鏃ユ湡 ";
+            this.gv_fDate.FieldName = "fDate";
+            this.gv_fDate.MinWidth = 50;
+            this.gv_fDate.Name = "gv_fDate";
+            this.gv_fDate.OptionsColumn.AllowEdit = false;
+            this.gv_fDate.Tag = "query_a.FDate";
+            this.gv_fDate.Visible = true;
+            this.gv_fDate.VisibleIndex = 11;
+            this.gv_fDate.Width = 94;
+            // 
+            // gv_fNote
+            // 
+            this.gv_fNote.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fNote.AppearanceCell.Options.UseFont = true;
+            this.gv_fNote.Caption = "澶囨敞 ";
+            this.gv_fNote.FieldName = "fNote";
+            this.gv_fNote.MinWidth = 50;
+            this.gv_fNote.Name = "gv_fNote";
+            this.gv_fNote.OptionsColumn.AllowEdit = false;
+            this.gv_fNote.Tag = "query_a.FNote";
+            this.gv_fNote.Visible = true;
+            this.gv_fNote.VisibleIndex = 12;
+            this.gv_fNote.Width = 94;
+            // 
+            // gv_fApproverStaus
+            // 
+            this.gv_fApproverStaus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gv_fApproverStaus.AppearanceCell.Options.UseFont = true;
+            this.gv_fApproverStaus.Caption = "瀹℃牳鏍囪瘑";
+            this.gv_fApproverStaus.FieldName = "chkStatus";
+            this.gv_fApproverStaus.MinWidth = 50;
+            this.gv_fApproverStaus.Name = "gv_fApproverStaus";
+            this.gv_fApproverStaus.OptionsColumn.AllowEdit = false;
+            this.gv_fApproverStaus.Tag = "query_a.FApproverStaus";
+            this.gv_fApproverStaus.Visible = true;
+            this.gv_fApproverStaus.VisibleIndex = 13;
+            this.gv_fApproverStaus.Width = 94;
+            // 
+            // gridColumn2
+            // 
+            this.gridColumn2.Caption = "瀹岀粨鏍囪瘑";
+            this.gridColumn2.FieldName = "wjStatus";
+            this.gridColumn2.MinWidth = 25;
+            this.gridColumn2.Name = "gridColumn2";
+            this.gridColumn2.Visible = true;
+            this.gridColumn2.VisibleIndex = 14;
+            this.gridColumn2.Width = 94;
+            // 
+            // pageBar1
+            // 
+            this.pageBar1.CurrentPage = 1;
+            this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.pageBar1.Location = new System.Drawing.Point(0, 367);
+            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 = 4;
+            this.pageBar1.TotalPages = 0;
+            // 
+            // xtraTabPage2
+            // 
+            this.xtraTabPage2.Controls.Add(this.spc2);
+            this.xtraTabPage2.Name = "xtraTabPage2";
+            this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570);
+            this.xtraTabPage2.Text = "鏁版嵁璇︾粏";
+            // 
+            // spc2
+            // 
+            this.spc2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.spc2.Horizontal = false;
+            this.spc2.Location = new System.Drawing.Point(0, 0);
+            this.spc2.Name = "spc2";
+            // 
+            // spc2.Panel1
+            // 
+            this.spc2.Panel1.Controls.Add(this.lay2);
+            this.spc2.Panel1.Text = "Panel1";
+            // 
+            // spc2.Panel2
+            // 
+            this.spc2.Panel2.Controls.Add(this.tabMx);
+            this.spc2.Panel2.Text = "Panel2";
+            this.spc2.Size = new System.Drawing.Size(1126, 570);
+            this.spc2.SplitterPosition = 144;
+            this.spc2.TabIndex = 0;
+            // 
+            // lay2
+            // 
+            this.lay2.AutoScroll = false;
+            this.lay2.Controls.Add(this.txt_fCustomerIDTxt);
+            this.lay2.Controls.Add(this.lbGuid);
+            this.lay2.Controls.Add(this.txt_salesId);
+            this.lay2.Controls.Add(this.txt_fSaleOrgIdTxt);
+            this.lay2.Controls.Add(this.txt_fDate);
+            this.lay2.Controls.Add(this.txt_id);
+            this.lay2.Controls.Add(this.txt_fNote);
+            this.lay2.Controls.Add(this.txt_fBillTypeID);
+            this.lay2.Controls.Add(this.txt_billNo);
+            this.lay2.Controls.Add(this.txt_fCreatorId);
+            this.lay2.Controls.Add(this.txt_fSalesManIDTxt);
+            this.lay2.Controls.Add(this.txt_fApproveDate);
+            this.lay2.Controls.Add(this.txt_fCreateDate);
+            this.lay2.Controls.Add(this.txt_fApproverID);
+            this.lay2.Controls.Add(this.txt_fApproverStaus);
+            this.lay2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.lay2.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.layoutControlItem15});
+            this.lay2.Location = new System.Drawing.Point(0, 0);
+            this.lay2.Name = "lay2";
+            this.lay2.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(962, 492, 812, 500);
+            this.lay2.Root = this.Root;
+            this.lay2.Size = new System.Drawing.Size(1126, 144);
+            this.lay2.TabIndex = 0;
+            this.lay2.Text = "layoutControl1";
+            // 
+            // txt_fCustomerIDTxt
+            // 
+            this.txt_fCustomerIDTxt.Location = new System.Drawing.Point(90, 108);
+            this.txt_fCustomerIDTxt.Name = "txt_fCustomerIDTxt";
+            this.txt_fCustomerIDTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fCustomerIDTxt.Properties.Appearance.Options.UseFont = true;
+            this.txt_fCustomerIDTxt.Size = new System.Drawing.Size(194, 28);
+            this.txt_fCustomerIDTxt.StyleController = this.lay2;
+            this.txt_fCustomerIDTxt.TabIndex = 368;
+            this.txt_fCustomerIDTxt.Tag = "readonly";
+            // 
+            // lbGuid
+            // 
+            this.lbGuid.Location = new System.Drawing.Point(564, 108);
+            this.lbGuid.Name = "lbGuid";
+            this.lbGuid.Size = new System.Drawing.Size(272, 28);
+            this.lbGuid.TabIndex = 1;
+            this.lbGuid.Visible = false;
+            // 
+            // txt_salesId
+            // 
+            this.txt_salesId.IsReadly = false;
+            this.txt_salesId.Location = new System.Drawing.Point(90, 44);
+            this.txt_salesId.Name = "txt_salesId";
+            this.txt_salesId.Size = new System.Drawing.Size(194, 28);
+            this.txt_salesId.TabIndex = 367;
+            // 
+            // txt_fSaleOrgIdTxt
+            // 
+            this.txt_fSaleOrgIdTxt.Location = new System.Drawing.Point(366, 44);
+            this.txt_fSaleOrgIdTxt.Name = "txt_fSaleOrgIdTxt";
+            this.txt_fSaleOrgIdTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fSaleOrgIdTxt.Properties.Appearance.Options.UseFont = true;
+            this.txt_fSaleOrgIdTxt.Size = new System.Drawing.Size(194, 28);
+            this.txt_fSaleOrgIdTxt.StyleController = this.lay2;
+            this.txt_fSaleOrgIdTxt.TabIndex = 365;
+            this.txt_fSaleOrgIdTxt.Tag = "readonly";
+            // 
+            // txt_fDate
+            // 
+            this.txt_fDate.Location = new System.Drawing.Point(366, 108);
+            this.txt_fDate.Name = "txt_fDate";
+            this.txt_fDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fDate.Properties.Appearance.Options.UseFont = true;
+            this.txt_fDate.Size = new System.Drawing.Size(194, 28);
+            this.txt_fDate.StyleController = this.lay2;
+            this.txt_fDate.TabIndex = 240;
+            this.txt_fDate.Tag = "readonly";
+            // 
+            // txt_id
+            // 
+            this.txt_id.Location = new System.Drawing.Point(90, 12);
+            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(194, 28);
+            this.txt_id.StyleController = this.lay2;
+            this.txt_id.TabIndex = 211;
+            this.txt_id.Tag = "readonly";
+            // 
+            // txt_fNote
+            // 
+            this.txt_fNote.Location = new System.Drawing.Point(90, 76);
+            this.txt_fNote.Name = "txt_fNote";
+            this.txt_fNote.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fNote.Properties.Appearance.Options.UseFont = true;
+            this.txt_fNote.Size = new System.Drawing.Size(194, 28);
+            this.txt_fNote.StyleController = this.lay2;
+            this.txt_fNote.TabIndex = 243;
+            // 
+            // txt_fBillTypeID
+            // 
+            this.txt_fBillTypeID.EditValue = "鏍囧噯閿�鍞嚭搴撳崟(XSCKD01_SYS)";
+            this.txt_fBillTypeID.Location = new System.Drawing.Point(642, 12);
+            this.txt_fBillTypeID.Name = "txt_fBillTypeID";
+            this.txt_fBillTypeID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txt_fBillTypeID.Properties.Items.AddRange(new object[] {
+            "鏍囧噯閿�鍞嚭搴撳崟(XSCKD01_SYS)"});
+            this.txt_fBillTypeID.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
+            this.txt_fBillTypeID.Size = new System.Drawing.Size(194, 24);
+            this.txt_fBillTypeID.StyleController = this.lay2;
+            this.txt_fBillTypeID.TabIndex = 362;
+            // 
+            // txt_billNo
+            // 
+            this.txt_billNo.Location = new System.Drawing.Point(366, 12);
+            this.txt_billNo.Name = "txt_billNo";
+            this.txt_billNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_billNo.Properties.Appearance.Options.UseFont = true;
+            this.txt_billNo.Size = new System.Drawing.Size(194, 28);
+            this.txt_billNo.StyleController = this.lay2;
+            this.txt_billNo.TabIndex = 211;
+            this.txt_billNo.Tag = "readonly";
+            // 
+            // txt_fCreatorId
+            // 
+            this.txt_fCreatorId.Location = new System.Drawing.Point(642, 44);
+            this.txt_fCreatorId.Name = "txt_fCreatorId";
+            this.txt_fCreatorId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fCreatorId.Properties.Appearance.Options.UseFont = true;
+            this.txt_fCreatorId.Size = new System.Drawing.Size(194, 28);
+            this.txt_fCreatorId.StyleController = this.lay2;
+            this.txt_fCreatorId.TabIndex = 219;
+            this.txt_fCreatorId.Tag = "readonly";
+            // 
+            // txt_fSalesManIDTxt
+            // 
+            this.txt_fSalesManIDTxt.Location = new System.Drawing.Point(366, 76);
+            this.txt_fSalesManIDTxt.Name = "txt_fSalesManIDTxt";
+            this.txt_fSalesManIDTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fSalesManIDTxt.Properties.Appearance.Options.UseFont = true;
+            this.txt_fSalesManIDTxt.Size = new System.Drawing.Size(194, 28);
+            this.txt_fSalesManIDTxt.StyleController = this.lay2;
+            this.txt_fSalesManIDTxt.TabIndex = 231;
+            this.txt_fSalesManIDTxt.Tag = "readonly";
+            // 
+            // txt_fApproveDate
+            // 
+            this.txt_fApproveDate.Location = new System.Drawing.Point(918, 44);
+            this.txt_fApproveDate.Name = "txt_fApproveDate";
+            this.txt_fApproveDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fApproveDate.Properties.Appearance.Options.UseFont = true;
+            this.txt_fApproveDate.Size = new System.Drawing.Size(196, 28);
+            this.txt_fApproveDate.StyleController = this.lay2;
+            this.txt_fApproveDate.TabIndex = 228;
+            this.txt_fApproveDate.Tag = "readonly";
+            // 
+            // txt_fCreateDate
+            // 
+            this.txt_fCreateDate.Location = new System.Drawing.Point(642, 76);
+            this.txt_fCreateDate.Name = "txt_fCreateDate";
+            this.txt_fCreateDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fCreateDate.Properties.Appearance.Options.UseFont = true;
+            this.txt_fCreateDate.Size = new System.Drawing.Size(194, 28);
+            this.txt_fCreateDate.StyleController = this.lay2;
+            this.txt_fCreateDate.TabIndex = 226;
+            this.txt_fCreateDate.Tag = "readonly";
+            // 
+            // txt_fApproverID
+            // 
+            this.txt_fApproverID.Location = new System.Drawing.Point(918, 12);
+            this.txt_fApproverID.Name = "txt_fApproverID";
+            this.txt_fApproverID.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.txt_fApproverID.Properties.Appearance.Options.UseFont = true;
+            this.txt_fApproverID.Size = new System.Drawing.Size(196, 28);
+            this.txt_fApproverID.StyleController = this.lay2;
+            this.txt_fApproverID.TabIndex = 222;
+            this.txt_fApproverID.Tag = "readonly";
+            // 
+            // txt_fApproverStaus
+            // 
+            this.txt_fApproverStaus.Enabled = false;
+            this.txt_fApproverStaus.Location = new System.Drawing.Point(840, 76);
+            this.txt_fApproverStaus.Name = "txt_fApproverStaus";
+            this.txt_fApproverStaus.Properties.Caption = "瀹℃牳鐘舵��";
+            this.txt_fApproverStaus.Size = new System.Drawing.Size(274, 24);
+            this.txt_fApproverStaus.StyleController = this.lay2;
+            this.txt_fApproverStaus.TabIndex = 371;
+            // 
+            // layoutControlItem15
+            // 
+            this.layoutControlItem15.Control = this.lbGuid;
+            this.layoutControlItem15.Location = new System.Drawing.Point(552, 96);
+            this.layoutControlItem15.Name = "layoutControlItem15";
+            this.layoutControlItem15.OptionsTableLayoutItem.ColumnIndex = 2;
+            this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 3;
+            this.layoutControlItem15.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem15.Text = "lbGuid";
+            this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem15.TextVisible = false;
+            // 
+            // Root
+            // 
+            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            this.Root.GroupBordersVisible = false;
+            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.layoutControlItem2,
+            this.layoutControlItem3,
+            this.layoutControlItem4,
+            this.layoutControlItem5,
+            this.layoutControlItem6,
+            this.layoutControlItem7,
+            this.layoutControlItem8,
+            this.layoutControlItem9,
+            this.layoutControlItem10,
+            this.layoutControlItem13,
+            this.layoutControlItem14,
+            this.layoutControlItem1,
+            this.layoutControlItem11,
+            this.layoutControlItem16});
+            this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
+            this.Root.Name = "Root";
+            columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition1.Width = 100D;
+            columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition2.Width = 100D;
+            columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition3.Width = 100D;
+            columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition4.Width = 100D;
+            this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
+            columnDefinition1,
+            columnDefinition2,
+            columnDefinition3,
+            columnDefinition4});
+            rowDefinition1.Height = 100D;
+            rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition2.Height = 100D;
+            rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition3.Height = 32D;
+            rowDefinition3.SizeType = System.Windows.Forms.SizeType.AutoSize;
+            rowDefinition4.Height = 32D;
+            rowDefinition4.SizeType = System.Windows.Forms.SizeType.AutoSize;
+            this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
+            rowDefinition1,
+            rowDefinition2,
+            rowDefinition3,
+            rowDefinition4});
+            this.Root.Size = new System.Drawing.Size(1126, 148);
+            this.Root.TextVisible = false;
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.txt_billNo;
+            this.layoutControlItem2.Location = new System.Drawing.Point(276, 0);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem2.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem2.Text = "鍗曟嵁缂栧彿";
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem3
+            // 
+            this.layoutControlItem3.Control = this.txt_fBillTypeID;
+            this.layoutControlItem3.Location = new System.Drawing.Point(552, 0);
+            this.layoutControlItem3.Name = "layoutControlItem3";
+            this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2;
+            this.layoutControlItem3.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem3.Text = "鍗曟嵁绫诲瀷";
+            this.layoutControlItem3.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem4
+            // 
+            this.layoutControlItem4.Control = this.txt_salesId;
+            this.layoutControlItem4.Location = new System.Drawing.Point(0, 32);
+            this.layoutControlItem4.Name = "layoutControlItem4";
+            this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1;
+            this.layoutControlItem4.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem4.Text = "閿�鍞鍗�";
+            this.layoutControlItem4.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem5
+            // 
+            this.layoutControlItem5.Control = this.txt_fSaleOrgIdTxt;
+            this.layoutControlItem5.Location = new System.Drawing.Point(276, 32);
+            this.layoutControlItem5.Name = "layoutControlItem5";
+            this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 1;
+            this.layoutControlItem5.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem5.Text = "閿�鍞粍缁�";
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem6
+            // 
+            this.layoutControlItem6.Control = this.txt_fCreatorId;
+            this.layoutControlItem6.Location = new System.Drawing.Point(552, 32);
+            this.layoutControlItem6.Name = "layoutControlItem6";
+            this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 2;
+            this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1;
+            this.layoutControlItem6.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem6.Text = "鍒涘缓浜�";
+            this.layoutControlItem6.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem7
+            // 
+            this.layoutControlItem7.Control = this.txt_fCreateDate;
+            this.layoutControlItem7.Location = new System.Drawing.Point(552, 64);
+            this.layoutControlItem7.Name = "layoutControlItem7";
+            this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 2;
+            this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 2;
+            this.layoutControlItem7.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem7.Text = "鍒涘缓鏃ユ湡";
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem8
+            // 
+            this.layoutControlItem8.Control = this.txt_fNote;
+            this.layoutControlItem8.Location = new System.Drawing.Point(0, 64);
+            this.layoutControlItem8.Name = "layoutControlItem8";
+            this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2;
+            this.layoutControlItem8.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem8.Text = "澶囨敞";
+            this.layoutControlItem8.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem9
+            // 
+            this.layoutControlItem9.Control = this.txt_fSalesManIDTxt;
+            this.layoutControlItem9.Location = new System.Drawing.Point(276, 64);
+            this.layoutControlItem9.Name = "layoutControlItem9";
+            this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2;
+            this.layoutControlItem9.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem9.Text = "閿�鍞憳";
+            this.layoutControlItem9.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem10
+            // 
+            this.layoutControlItem10.Control = this.txt_fApproverID;
+            this.layoutControlItem10.Location = new System.Drawing.Point(828, 0);
+            this.layoutControlItem10.Name = "layoutControlItem10";
+            this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 3;
+            this.layoutControlItem10.Size = new System.Drawing.Size(278, 32);
+            this.layoutControlItem10.Text = "瀹℃牳浜�";
+            this.layoutControlItem10.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem13
+            // 
+            this.layoutControlItem13.Control = this.txt_fCustomerIDTxt;
+            this.layoutControlItem13.Location = new System.Drawing.Point(0, 96);
+            this.layoutControlItem13.Name = "layoutControlItem13";
+            this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 3;
+            this.layoutControlItem13.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem13.Text = "瀹㈡埛";
+            this.layoutControlItem13.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem14
+            // 
+            this.layoutControlItem14.Control = this.txt_fDate;
+            this.layoutControlItem14.Location = new System.Drawing.Point(276, 96);
+            this.layoutControlItem14.Name = "layoutControlItem14";
+            this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem14.OptionsTableLayoutItem.RowIndex = 3;
+            this.layoutControlItem14.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem14.Text = "鏃ユ湡";
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem1
+            // 
+            this.layoutControlItem1.Control = this.txt_id;
+            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
+            this.layoutControlItem1.Name = "layoutControlItem1";
+            this.layoutControlItem1.Size = new System.Drawing.Size(276, 32);
+            this.layoutControlItem1.Text = "涓婚敭GUID";
+            this.layoutControlItem1.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem11
+            // 
+            this.layoutControlItem11.Control = this.txt_fApproveDate;
+            this.layoutControlItem11.Location = new System.Drawing.Point(828, 32);
+            this.layoutControlItem11.Name = "layoutControlItem11";
+            this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 3;
+            this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 1;
+            this.layoutControlItem11.Size = new System.Drawing.Size(278, 32);
+            this.layoutControlItem11.Text = "瀹℃牳鏃ユ湡";
+            this.layoutControlItem11.TextSize = new System.Drawing.Size(66, 18);
+            // 
+            // layoutControlItem16
+            // 
+            this.layoutControlItem16.Control = this.txt_fApproverStaus;
+            this.layoutControlItem16.Location = new System.Drawing.Point(828, 64);
+            this.layoutControlItem16.Name = "layoutControlItem16";
+            this.layoutControlItem16.OptionsTableLayoutItem.ColumnIndex = 3;
+            this.layoutControlItem16.OptionsTableLayoutItem.RowIndex = 2;
+            this.layoutControlItem16.Size = new System.Drawing.Size(278, 32);
+            this.layoutControlItem16.Text = "瀹℃牳鐘舵��";
+            this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem16.TextVisible = false;
+            // 
+            // tabMx
+            // 
+            this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tabMx.Location = new System.Drawing.Point(0, 0);
+            this.tabMx.Name = "tabMx";
+            this.tabMx.SelectedTabPage = this.tabMxPage1;
+            this.tabMx.Size = new System.Drawing.Size(1126, 414);
+            this.tabMx.TabIndex = 3;
+            this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+            this.tabMxPage1});
             // 
             // tabMxPage1
             // 
             this.tabMxPage1.Controls.Add(this.gcMx1);
             this.tabMxPage1.Name = "tabMxPage1";
-            this.tabMxPage1.Size = new System.Drawing.Size(1124, 386);
+            this.tabMxPage1.Size = new System.Drawing.Size(1124, 382);
             this.tabMxPage1.Text = "鐢宠鏄庣粏";
             // 
             // gcMx1
@@ -275,7 +972,7 @@
             this.repositoryItemSearchLookUpEdit1,
             this.repositoryItemButtonEdit1,
             this.repositoryItemDateEdit1});
-            this.gcMx1.Size = new System.Drawing.Size(1124, 386);
+            this.gcMx1.Size = new System.Drawing.Size(1124, 382);
             this.gcMx1.TabIndex = 0;
             this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
             this.gvMx1});
@@ -336,16 +1033,16 @@
             // repositoryItemSearchLookUpEdit1
             // 
             this.repositoryItemSearchLookUpEdit1.AutoHeight = false;
+            this.repositoryItemSearchLookUpEdit1.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFit;
             this.repositoryItemSearchLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
             this.repositoryItemSearchLookUpEdit1.Name = "repositoryItemSearchLookUpEdit1";
             this.repositoryItemSearchLookUpEdit1.NullText = "璇烽�夋嫨";
-            this.repositoryItemSearchLookUpEdit1.PopupView = this.repositoryItemSearchLookUpEdit1View;
-            this.repositoryItemSearchLookUpEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemSearchLookUpEdit1_EditValueChanged);
+            this.repositoryItemSearchLookUpEdit1.PopupView = this.gridView2;
             // 
-            // repositoryItemSearchLookUpEdit1View
+            // gridView2
             // 
-            this.repositoryItemSearchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
             this.gridColumn10,
             this.gridColumn3,
             this.gridColumn4,
@@ -353,11 +1050,14 @@
             this.gridColumn7,
             this.gridColumn8,
             this.gridColumn9,
-            this.gridColumn6});
-            this.repositoryItemSearchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
-            this.repositoryItemSearchLookUpEdit1View.Name = "repositoryItemSearchLookUpEdit1View";
-            this.repositoryItemSearchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
-            this.repositoryItemSearchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
+            this.gridColumn6,
+            this.gridColumn30,
+            this.gridColumn31,
+            this.gridColumn32});
+            this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
+            this.gridView2.Name = "gridView2";
+            this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false;
+            this.gridView2.OptionsView.ShowGroupPanel = false;
             // 
             // gridColumn10
             // 
@@ -378,7 +1078,7 @@
             // gridColumn4
             // 
             this.gridColumn4.Caption = "閿�鍞崟浣�";
-            this.gridColumn4.FieldName = "dwName";
+            this.gridColumn4.FieldName = "xxdw";
             this.gridColumn4.Name = "gridColumn4";
             this.gridColumn4.Visible = true;
             this.gridColumn4.VisibleIndex = 2;
@@ -422,6 +1122,123 @@
             this.gridColumn6.Name = "gridColumn6";
             this.gridColumn6.Visible = true;
             this.gridColumn6.VisibleIndex = 7;
+            // 
+            // gridColumn30
+            // 
+            this.gridColumn30.Caption = "鐗╂枡鍚嶇О";
+            this.gridColumn30.FieldName = "itemName";
+            this.gridColumn30.Name = "gridColumn30";
+            this.gridColumn30.Visible = true;
+            this.gridColumn30.VisibleIndex = 8;
+            // 
+            // gridColumn31
+            // 
+            this.gridColumn31.Caption = "瑙勬牸鍨嬪彿";
+            this.gridColumn31.FieldName = "itemModel";
+            this.gridColumn31.Name = "gridColumn31";
+            this.gridColumn31.Visible = true;
+            this.gridColumn31.VisibleIndex = 9;
+            // 
+            // gridColumn32
+            // 
+            this.gridColumn32.Caption = "璁′环鍗曚綅";
+            this.gridColumn32.FieldName = "jjdw";
+            this.gridColumn32.Name = "gridColumn32";
+            this.gridColumn32.Visible = true;
+            this.gridColumn32.VisibleIndex = 10;
+            // 
+            // gvMx1id
+            // 
+            this.gvMx1id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1id.AppearanceCell.Options.UseFont = true;
+            this.gvMx1id.Caption = "涓婚敭 ";
+            this.gvMx1id.FieldName = "id";
+            this.gvMx1id.MinWidth = 50;
+            this.gvMx1id.Name = "gvMx1id";
+            this.gvMx1id.Tag = "query_a.id";
+            this.gvMx1id.Width = 94;
+            // 
+            // gvMx1pid
+            // 
+            this.gvMx1pid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1pid.AppearanceCell.Options.UseFont = true;
+            this.gvMx1pid.Caption = "涓昏〃guid ";
+            this.gvMx1pid.FieldName = "pid";
+            this.gvMx1pid.MinWidth = 50;
+            this.gvMx1pid.Name = "gvMx1pid";
+            this.gvMx1pid.Tag = "query_a.pid";
+            this.gvMx1pid.Width = 94;
+            // 
+            // gvMx1salesDetailId
+            // 
+            this.gvMx1salesDetailId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1salesDetailId.AppearanceCell.Options.UseFont = true;
+            this.gvMx1salesDetailId.Caption = "SALES_ORDER_DETAIL鐨凣uid ";
+            this.gvMx1salesDetailId.FieldName = "salesDetailId";
+            this.gvMx1salesDetailId.MinWidth = 50;
+            this.gvMx1salesDetailId.Name = "gvMx1salesDetailId";
+            this.gvMx1salesDetailId.Tag = "query_a.SalesDetailId";
+            this.gvMx1salesDetailId.Width = 94;
+            // 
+            // gvMx1fMustQty
+            // 
+            this.gvMx1fMustQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1fMustQty.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+            this.gvMx1fMustQty.AppearanceCell.Options.UseFont = true;
+            this.gvMx1fMustQty.AppearanceCell.Options.UseForeColor = true;
+            this.gvMx1fMustQty.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+            this.gvMx1fMustQty.AppearanceHeader.Options.UseForeColor = true;
+            this.gvMx1fMustQty.Caption = "搴斿彂鏁伴噺 ";
+            this.gvMx1fMustQty.FieldName = "fMustQty";
+            this.gvMx1fMustQty.MinWidth = 50;
+            this.gvMx1fMustQty.Name = "gvMx1fMustQty";
+            this.gvMx1fMustQty.Tag = "yz_quantity_0_edit";
+            this.gvMx1fMustQty.Visible = true;
+            this.gvMx1fMustQty.VisibleIndex = 1;
+            this.gvMx1fMustQty.Width = 94;
+            // 
+            // gvMx1fRealQty
+            // 
+            this.gvMx1fRealQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1fRealQty.AppearanceCell.Options.UseFont = true;
+            this.gvMx1fRealQty.Caption = "瀹炲彂鏁伴噺 ";
+            this.gvMx1fRealQty.FieldName = "fRealQty";
+            this.gvMx1fRealQty.MinWidth = 50;
+            this.gvMx1fRealQty.Name = "gvMx1fRealQty";
+            this.gvMx1fRealQty.Tag = "query_a.FRealQty";
+            this.gvMx1fRealQty.Visible = true;
+            this.gvMx1fRealQty.VisibleIndex = 2;
+            this.gvMx1fRealQty.Width = 94;
+            // 
+            // gvMx1fEntrynote
+            // 
+            this.gvMx1fEntrynote.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1fEntrynote.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+            this.gvMx1fEntrynote.AppearanceCell.Options.UseFont = true;
+            this.gvMx1fEntrynote.AppearanceCell.Options.UseForeColor = true;
+            this.gvMx1fEntrynote.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+            this.gvMx1fEntrynote.AppearanceHeader.Options.UseForeColor = true;
+            this.gvMx1fEntrynote.Caption = "澶囨敞 ";
+            this.gvMx1fEntrynote.FieldName = "fEntrynote";
+            this.gvMx1fEntrynote.MinWidth = 50;
+            this.gvMx1fEntrynote.Name = "gvMx1fEntrynote";
+            this.gvMx1fEntrynote.Tag = "edit";
+            this.gvMx1fEntrynote.Visible = true;
+            this.gvMx1fEntrynote.VisibleIndex = 3;
+            this.gvMx1fEntrynote.Width = 94;
+            // 
+            // gvMx1fseq
+            // 
+            this.gvMx1fseq.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1fseq.AppearanceCell.Options.UseFont = true;
+            this.gvMx1fseq.Caption = "鎺掑簭 ";
+            this.gvMx1fseq.FieldName = "fseq";
+            this.gvMx1fseq.MinWidth = 50;
+            this.gvMx1fseq.Name = "gvMx1fseq";
+            this.gvMx1fseq.Tag = "query_a.FSEQ";
+            this.gvMx1fseq.Visible = true;
+            this.gvMx1fseq.VisibleIndex = 4;
+            this.gvMx1fseq.Width = 94;
             // 
             // gridColumn11
             // 
@@ -541,7 +1358,7 @@
             // gridColumn21
             // 
             this.gridColumn21.Caption = "鏄惁璧犲搧";
-            this.gridColumn21.FieldName = "ifFree";
+            this.gridColumn21.FieldName = "isFree";
             this.gridColumn21.MinWidth = 25;
             this.gridColumn21.Name = "gridColumn21";
             this.gridColumn21.Visible = true;
@@ -647,657 +1464,6 @@
             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);
-            // 
-            // lb_fApproverStaus
-            // 
-            this.lb_fApproverStaus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fApproverStaus.Appearance.Options.UseFont = true;
-            this.lb_fApproverStaus.Location = new System.Drawing.Point(815, 85);
-            this.lb_fApproverStaus.Name = "lb_fApproverStaus";
-            this.lb_fApproverStaus.Size = new System.Drawing.Size(68, 21);
-            this.lb_fApproverStaus.TabIndex = 247;
-            this.lb_fApproverStaus.Text = "瀹℃牳鐘舵��";
-            // 
-            // gv_fApproverStaus
-            // 
-            this.gv_fApproverStaus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fApproverStaus.AppearanceCell.Options.UseFont = true;
-            this.gv_fApproverStaus.Caption = "瀹℃牳鏍囪瘑";
-            this.gv_fApproverStaus.FieldName = "chkStatus";
-            this.gv_fApproverStaus.MinWidth = 50;
-            this.gv_fApproverStaus.Name = "gv_fApproverStaus";
-            this.gv_fApproverStaus.OptionsColumn.AllowEdit = false;
-            this.gv_fApproverStaus.Tag = "query_a.FApproverStaus";
-            this.gv_fApproverStaus.Visible = true;
-            this.gv_fApproverStaus.VisibleIndex = 13;
-            this.gv_fApproverStaus.Width = 94;
-            // 
-            // lb_fNote
-            // 
-            this.lb_fNote.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fNote.Appearance.Options.UseFont = true;
-            this.lb_fNote.Location = new System.Drawing.Point(40, 89);
-            this.lb_fNote.Name = "lb_fNote";
-            this.lb_fNote.Size = new System.Drawing.Size(39, 21);
-            this.lb_fNote.TabIndex = 243;
-            this.lb_fNote.Text = "澶囨敞 ";
-            // 
-            // txt_fNote
-            // 
-            this.txt_fNote.Location = new System.Drawing.Point(84, 85);
-            this.txt_fNote.Name = "txt_fNote";
-            this.txt_fNote.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fNote.Properties.Appearance.Options.UseFont = true;
-            this.txt_fNote.Size = new System.Drawing.Size(179, 28);
-            this.txt_fNote.TabIndex = 243;
-            // 
-            // gv_fNote
-            // 
-            this.gv_fNote.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fNote.AppearanceCell.Options.UseFont = true;
-            this.gv_fNote.Caption = "澶囨敞 ";
-            this.gv_fNote.FieldName = "fNote";
-            this.gv_fNote.MinWidth = 50;
-            this.gv_fNote.Name = "gv_fNote";
-            this.gv_fNote.OptionsColumn.AllowEdit = false;
-            this.gv_fNote.Tag = "query_a.FNote";
-            this.gv_fNote.Visible = true;
-            this.gv_fNote.VisibleIndex = 12;
-            this.gv_fNote.Width = 94;
-            // 
-            // lb_fDate
-            // 
-            this.lb_fDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fDate.Appearance.Options.UseFont = true;
-            this.lb_fDate.Location = new System.Drawing.Point(580, 117);
-            this.lb_fDate.Name = "lb_fDate";
-            this.lb_fDate.Size = new System.Drawing.Size(39, 21);
-            this.lb_fDate.TabIndex = 240;
-            this.lb_fDate.Text = "鏃ユ湡 ";
-            // 
-            // txt_fDate
-            // 
-            this.txt_fDate.Location = new System.Drawing.Point(622, 113);
-            this.txt_fDate.Name = "txt_fDate";
-            this.txt_fDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_fDate.Size = new System.Drawing.Size(188, 28);
-            this.txt_fDate.TabIndex = 240;
-            this.txt_fDate.Tag = "readonly";
-            // 
-            // gv_fDate
-            // 
-            this.gv_fDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fDate.AppearanceCell.Options.UseFont = true;
-            this.gv_fDate.Caption = "鏃ユ湡 ";
-            this.gv_fDate.FieldName = "fDate";
-            this.gv_fDate.MinWidth = 50;
-            this.gv_fDate.Name = "gv_fDate";
-            this.gv_fDate.OptionsColumn.AllowEdit = false;
-            this.gv_fDate.Tag = "query_a.FDate";
-            this.gv_fDate.Visible = true;
-            this.gv_fDate.VisibleIndex = 11;
-            this.gv_fDate.Width = 94;
-            // 
-            // lb_fCustomerID
-            // 
-            this.lb_fCustomerID.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fCustomerID.Appearance.Options.UseFont = true;
-            this.lb_fCustomerID.Location = new System.Drawing.Point(304, 115);
-            this.lb_fCustomerID.Name = "lb_fCustomerID";
-            this.lb_fCustomerID.Size = new System.Drawing.Size(39, 21);
-            this.lb_fCustomerID.TabIndex = 235;
-            this.lb_fCustomerID.Text = "瀹㈡埛 ";
-            // 
-            // gv_fCustomerID
-            // 
-            this.gv_fCustomerID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fCustomerID.AppearanceCell.Options.UseFont = true;
-            this.gv_fCustomerID.Caption = "瀹㈡埛 ";
-            this.gv_fCustomerID.FieldName = "fCustomerID";
-            this.gv_fCustomerID.MinWidth = 50;
-            this.gv_fCustomerID.Name = "gv_fCustomerID";
-            this.gv_fCustomerID.OptionsColumn.AllowEdit = false;
-            this.gv_fCustomerID.Tag = "query_a.FCustomerID";
-            this.gv_fCustomerID.Visible = true;
-            this.gv_fCustomerID.VisibleIndex = 10;
-            this.gv_fCustomerID.Width = 94;
-            // 
-            // lb_fSalesManID
-            // 
-            this.lb_fSalesManID.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fSalesManID.Appearance.Options.UseFont = true;
-            this.lb_fSalesManID.Location = new System.Drawing.Point(287, 84);
-            this.lb_fSalesManID.Name = "lb_fSalesManID";
-            this.lb_fSalesManID.Size = new System.Drawing.Size(56, 21);
-            this.lb_fSalesManID.TabIndex = 231;
-            this.lb_fSalesManID.Text = "閿�鍞憳 ";
-            // 
-            // txt_fSalesManIDTxt
-            // 
-            this.txt_fSalesManIDTxt.Location = new System.Drawing.Point(350, 80);
-            this.txt_fSalesManIDTxt.Name = "txt_fSalesManIDTxt";
-            this.txt_fSalesManIDTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fSalesManIDTxt.Properties.Appearance.Options.UseFont = true;
-            this.txt_fSalesManIDTxt.Size = new System.Drawing.Size(195, 28);
-            this.txt_fSalesManIDTxt.TabIndex = 231;
-            this.txt_fSalesManIDTxt.Tag = "readonly";
-            // 
-            // gv_fSalesManID
-            // 
-            this.gv_fSalesManID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fSalesManID.AppearanceCell.Options.UseFont = true;
-            this.gv_fSalesManID.Caption = "閿�鍞憳 ";
-            this.gv_fSalesManID.FieldName = "fSalesManID";
-            this.gv_fSalesManID.MinWidth = 50;
-            this.gv_fSalesManID.Name = "gv_fSalesManID";
-            this.gv_fSalesManID.OptionsColumn.AllowEdit = false;
-            this.gv_fSalesManID.Tag = "query_a.FSalesManID";
-            this.gv_fSalesManID.Visible = true;
-            this.gv_fSalesManID.VisibleIndex = 9;
-            this.gv_fSalesManID.Width = 94;
-            // 
-            // lb_fApproveDate
-            // 
-            this.lb_fApproveDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fApproveDate.Appearance.Options.UseFont = true;
-            this.lb_fApproveDate.Location = new System.Drawing.Point(810, 50);
-            this.lb_fApproveDate.Name = "lb_fApproveDate";
-            this.lb_fApproveDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_fApproveDate.TabIndex = 228;
-            this.lb_fApproveDate.Text = "瀹℃牳鏃ユ湡 ";
-            // 
-            // txt_fApproveDate
-            // 
-            this.txt_fApproveDate.Location = new System.Drawing.Point(886, 46);
-            this.txt_fApproveDate.Name = "txt_fApproveDate";
-            this.txt_fApproveDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fApproveDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_fApproveDate.Size = new System.Drawing.Size(173, 28);
-            this.txt_fApproveDate.TabIndex = 228;
-            this.txt_fApproveDate.Tag = "readonly";
-            // 
-            // gv_fApproveDate
-            // 
-            this.gv_fApproveDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fApproveDate.AppearanceCell.Options.UseFont = true;
-            this.gv_fApproveDate.Caption = "瀹℃牳鏃ユ湡 ";
-            this.gv_fApproveDate.FieldName = "fApproveDate";
-            this.gv_fApproveDate.MinWidth = 50;
-            this.gv_fApproveDate.Name = "gv_fApproveDate";
-            this.gv_fApproveDate.OptionsColumn.AllowEdit = false;
-            this.gv_fApproveDate.Tag = "query_a.FApproveDate";
-            this.gv_fApproveDate.Visible = true;
-            this.gv_fApproveDate.VisibleIndex = 8;
-            this.gv_fApproveDate.Width = 94;
-            // 
-            // lb_fCreateDate
-            // 
-            this.lb_fCreateDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fCreateDate.Appearance.Options.UseFont = true;
-            this.lb_fCreateDate.Location = new System.Drawing.Point(546, 83);
-            this.lb_fCreateDate.Name = "lb_fCreateDate";
-            this.lb_fCreateDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_fCreateDate.TabIndex = 226;
-            this.lb_fCreateDate.Text = "鍒涘缓鏃ユ湡 ";
-            // 
-            // txt_fCreateDate
-            // 
-            this.txt_fCreateDate.Location = new System.Drawing.Point(622, 79);
-            this.txt_fCreateDate.Name = "txt_fCreateDate";
-            this.txt_fCreateDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fCreateDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_fCreateDate.Size = new System.Drawing.Size(188, 28);
-            this.txt_fCreateDate.TabIndex = 226;
-            this.txt_fCreateDate.Tag = "readonly";
-            // 
-            // gv_fCreateDate
-            // 
-            this.gv_fCreateDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fCreateDate.AppearanceCell.Options.UseFont = true;
-            this.gv_fCreateDate.Caption = "鍒涘缓鏃ユ湡 ";
-            this.gv_fCreateDate.FieldName = "fCreateDate";
-            this.gv_fCreateDate.MinWidth = 50;
-            this.gv_fCreateDate.Name = "gv_fCreateDate";
-            this.gv_fCreateDate.OptionsColumn.AllowEdit = false;
-            this.gv_fCreateDate.Tag = "query_a.FCreateDate";
-            this.gv_fCreateDate.Visible = true;
-            this.gv_fCreateDate.VisibleIndex = 7;
-            this.gv_fCreateDate.Width = 94;
-            // 
-            // lb_fApproverID
-            // 
-            this.lb_fApproverID.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fApproverID.Appearance.Options.UseFont = true;
-            this.lb_fApproverID.Location = new System.Drawing.Point(832, 17);
-            this.lb_fApproverID.Name = "lb_fApproverID";
-            this.lb_fApproverID.Size = new System.Drawing.Size(51, 21);
-            this.lb_fApproverID.TabIndex = 222;
-            this.lb_fApproverID.Text = "瀹℃牳浜�";
-            // 
-            // txt_fApproverID
-            // 
-            this.txt_fApproverID.Location = new System.Drawing.Point(886, 13);
-            this.txt_fApproverID.Name = "txt_fApproverID";
-            this.txt_fApproverID.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fApproverID.Properties.Appearance.Options.UseFont = true;
-            this.txt_fApproverID.Size = new System.Drawing.Size(173, 28);
-            this.txt_fApproverID.TabIndex = 222;
-            this.txt_fApproverID.Tag = "readonly";
-            // 
-            // gv_fApproverID
-            // 
-            this.gv_fApproverID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fApproverID.AppearanceCell.Options.UseFont = true;
-            this.gv_fApproverID.Caption = "瀹℃牳浜�";
-            this.gv_fApproverID.FieldName = "fApproverID";
-            this.gv_fApproverID.MinWidth = 50;
-            this.gv_fApproverID.Name = "gv_fApproverID";
-            this.gv_fApproverID.OptionsColumn.AllowEdit = false;
-            this.gv_fApproverID.Tag = "query_a.FApproverID";
-            this.gv_fApproverID.Visible = true;
-            this.gv_fApproverID.VisibleIndex = 6;
-            this.gv_fApproverID.Width = 94;
-            // 
-            // lb_fCreatorId
-            // 
-            this.lb_fCreatorId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fCreatorId.Appearance.Options.UseFont = true;
-            this.lb_fCreatorId.Location = new System.Drawing.Point(563, 50);
-            this.lb_fCreatorId.Name = "lb_fCreatorId";
-            this.lb_fCreatorId.Size = new System.Drawing.Size(56, 21);
-            this.lb_fCreatorId.TabIndex = 219;
-            this.lb_fCreatorId.Text = "鍒涘缓浜� ";
-            // 
-            // txt_fCreatorId
-            // 
-            this.txt_fCreatorId.Location = new System.Drawing.Point(622, 46);
-            this.txt_fCreatorId.Name = "txt_fCreatorId";
-            this.txt_fCreatorId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fCreatorId.Properties.Appearance.Options.UseFont = true;
-            this.txt_fCreatorId.Size = new System.Drawing.Size(188, 28);
-            this.txt_fCreatorId.TabIndex = 219;
-            this.txt_fCreatorId.Tag = "readonly";
-            // 
-            // gv_fCreatorId
-            // 
-            this.gv_fCreatorId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fCreatorId.AppearanceCell.Options.UseFont = true;
-            this.gv_fCreatorId.Caption = "鍒涘缓浜� ";
-            this.gv_fCreatorId.FieldName = "fCreatorId";
-            this.gv_fCreatorId.MinWidth = 50;
-            this.gv_fCreatorId.Name = "gv_fCreatorId";
-            this.gv_fCreatorId.OptionsColumn.AllowEdit = false;
-            this.gv_fCreatorId.Tag = "query_a.FCreatorId";
-            this.gv_fCreatorId.Visible = true;
-            this.gv_fCreatorId.VisibleIndex = 5;
-            this.gv_fCreatorId.Width = 94;
-            // 
-            // gv_fStockOrgId
-            // 
-            this.gv_fStockOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fStockOrgId.AppearanceCell.Options.UseFont = true;
-            this.gv_fStockOrgId.Caption = "鍙戣揣缁勭粐 ";
-            this.gv_fStockOrgId.FieldName = "fStockOrgId";
-            this.gv_fStockOrgId.MinWidth = 50;
-            this.gv_fStockOrgId.Name = "gv_fStockOrgId";
-            this.gv_fStockOrgId.OptionsColumn.AllowEdit = false;
-            this.gv_fStockOrgId.Tag = "query_a.FStockOrgId";
-            this.gv_fStockOrgId.Visible = true;
-            this.gv_fStockOrgId.VisibleIndex = 4;
-            this.gv_fStockOrgId.Width = 94;
-            // 
-            // lb_fSaleOrgId
-            // 
-            this.lb_fSaleOrgId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fSaleOrgId.Appearance.Options.UseFont = true;
-            this.lb_fSaleOrgId.Location = new System.Drawing.Point(270, 50);
-            this.lb_fSaleOrgId.Name = "lb_fSaleOrgId";
-            this.lb_fSaleOrgId.Size = new System.Drawing.Size(73, 21);
-            this.lb_fSaleOrgId.TabIndex = 216;
-            this.lb_fSaleOrgId.Text = "閿�鍞粍缁� ";
-            // 
-            // gv_fSaleOrgId
-            // 
-            this.gv_fSaleOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fSaleOrgId.AppearanceCell.Options.UseFont = true;
-            this.gv_fSaleOrgId.Caption = "閿�鍞粍缁� ";
-            this.gv_fSaleOrgId.FieldName = "fSaleOrgId";
-            this.gv_fSaleOrgId.MinWidth = 50;
-            this.gv_fSaleOrgId.Name = "gv_fSaleOrgId";
-            this.gv_fSaleOrgId.OptionsColumn.AllowEdit = false;
-            this.gv_fSaleOrgId.Tag = "query_a.FSaleOrgId";
-            this.gv_fSaleOrgId.Visible = true;
-            this.gv_fSaleOrgId.VisibleIndex = 3;
-            this.gv_fSaleOrgId.Width = 94;
-            // 
-            // lb_fBillTypeID
-            // 
-            this.lb_fBillTypeID.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fBillTypeID.Appearance.Options.UseFont = true;
-            this.lb_fBillTypeID.Location = new System.Drawing.Point(546, 17);
-            this.lb_fBillTypeID.Name = "lb_fBillTypeID";
-            this.lb_fBillTypeID.Size = new System.Drawing.Size(73, 21);
-            this.lb_fBillTypeID.TabIndex = 213;
-            this.lb_fBillTypeID.Text = "鍗曟嵁绫诲瀷 ";
-            // 
-            // gv_fBillTypeID
-            // 
-            this.gv_fBillTypeID.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fBillTypeID.AppearanceCell.Options.UseFont = true;
-            this.gv_fBillTypeID.Caption = "鍗曟嵁绫诲瀷 ";
-            this.gv_fBillTypeID.FieldName = "fBillTypeID";
-            this.gv_fBillTypeID.MinWidth = 50;
-            this.gv_fBillTypeID.Name = "gv_fBillTypeID";
-            this.gv_fBillTypeID.OptionsColumn.AllowEdit = false;
-            this.gv_fBillTypeID.Tag = "query_a.FBillTypeID";
-            this.gv_fBillTypeID.Visible = true;
-            this.gv_fBillTypeID.VisibleIndex = 2;
-            this.gv_fBillTypeID.Width = 94;
-            // 
-            // lb_billNo
-            // 
-            this.lb_billNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_billNo.Appearance.Options.UseFont = true;
-            this.lb_billNo.Location = new System.Drawing.Point(270, 17);
-            this.lb_billNo.Name = "lb_billNo";
-            this.lb_billNo.Size = new System.Drawing.Size(73, 21);
-            this.lb_billNo.TabIndex = 211;
-            this.lb_billNo.Text = "鍗曟嵁缂栧彿 ";
-            // 
-            // txt_billNo
-            // 
-            this.txt_billNo.Location = new System.Drawing.Point(350, 13);
-            this.txt_billNo.Name = "txt_billNo";
-            this.txt_billNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_billNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_billNo.Size = new System.Drawing.Size(195, 28);
-            this.txt_billNo.TabIndex = 211;
-            this.txt_billNo.Tag = "readonly";
-            // 
-            // gv_billNo
-            // 
-            this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_billNo.AppearanceCell.Options.UseFont = true;
-            this.gv_billNo.Caption = "鍗曟嵁缂栧彿 ";
-            this.gv_billNo.FieldName = "billNo";
-            this.gv_billNo.MinWidth = 50;
-            this.gv_billNo.Name = "gv_billNo";
-            this.gv_billNo.OptionsColumn.AllowEdit = false;
-            this.gv_billNo.Tag = "query_a.bill_no";
-            this.gv_billNo.Visible = true;
-            this.gv_billNo.VisibleIndex = 1;
-            this.gv_billNo.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(5, 17);
-            this.lb_id.Name = "lb_id";
-            this.lb_id.Size = new System.Drawing.Size(74, 21);
-            this.lb_id.TabIndex = 210;
-            this.lb_id.Text = "涓婚敭GUID";
-            // 
-            // txt_id
-            // 
-            this.txt_id.Location = new System.Drawing.Point(84, 13);
-            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(179, 28);
-            this.txt_id.TabIndex = 210;
-            this.txt_id.Tag = "readonly";
-            // 
-            // 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 = "id";
-            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.Visible = true;
-            this.gv_id.VisibleIndex = 0;
-            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.Row.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gridView1.Appearance.Row.Options.UseFont = true;
-            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
-            this.gv_id,
-            this.gv_billNo,
-            this.gv_fBillTypeID,
-            this.gv_fSaleOrgId,
-            this.gv_fStockOrgId,
-            this.gv_fCreatorId,
-            this.gv_fApproverID,
-            this.gv_fCreateDate,
-            this.gv_fApproveDate,
-            this.gv_fSalesManID,
-            this.gv_fCustomerID,
-            this.gv_fDate,
-            this.gv_fNote,
-            this.gv_fApproverStaus,
-            this.gridColumn2});
-            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;
-            // 
-            // gridColumn2
-            // 
-            this.gridColumn2.Caption = "瀹岀粨鏍囪瘑";
-            this.gridColumn2.FieldName = "wjStatus";
-            this.gridColumn2.MinWidth = 25;
-            this.gridColumn2.Name = "gridColumn2";
-            this.gridColumn2.Visible = true;
-            this.gridColumn2.VisibleIndex = 14;
-            this.gridColumn2.Width = 94;
-            // 
-            // 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, 152);
-            this.tabMx.Name = "tabMx";
-            this.tabMx.SelectedTabPage = this.tabMxPage1;
-            this.tabMx.Size = new System.Drawing.Size(1126, 418);
-            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_fApproverStaus);
-            this.panel1.Controls.Add(this.txt_fCustomerIDTxt);
-            this.panel1.Controls.Add(this.txt_salesId);
-            this.panel1.Controls.Add(this.lb_salesId);
-            this.panel1.Controls.Add(this.txt_fSaleOrgIdTxt);
-            this.panel1.Controls.Add(this.txt_fBillTypeID);
-            this.panel1.Controls.Add(this.labelControl11);
-            this.panel1.Controls.Add(this.lbGuid);
-            this.panel1.Controls.Add(this.lb_fApproverStaus);
-            this.panel1.Controls.Add(this.lb_fNote);
-            this.panel1.Controls.Add(this.txt_fNote);
-            this.panel1.Controls.Add(this.lb_fDate);
-            this.panel1.Controls.Add(this.txt_fDate);
-            this.panel1.Controls.Add(this.lb_fCustomerID);
-            this.panel1.Controls.Add(this.lb_fSalesManID);
-            this.panel1.Controls.Add(this.txt_fSalesManIDTxt);
-            this.panel1.Controls.Add(this.lb_fApproveDate);
-            this.panel1.Controls.Add(this.txt_fApproveDate);
-            this.panel1.Controls.Add(this.lb_fCreateDate);
-            this.panel1.Controls.Add(this.txt_fCreateDate);
-            this.panel1.Controls.Add(this.lb_fApproverID);
-            this.panel1.Controls.Add(this.txt_fApproverID);
-            this.panel1.Controls.Add(this.lb_fCreatorId);
-            this.panel1.Controls.Add(this.txt_fCreatorId);
-            this.panel1.Controls.Add(this.lb_fSaleOrgId);
-            this.panel1.Controls.Add(this.lb_fBillTypeID);
-            this.panel1.Controls.Add(this.lb_billNo);
-            this.panel1.Controls.Add(this.txt_billNo);
-            this.panel1.Controls.Add(this.lb_id);
-            this.panel1.Controls.Add(this.txt_id);
-            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, 152);
-            this.panel1.TabIndex = 1;
-            // 
-            // txt_fApproverStaus
-            // 
-            this.txt_fApproverStaus.Enabled = false;
-            this.txt_fApproverStaus.Location = new System.Drawing.Point(886, 85);
-            this.txt_fApproverStaus.Name = "txt_fApproverStaus";
-            this.txt_fApproverStaus.Properties.Caption = "";
-            this.txt_fApproverStaus.Size = new System.Drawing.Size(59, 24);
-            this.txt_fApproverStaus.TabIndex = 370;
-            // 
-            // txt_fCustomerIDTxt
-            // 
-            this.txt_fCustomerIDTxt.Location = new System.Drawing.Point(350, 111);
-            this.txt_fCustomerIDTxt.Name = "txt_fCustomerIDTxt";
-            this.txt_fCustomerIDTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fCustomerIDTxt.Properties.Appearance.Options.UseFont = true;
-            this.txt_fCustomerIDTxt.Size = new System.Drawing.Size(195, 28);
-            this.txt_fCustomerIDTxt.TabIndex = 368;
-            this.txt_fCustomerIDTxt.Tag = "readonly";
-            // 
-            // txt_salesId
-            // 
-            this.txt_salesId.IsReadly = false;
-            this.txt_salesId.Location = new System.Drawing.Point(84, 48);
-            this.txt_salesId.Name = "txt_salesId";
-            this.txt_salesId.Size = new System.Drawing.Size(179, 30);
-            this.txt_salesId.TabIndex = 367;
-            // 
-            // lb_salesId
-            // 
-            this.lb_salesId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_salesId.Appearance.Options.UseFont = true;
-            this.lb_salesId.Location = new System.Drawing.Point(11, 53);
-            this.lb_salesId.Name = "lb_salesId";
-            this.lb_salesId.Size = new System.Drawing.Size(68, 21);
-            this.lb_salesId.TabIndex = 366;
-            this.lb_salesId.Text = "閿�鍞鍗�";
-            // 
-            // txt_fSaleOrgIdTxt
-            // 
-            this.txt_fSaleOrgIdTxt.Location = new System.Drawing.Point(350, 46);
-            this.txt_fSaleOrgIdTxt.Name = "txt_fSaleOrgIdTxt";
-            this.txt_fSaleOrgIdTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fSaleOrgIdTxt.Properties.Appearance.Options.UseFont = true;
-            this.txt_fSaleOrgIdTxt.Size = new System.Drawing.Size(195, 28);
-            this.txt_fSaleOrgIdTxt.TabIndex = 365;
-            this.txt_fSaleOrgIdTxt.Tag = "readonly";
-            // 
-            // txt_fBillTypeID
-            // 
-            this.txt_fBillTypeID.EditValue = "鏍囧噯閿�鍞嚭搴撳崟(XSCKD01_SYS)";
-            this.txt_fBillTypeID.Location = new System.Drawing.Point(622, 15);
-            this.txt_fBillTypeID.Name = "txt_fBillTypeID";
-            this.txt_fBillTypeID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txt_fBillTypeID.Properties.Items.AddRange(new object[] {
-            "鏍囧噯閿�鍞嚭搴撳崟(XSCKD01_SYS)"});
-            this.txt_fBillTypeID.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_fBillTypeID.Size = new System.Drawing.Size(188, 24);
-            this.txt_fBillTypeID.TabIndex = 362;
-            // 
-            // labelControl11
-            // 
-            this.labelControl11.Location = new System.Drawing.Point(983, 104);
-            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(1034, 104);
-            this.lbGuid.Name = "lbGuid";
-            this.lbGuid.Size = new System.Drawing.Size(0, 21);
-            this.lbGuid.TabIndex = 1;
-            this.lbGuid.Visible = false;
             // 
             // picCheckBox
             // 
@@ -1320,134 +1486,119 @@
             this.Controls.Add(this.toolBarMenu1);
             this.Name = "Frm_SalesDeliver";
             this.Text = "鍙戣揣閫氱煡鐢宠";
-            this.tabMxPage1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fNote.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
+            this.xtraTabControl1.ResumeLayout(false);
+            this.xtraTabPage1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.spc1.Panel1)).EndInit();
+            this.spc1.Panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.spc1.Panel2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.spc1)).EndInit();
+            this.spc1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+            this.xtraTabPage2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.spc2.Panel1)).EndInit();
+            this.spc2.Panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.spc2.Panel2)).EndInit();
+            this.spc2.Panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.spc2)).EndInit();
+            this.spc2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.lay2)).EndInit();
+            this.lay2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fCustomerIDTxt.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fSaleOrgIdTxt.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fDate.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_id.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fNote.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fBillTypeID.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_fCreatorId.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fSalesManIDTxt.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fApproveDate.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fCreateDate.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_fApproverID.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fCreatorId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_id.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.txt_fApproverStaus.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
             this.tabMx.ResumeLayout(false);
-            this.panel1.ResumeLayout(false);
-            this.panel1.PerformLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fApproverStaus.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fCustomerIDTxt.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fSaleOrgIdTxt.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fBillTypeID.Properties)).EndInit();
+            this.tabMxPage1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit();
             this.ResumeLayout(false);
 
         }
         #endregion
         private UserControl.UcToolBarMenu toolBarMenu1;
+        private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
+        private System.Windows.Forms.PictureBox picCheckBox;
+        private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
+        private DevExpress.XtraEditors.SplitContainerControl spc1;
         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 DevExpress.XtraGrid.Columns.GridColumn gv_id;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fBillTypeID;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fSaleOrgId;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fStockOrgId;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fCreatorId;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fApproverID;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fCreateDate;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fApproveDate;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fSalesManID;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fCustomerID;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fDate;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fNote;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_fApproverStaus;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
         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.XtraTabPage xtraTabPage2;
+        private DevExpress.XtraEditors.SplitContainerControl spc2;
         private DevExpress.XtraTab.XtraTabControl tabMx;
-
-        //BQCreateConrolObejct
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fseq;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fEntrynote;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fRealQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fMustQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1salesDetailId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1pid;
-        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.XtraEditors.LabelControl lb_fApproverStaus;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fApproverStaus;
-
-        private DevExpress.XtraEditors.LabelControl lb_fNote;
-        private DevExpress.XtraEditors.TextEdit txt_fNote;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fNote;
-
-        private DevExpress.XtraEditors.LabelControl lb_fDate;
-        private DevExpress.XtraEditors.TextEdit txt_fDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_fCustomerID;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fCustomerID;
-
-        private DevExpress.XtraEditors.LabelControl lb_fSalesManID;
-        private DevExpress.XtraEditors.TextEdit txt_fSalesManIDTxt;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fSalesManID;
-
-        private DevExpress.XtraEditors.LabelControl lb_fApproveDate;
-        private DevExpress.XtraEditors.TextEdit txt_fApproveDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fApproveDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_fCreateDate;
-        private DevExpress.XtraEditors.TextEdit txt_fCreateDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fCreateDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_fApproverID;
-        private DevExpress.XtraEditors.TextEdit txt_fApproverID;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fApproverID;
-
-        private DevExpress.XtraEditors.LabelControl lb_fCreatorId;
-        private DevExpress.XtraEditors.TextEdit txt_fCreatorId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fCreatorId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fStockOrgId;
-
-        private DevExpress.XtraEditors.LabelControl lb_fSaleOrgId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fSaleOrgId;
-
-        private DevExpress.XtraEditors.LabelControl lb_fBillTypeID;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fBillTypeID;
-
-        private DevExpress.XtraEditors.LabelControl lb_billNo;
-        private DevExpress.XtraEditors.TextEdit txt_billNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
-
-        private DevExpress.XtraEditors.LabelControl lb_id;
-        private DevExpress.XtraEditors.TextEdit txt_id;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_id;
-        private System.Windows.Forms.PictureBox picCheckBox;
-        private DevExpress.XtraEditors.ComboBoxEdit txt_fBillTypeID;
-        private DevExpress.XtraEditors.TextEdit txt_fSaleOrgIdTxt;
-        private DevExpress.XtraEditors.LabelControl lb_salesId;
-        private UserControl.UcLookSales txt_salesId;
-        private DevExpress.XtraEditors.TextEdit txt_fCustomerIDTxt;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
         private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit repositoryItemSearchLookUpEdit1;
-        private DevExpress.XtraGrid.Views.Grid.GridView repositoryItemSearchLookUpEdit1View;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMxDel;
-        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
-        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
-        private DevExpress.XtraEditors.CheckEdit txt_fApproverStaus;
+        private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
-        private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn30;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn31;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn32;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1id;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1pid;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1salesDetailId;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fMustQty;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fRealQty;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fEntrynote;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1fseq;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
         private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit1;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
@@ -1468,5 +1619,39 @@
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn27;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn28;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn29;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMxDel;
+        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
+        private DevExpress.XtraLayout.LayoutControl lay2;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraEditors.TextEdit txt_id;
+        private DevExpress.XtraEditors.TextEdit txt_billNo;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
+        private DevExpress.XtraEditors.TextEdit txt_fCustomerIDTxt;
+        private UserControl.UcLookSales txt_salesId;
+        private DevExpress.XtraEditors.TextEdit txt_fSaleOrgIdTxt;
+        private DevExpress.XtraEditors.ComboBoxEdit txt_fBillTypeID;
+        private System.Windows.Forms.Label lbGuid;
+        private DevExpress.XtraEditors.TextEdit txt_fNote;
+        private DevExpress.XtraEditors.TextEdit txt_fDate;
+        private DevExpress.XtraEditors.TextEdit txt_fSalesManIDTxt;
+        private DevExpress.XtraEditors.TextEdit txt_fApproveDate;
+        private DevExpress.XtraEditors.TextEdit txt_fCreateDate;
+        private DevExpress.XtraEditors.TextEdit txt_fApproverID;
+        private DevExpress.XtraEditors.TextEdit txt_fCreatorId;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+        private DevExpress.XtraEditors.CheckEdit txt_fApproverStaus;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
index b22d257..d1ffefd 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
@@ -29,7 +29,7 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            // Gs.DevApp.ToolBox.DragResizeHelp.RegisterControl(this, this.panelControl3, splitContainerControl1.Panel1, label1);
+            this.toolBarMenu1.getXmlConfig();
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "chkStatus", "", (value) =>
             {
@@ -212,7 +212,7 @@
             {
                 List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                 gvList.Add(gvMx1);
-                UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList);
+                UtilityHelper.ChangeEnableByControl(lay2.Controls, true, gvList);
             }
         }
         /// <summary>
@@ -226,7 +226,7 @@
             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);
+            UtilityHelper.CleanValueByControl(this.lay2.Controls, true, gridViews);
             Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
 
         }
@@ -302,7 +302,7 @@
                     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);
+                    UtilityHelper.ChangeEnableByControl(this.lay2.Controls, false, gvList);
                     toolBarMenu1.currentAction = "";
                 }
             }
@@ -391,7 +391,7 @@
                     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);
+                    UtilityHelper.SetValueByObj(this.lay2.Controls, dy, isEdit, gvList);
                     JObject _job = JObject.Parse(strJson);
                     JArray array = new JArray();
                     foreach (var a in _job["rtnData"]["list"])
@@ -501,16 +501,30 @@
         {
             SearchLookUpEdit LookupEdit = sender as SearchLookUpEdit;
             DataRowView SelectedDataRow = (DataRowView)LookupEdit.GetSelectedDataRow();
-            //gvMx1.SetFocusedRowCellValue("itemNo", SelectedDataRow["itemNo"].ToString());
-            //gvMx1.SetFocusedRowCellValue("itemName", SelectedDataRow["itemName"].ToString());
-            //gvMx1.SetFocusedRowCellValue("itemModel", SelectedDataRow["itemModel"].ToString());
-            //gvMx1.SetFocusedRowCellValue("itemId", SelectedDataRow["id"].ToString());
-            //gvMx1.SetFocusedRowCellValue("itemUnit", SelectedDataRow["dwName"].ToString());
             gvMx1.SetFocusedRowCellValue("salesDetailId", SelectedDataRow["id"].ToString());
+            gvMx1.SetFocusedRowCellValue("billNo", SelectedDataRow["billNo"].ToString());
+            gvMx1.SetFocusedRowCellValue("itemNo", SelectedDataRow["itemNo"].ToString());
+            gvMx1.SetFocusedRowCellValue("itemName", SelectedDataRow["itemName"].ToString());
+            gvMx1.SetFocusedRowCellValue("itemModel", SelectedDataRow["itemModel"].ToString());
+            gvMx1.SetFocusedRowCellValue("dwXs", SelectedDataRow["xxdw"].ToString());
+            gvMx1.SetFocusedRowCellValue("dwJj", SelectedDataRow["jjdw"].ToString());
+            gvMx1.SetFocusedRowCellValue("jjSl", SelectedDataRow["priceUnitQty"].ToString());
+            gvMx1.SetFocusedRowCellValue("deliveryDate", SelectedDataRow["deliveryDate"].ToString());
+            gvMx1.SetFocusedRowCellValue("xsSl", SelectedDataRow["qty"].ToString());
+            gvMx1.SetFocusedRowCellValue("isFree", SelectedDataRow["isFree"].ToString());
+            gvMx1.SetFocusedRowCellValue("hzlx", SelectedDataRow["hzlx"].ToString());
+            gvMx1.SetFocusedRowCellValue("hz", SelectedDataRow["hz"].ToString());
+            gvMx1.SetFocusedRowCellValue("xxbz", SelectedDataRow["xxbz"].ToString());
+            gvMx1.SetFocusedRowCellValue("fhsx", SelectedDataRow["fhsx"].ToString());
+            gvMx1.SetFocusedRowCellValue("fhxx", SelectedDataRow["fhxx"].ToString());
+            gvMx1.SetFocusedRowCellValue("jsOrg", SelectedDataRow["jsOrg"].ToString());
+            gvMx1.SetFocusedRowCellValue("gyOrg", SelectedDataRow["gyOrg"].ToString());
+            gvMx1.SetFocusedRowCellValue("kcOrg", SelectedDataRow["kcOrg"].ToString());
             gvMx1.CloseEditor();
             gvMx1.UpdateCurrentRow();
         }
 
+
         private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
         {
             var rowhandle = gvMx1.FocusedRowHandle;
diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder111.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder111.Designer.cs
deleted file mode 100644
index 2a9e4b0..0000000
--- a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder111.Designer.cs
+++ /dev/null
@@ -1,2586 +0,0 @@
-/* Create By GS EasyCode */
-namespace Gs.DevApp.DevFrm
-{
-    partial class Frm_SalesOrder111
-    {
-        /// <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()
-        {
-            this.gvMx1eHid = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1settleOrgIds = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1stockOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1supplyOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1seq = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1mapSpec = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1mapName = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1mapId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1custImd = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1custInm = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1custIno = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1basearqty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1baseRemainOutQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1baseReturnQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1baseRetNoticeQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1stockOutQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1deliQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1srcBillNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1srcType = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1terminaterId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1terminateDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1mrpTerminateStatus = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1mrpCloseStatus = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1outLmtUnitId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1deliveryMinQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1deliveryMaxQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1lot = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1mtoNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1entryNote = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1ownerId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1ownerTypeId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1isFree = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1deliveryDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1priceUnitQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1priceUnitId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1qty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1unitId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1materialId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1erpId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1pid = 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.lb_receiveContact = new DevExpress.XtraEditors.LabelControl();
-            this.txt_receiveContact = new DevExpress.XtraEditors.TextEdit();
-            this.gv_receiveContact = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_receiveId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_receiveId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_receiveId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_saleOrgId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_saleOrgId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_saleOrgId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fbilltype = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fbilltype = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fbilltype = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_entryNote = new DevExpress.XtraEditors.LabelControl();
-            this.txt_entryNote = new DevExpress.XtraEditors.TextEdit();
-            this.gv_entryNote = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_changerId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_changerId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_changerId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_versionNo = new DevExpress.XtraEditors.LabelControl();
-            this.txt_versionNo = new DevExpress.XtraEditors.TextEdit();
-            this.gv_versionNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_cancellerId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_cancellerId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_cancellerId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_cancelStatus = new DevExpress.XtraEditors.LabelControl();
-            this.txt_cancelStatus = new DevExpress.XtraEditors.TextEdit();
-            this.gv_cancelStatus = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_changeDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_changeDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_changeDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_closeDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_closeDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_closeDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_closerId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_closerId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_closerId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_approveDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_approveDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_approveDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_modifyDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_modifyDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_modifyDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_modifierId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_modifierId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_modifierId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_createDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_createDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_createDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_creatorId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_creatorId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_creatorId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_linkPhone = new DevExpress.XtraEditors.LabelControl();
-            this.txt_linkPhone = new DevExpress.XtraEditors.TextEdit();
-            this.gv_linkPhone = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_chargeId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_chargeId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_chargeId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_linkMan = new DevExpress.XtraEditors.LabelControl();
-            this.txt_linkMan = new DevExpress.XtraEditors.TextEdit();
-            this.gv_linkMan = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_approverId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_approverId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_approverId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_settleId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_settleId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_settleId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_note = new DevExpress.XtraEditors.LabelControl();
-            this.txt_note = new DevExpress.XtraEditors.TextEdit();
-            this.gv_note = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_changeReason = new DevExpress.XtraEditors.LabelControl();
-            this.txt_changeReason = new DevExpress.XtraEditors.TextEdit();
-            this.gv_changeReason = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_salerId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_salerId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_salerId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_saleDeptId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_saleDeptId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_saleDeptId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_closeStatus = new DevExpress.XtraEditors.LabelControl();
-            this.txt_closeStatus = new DevExpress.XtraEditors.TextEdit();
-            this.gv_closeStatus = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_custId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_custId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_custId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_headLocId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_headLocId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_headLocId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_headDeliveryWay = new DevExpress.XtraEditors.LabelControl();
-            this.txt_headDeliveryWay = new DevExpress.XtraEditors.TextEdit();
-            this.gv_headDeliveryWay = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_businessType = new DevExpress.XtraEditors.LabelControl();
-            this.txt_businessType = new DevExpress.XtraEditors.TextEdit();
-            this.gv_businessType = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_fDate = new DevExpress.XtraEditors.LabelControl();
-            this.txt_fDate = new DevExpress.XtraEditors.TextEdit();
-            this.gv_fDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_documentStatus = new DevExpress.XtraEditors.LabelControl();
-            this.txt_documentStatus = new DevExpress.XtraEditors.TextEdit();
-            this.gv_documentStatus = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_billTypeId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_billTypeId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_billTypeId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_billNo = new DevExpress.XtraEditors.LabelControl();
-            this.txt_billNo = new DevExpress.XtraEditors.TextEdit();
-            this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_erpId = new DevExpress.XtraEditors.LabelControl();
-            this.txt_erpId = new DevExpress.XtraEditors.TextEdit();
-            this.gv_erpId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.lb_id = new DevExpress.XtraEditors.LabelControl();
-            this.txt_id = new DevExpress.XtraEditors.TextEdit();
-            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.labelControl11 = new DevExpress.XtraEditors.LabelControl();
-            this.lbGuid = new System.Windows.Forms.Label();
-            this.picCheckBox = new System.Windows.Forms.PictureBox();
-            this.tabMxPage1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_receiveContact.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_receiveId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_saleOrgId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fbilltype.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_entryNote.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_changerId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_versionNo.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_cancellerId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_cancelStatus.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_changeDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_closeDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_closerId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_approveDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_modifyDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_modifierId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_creatorId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_linkPhone.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_chargeId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_linkMan.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_approverId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_settleId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_note.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_changeReason.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_salerId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_saleDeptId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_closeStatus.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_custId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_headLocId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_headDeliveryWay.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_businessType.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fDate.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_documentStatus.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_billTypeId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_erpId.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_id.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.picCheckBox)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // gvMx1eHid
-            // 
-            this.gvMx1eHid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1eHid.AppearanceCell.Options.UseFont = true;
-            this.gvMx1eHid.Caption = "ERP鍗曟嵁琛ㄥごid ";
-            this.gvMx1eHid.FieldName = "eHid";
-            this.gvMx1eHid.MinWidth = 50;
-            this.gvMx1eHid.Name = "gvMx1eHid";
-            this.gvMx1eHid.Tag = "query_a.e_hid";
-            this.gvMx1eHid.Visible = true;
-            this.gvMx1eHid.VisibleIndex = 40;
-            this.gvMx1eHid.Width = 94;
-            // 
-            // gvMx1settleOrgIds
-            // 
-            this.gvMx1settleOrgIds.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1settleOrgIds.AppearanceCell.Options.UseFont = true;
-            this.gvMx1settleOrgIds.Caption = "缁撶畻缁勭粐 ";
-            this.gvMx1settleOrgIds.FieldName = "settleOrgIds";
-            this.gvMx1settleOrgIds.MinWidth = 50;
-            this.gvMx1settleOrgIds.Name = "gvMx1settleOrgIds";
-            this.gvMx1settleOrgIds.Tag = "query_a.SETTLE_ORG_IDS";
-            this.gvMx1settleOrgIds.Visible = true;
-            this.gvMx1settleOrgIds.VisibleIndex = 39;
-            this.gvMx1settleOrgIds.Width = 94;
-            // 
-            // gvMx1stockOrgId
-            // 
-            this.gvMx1stockOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1stockOrgId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1stockOrgId.Caption = "搴撳瓨缁勭粐 ";
-            this.gvMx1stockOrgId.FieldName = "stockOrgId";
-            this.gvMx1stockOrgId.MinWidth = 50;
-            this.gvMx1stockOrgId.Name = "gvMx1stockOrgId";
-            this.gvMx1stockOrgId.Tag = "query_a.STOCK_ORG_ID";
-            this.gvMx1stockOrgId.Visible = true;
-            this.gvMx1stockOrgId.VisibleIndex = 38;
-            this.gvMx1stockOrgId.Width = 94;
-            // 
-            // gvMx1supplyOrgId
-            // 
-            this.gvMx1supplyOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1supplyOrgId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1supplyOrgId.Caption = "渚涘簲缁勭粐 ";
-            this.gvMx1supplyOrgId.FieldName = "supplyOrgId";
-            this.gvMx1supplyOrgId.MinWidth = 50;
-            this.gvMx1supplyOrgId.Name = "gvMx1supplyOrgId";
-            this.gvMx1supplyOrgId.Tag = "query_a.SUPPLY_ORG_ID";
-            this.gvMx1supplyOrgId.Visible = true;
-            this.gvMx1supplyOrgId.VisibleIndex = 37;
-            this.gvMx1supplyOrgId.Width = 94;
-            // 
-            // gvMx1seq
-            // 
-            this.gvMx1seq.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1seq.AppearanceCell.Options.UseFont = true;
-            this.gvMx1seq.Caption = "搴忓彿 ";
-            this.gvMx1seq.FieldName = "seq";
-            this.gvMx1seq.MinWidth = 50;
-            this.gvMx1seq.Name = "gvMx1seq";
-            this.gvMx1seq.Tag = "query_a.Seq";
-            this.gvMx1seq.Visible = true;
-            this.gvMx1seq.VisibleIndex = 36;
-            this.gvMx1seq.Width = 94;
-            // 
-            // gvMx1mapSpec
-            // 
-            this.gvMx1mapSpec.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1mapSpec.AppearanceCell.Options.UseFont = true;
-            this.gvMx1mapSpec.Caption = "瀹㈡埛鐗╂枡瑙勬牸 ";
-            this.gvMx1mapSpec.FieldName = "mapSpec";
-            this.gvMx1mapSpec.MinWidth = 50;
-            this.gvMx1mapSpec.Name = "gvMx1mapSpec";
-            this.gvMx1mapSpec.Tag = "query_a.MAP_SPEC";
-            this.gvMx1mapSpec.Visible = true;
-            this.gvMx1mapSpec.VisibleIndex = 35;
-            this.gvMx1mapSpec.Width = 94;
-            // 
-            // gvMx1mapName
-            // 
-            this.gvMx1mapName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1mapName.AppearanceCell.Options.UseFont = true;
-            this.gvMx1mapName.Caption = "瀹㈡埛鐗╂枡鍚嶇О ";
-            this.gvMx1mapName.FieldName = "mapName";
-            this.gvMx1mapName.MinWidth = 50;
-            this.gvMx1mapName.Name = "gvMx1mapName";
-            this.gvMx1mapName.Tag = "query_a.MAP_NAME";
-            this.gvMx1mapName.Visible = true;
-            this.gvMx1mapName.VisibleIndex = 34;
-            this.gvMx1mapName.Width = 94;
-            // 
-            // gvMx1mapId
-            // 
-            this.gvMx1mapId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1mapId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1mapId.Caption = "瀹㈡埛鐗╂枡缂栫爜 ";
-            this.gvMx1mapId.FieldName = "mapId";
-            this.gvMx1mapId.MinWidth = 50;
-            this.gvMx1mapId.Name = "gvMx1mapId";
-            this.gvMx1mapId.Tag = "query_a.MAP_ID";
-            this.gvMx1mapId.Visible = true;
-            this.gvMx1mapId.VisibleIndex = 33;
-            this.gvMx1mapId.Width = 94;
-            // 
-            // gvMx1custImd
-            // 
-            this.gvMx1custImd.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1custImd.AppearanceCell.Options.UseFont = true;
-            this.gvMx1custImd.Caption = "瀹㈡埛鐗╂枡瑙勬牸 ";
-            this.gvMx1custImd.FieldName = "custImd";
-            this.gvMx1custImd.MinWidth = 50;
-            this.gvMx1custImd.Name = "gvMx1custImd";
-            this.gvMx1custImd.Tag = "query_a.cust_imd";
-            this.gvMx1custImd.Visible = true;
-            this.gvMx1custImd.VisibleIndex = 32;
-            this.gvMx1custImd.Width = 94;
-            // 
-            // gvMx1custInm
-            // 
-            this.gvMx1custInm.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1custInm.AppearanceCell.Options.UseFont = true;
-            this.gvMx1custInm.Caption = "瀹㈡埛鐗╂枡鍚嶇О ";
-            this.gvMx1custInm.FieldName = "custInm";
-            this.gvMx1custInm.MinWidth = 50;
-            this.gvMx1custInm.Name = "gvMx1custInm";
-            this.gvMx1custInm.Tag = "query_a.cust_inm";
-            this.gvMx1custInm.Visible = true;
-            this.gvMx1custInm.VisibleIndex = 31;
-            this.gvMx1custInm.Width = 94;
-            // 
-            // gvMx1custIno
-            // 
-            this.gvMx1custIno.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1custIno.AppearanceCell.Options.UseFont = true;
-            this.gvMx1custIno.Caption = "瀹㈡埛鐗╂枡缂栫爜 ";
-            this.gvMx1custIno.FieldName = "custIno";
-            this.gvMx1custIno.MinWidth = 50;
-            this.gvMx1custIno.Name = "gvMx1custIno";
-            this.gvMx1custIno.Tag = "query_a.cust_ino";
-            this.gvMx1custIno.Visible = true;
-            this.gvMx1custIno.VisibleIndex = 30;
-            this.gvMx1custIno.Width = 94;
-            // 
-            // gvMx1basearqty
-            // 
-            this.gvMx1basearqty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1basearqty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1basearqty.Caption = "绱搴旀敹鏁伴噺锛堥攢鍞熀鏈級 ";
-            this.gvMx1basearqty.FieldName = "basearqty";
-            this.gvMx1basearqty.MinWidth = 50;
-            this.gvMx1basearqty.Name = "gvMx1basearqty";
-            this.gvMx1basearqty.Tag = "query_a.basearqty";
-            this.gvMx1basearqty.Visible = true;
-            this.gvMx1basearqty.VisibleIndex = 29;
-            this.gvMx1basearqty.Width = 94;
-            // 
-            // gvMx1baseRemainOutQty
-            // 
-            this.gvMx1baseRemainOutQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1baseRemainOutQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1baseRemainOutQty.Caption = "鍓╀綑鏈嚭鏁伴噺锛堥攢鍞熀鏈級 ";
-            this.gvMx1baseRemainOutQty.FieldName = "baseRemainOutQty";
-            this.gvMx1baseRemainOutQty.MinWidth = 50;
-            this.gvMx1baseRemainOutQty.Name = "gvMx1baseRemainOutQty";
-            this.gvMx1baseRemainOutQty.Tag = "query_a.base_remain_out_qty";
-            this.gvMx1baseRemainOutQty.Visible = true;
-            this.gvMx1baseRemainOutQty.VisibleIndex = 28;
-            this.gvMx1baseRemainOutQty.Width = 94;
-            // 
-            // gvMx1baseReturnQty
-            // 
-            this.gvMx1baseReturnQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1baseReturnQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1baseReturnQty.Caption = "绱閫�璐ф暟閲忥紙閿�鍞熀鏈級 ";
-            this.gvMx1baseReturnQty.FieldName = "baseReturnQty";
-            this.gvMx1baseReturnQty.MinWidth = 50;
-            this.gvMx1baseReturnQty.Name = "gvMx1baseReturnQty";
-            this.gvMx1baseReturnQty.Tag = "query_a.base_return_qty";
-            this.gvMx1baseReturnQty.Visible = true;
-            this.gvMx1baseReturnQty.VisibleIndex = 27;
-            this.gvMx1baseReturnQty.Width = 94;
-            // 
-            // gvMx1baseRetNoticeQty
-            // 
-            this.gvMx1baseRetNoticeQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1baseRetNoticeQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1baseRetNoticeQty.Caption = "绱閫�璐ч�氱煡鏁伴噺锛堥攢鍞熀鏈級 ";
-            this.gvMx1baseRetNoticeQty.FieldName = "baseRetNoticeQty";
-            this.gvMx1baseRetNoticeQty.MinWidth = 50;
-            this.gvMx1baseRetNoticeQty.Name = "gvMx1baseRetNoticeQty";
-            this.gvMx1baseRetNoticeQty.Tag = "query_a.base_ret_notice_qty";
-            this.gvMx1baseRetNoticeQty.Visible = true;
-            this.gvMx1baseRetNoticeQty.VisibleIndex = 26;
-            this.gvMx1baseRetNoticeQty.Width = 94;
-            // 
-            // gvMx1stockOutQty
-            // 
-            this.gvMx1stockOutQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1stockOutQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1stockOutQty.Caption = "绱鍑哄簱鏁伴噺 ";
-            this.gvMx1stockOutQty.FieldName = "stockOutQty";
-            this.gvMx1stockOutQty.MinWidth = 50;
-            this.gvMx1stockOutQty.Name = "gvMx1stockOutQty";
-            this.gvMx1stockOutQty.Tag = "query_a.stock_out_qty";
-            this.gvMx1stockOutQty.Visible = true;
-            this.gvMx1stockOutQty.VisibleIndex = 25;
-            this.gvMx1stockOutQty.Width = 94;
-            // 
-            // gvMx1deliQty
-            // 
-            this.gvMx1deliQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1deliQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1deliQty.Caption = "绱鍙戣揣閫氱煡鏁伴噺 ";
-            this.gvMx1deliQty.FieldName = "deliQty";
-            this.gvMx1deliQty.MinWidth = 50;
-            this.gvMx1deliQty.Name = "gvMx1deliQty";
-            this.gvMx1deliQty.Tag = "query_a.deli_qty";
-            this.gvMx1deliQty.Visible = true;
-            this.gvMx1deliQty.VisibleIndex = 24;
-            this.gvMx1deliQty.Width = 94;
-            // 
-            // gvMx1srcBillNo
-            // 
-            this.gvMx1srcBillNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1srcBillNo.AppearanceCell.Options.UseFont = true;
-            this.gvMx1srcBillNo.Caption = "婧愬崟鍗曞彿 ";
-            this.gvMx1srcBillNo.FieldName = "srcBillNo";
-            this.gvMx1srcBillNo.MinWidth = 50;
-            this.gvMx1srcBillNo.Name = "gvMx1srcBillNo";
-            this.gvMx1srcBillNo.Tag = "query_a.src_bill_no";
-            this.gvMx1srcBillNo.Visible = true;
-            this.gvMx1srcBillNo.VisibleIndex = 23;
-            this.gvMx1srcBillNo.Width = 94;
-            // 
-            // gvMx1srcType
-            // 
-            this.gvMx1srcType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1srcType.AppearanceCell.Options.UseFont = true;
-            this.gvMx1srcType.Caption = "婧愬崟绫诲瀷 ";
-            this.gvMx1srcType.FieldName = "srcType";
-            this.gvMx1srcType.MinWidth = 50;
-            this.gvMx1srcType.Name = "gvMx1srcType";
-            this.gvMx1srcType.Tag = "query_a.src_type";
-            this.gvMx1srcType.Visible = true;
-            this.gvMx1srcType.VisibleIndex = 22;
-            this.gvMx1srcType.Width = 94;
-            // 
-            // gvMx1terminaterId
-            // 
-            this.gvMx1terminaterId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1terminaterId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1terminaterId.Caption = "缁堟浜� ";
-            this.gvMx1terminaterId.FieldName = "terminaterId";
-            this.gvMx1terminaterId.MinWidth = 50;
-            this.gvMx1terminaterId.Name = "gvMx1terminaterId";
-            this.gvMx1terminaterId.Tag = "query_a.terminater_id";
-            this.gvMx1terminaterId.Visible = true;
-            this.gvMx1terminaterId.VisibleIndex = 21;
-            this.gvMx1terminaterId.Width = 94;
-            // 
-            // gvMx1terminateDate
-            // 
-            this.gvMx1terminateDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1terminateDate.AppearanceCell.Options.UseFont = true;
-            this.gvMx1terminateDate.Caption = "缁堟鏃ユ湡 ";
-            this.gvMx1terminateDate.FieldName = "terminateDate";
-            this.gvMx1terminateDate.MinWidth = 50;
-            this.gvMx1terminateDate.Name = "gvMx1terminateDate";
-            this.gvMx1terminateDate.Tag = "query_a.terminate_date";
-            this.gvMx1terminateDate.Visible = true;
-            this.gvMx1terminateDate.VisibleIndex = 20;
-            this.gvMx1terminateDate.Width = 94;
-            // 
-            // gvMx1mrpTerminateStatus
-            // 
-            this.gvMx1mrpTerminateStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1mrpTerminateStatus.AppearanceCell.Options.UseFont = true;
-            this.gvMx1mrpTerminateStatus.Caption = "涓氬姟缁堟 ";
-            this.gvMx1mrpTerminateStatus.FieldName = "mrpTerminateStatus";
-            this.gvMx1mrpTerminateStatus.MinWidth = 50;
-            this.gvMx1mrpTerminateStatus.Name = "gvMx1mrpTerminateStatus";
-            this.gvMx1mrpTerminateStatus.Tag = "query_a.mrp_terminate_status";
-            this.gvMx1mrpTerminateStatus.Visible = true;
-            this.gvMx1mrpTerminateStatus.VisibleIndex = 19;
-            this.gvMx1mrpTerminateStatus.Width = 94;
-            // 
-            // gvMx1mrpCloseStatus
-            // 
-            this.gvMx1mrpCloseStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1mrpCloseStatus.AppearanceCell.Options.UseFont = true;
-            this.gvMx1mrpCloseStatus.Caption = "涓氬姟鍏抽棴 ";
-            this.gvMx1mrpCloseStatus.FieldName = "mrpCloseStatus";
-            this.gvMx1mrpCloseStatus.MinWidth = 50;
-            this.gvMx1mrpCloseStatus.Name = "gvMx1mrpCloseStatus";
-            this.gvMx1mrpCloseStatus.Tag = "query_a.mrp_close_status";
-            this.gvMx1mrpCloseStatus.Visible = true;
-            this.gvMx1mrpCloseStatus.VisibleIndex = 18;
-            this.gvMx1mrpCloseStatus.Width = 94;
-            // 
-            // gvMx1outLmtUnitId
-            // 
-            this.gvMx1outLmtUnitId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1outLmtUnitId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1outLmtUnitId.Caption = "瓒呭彂鎺у埗鍗曚綅 ";
-            this.gvMx1outLmtUnitId.FieldName = "outLmtUnitId";
-            this.gvMx1outLmtUnitId.MinWidth = 50;
-            this.gvMx1outLmtUnitId.Name = "gvMx1outLmtUnitId";
-            this.gvMx1outLmtUnitId.Tag = "query_a.out_lmt_unit_id";
-            this.gvMx1outLmtUnitId.Visible = true;
-            this.gvMx1outLmtUnitId.VisibleIndex = 17;
-            this.gvMx1outLmtUnitId.Width = 94;
-            // 
-            // gvMx1deliveryMinQty
-            // 
-            this.gvMx1deliveryMinQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1deliveryMinQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1deliveryMinQty.Caption = "鍙戣揣涓嬮檺 ";
-            this.gvMx1deliveryMinQty.FieldName = "deliveryMinQty";
-            this.gvMx1deliveryMinQty.MinWidth = 50;
-            this.gvMx1deliveryMinQty.Name = "gvMx1deliveryMinQty";
-            this.gvMx1deliveryMinQty.Tag = "query_a.delivery_min_qty";
-            this.gvMx1deliveryMinQty.Visible = true;
-            this.gvMx1deliveryMinQty.VisibleIndex = 16;
-            this.gvMx1deliveryMinQty.Width = 94;
-            // 
-            // gvMx1deliveryMaxQty
-            // 
-            this.gvMx1deliveryMaxQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1deliveryMaxQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1deliveryMaxQty.Caption = "鍙戣揣涓婇檺 ";
-            this.gvMx1deliveryMaxQty.FieldName = "deliveryMaxQty";
-            this.gvMx1deliveryMaxQty.MinWidth = 50;
-            this.gvMx1deliveryMaxQty.Name = "gvMx1deliveryMaxQty";
-            this.gvMx1deliveryMaxQty.Tag = "query_a.delivery_max_qty";
-            this.gvMx1deliveryMaxQty.Visible = true;
-            this.gvMx1deliveryMaxQty.VisibleIndex = 15;
-            this.gvMx1deliveryMaxQty.Width = 94;
-            // 
-            // gvMx1lot
-            // 
-            this.gvMx1lot.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1lot.AppearanceCell.Options.UseFont = true;
-            this.gvMx1lot.Caption = "鎵瑰彿 ";
-            this.gvMx1lot.FieldName = "lot";
-            this.gvMx1lot.MinWidth = 50;
-            this.gvMx1lot.Name = "gvMx1lot";
-            this.gvMx1lot.Tag = "query_a.lot";
-            this.gvMx1lot.Visible = true;
-            this.gvMx1lot.VisibleIndex = 14;
-            this.gvMx1lot.Width = 94;
-            // 
-            // gvMx1mtoNo
-            // 
-            this.gvMx1mtoNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1mtoNo.AppearanceCell.Options.UseFont = true;
-            this.gvMx1mtoNo.Caption = "璁″垝璺熻釜鍙� ";
-            this.gvMx1mtoNo.FieldName = "mtoNo";
-            this.gvMx1mtoNo.MinWidth = 50;
-            this.gvMx1mtoNo.Name = "gvMx1mtoNo";
-            this.gvMx1mtoNo.Tag = "query_a.mto_no";
-            this.gvMx1mtoNo.Visible = true;
-            this.gvMx1mtoNo.VisibleIndex = 13;
-            this.gvMx1mtoNo.Width = 94;
-            // 
-            // gvMx1entryNote
-            // 
-            this.gvMx1entryNote.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1entryNote.AppearanceCell.Options.UseFont = true;
-            this.gvMx1entryNote.Caption = "澶囨敞 ";
-            this.gvMx1entryNote.FieldName = "entryNote";
-            this.gvMx1entryNote.MinWidth = 50;
-            this.gvMx1entryNote.Name = "gvMx1entryNote";
-            this.gvMx1entryNote.Tag = "query_a.entry_note";
-            this.gvMx1entryNote.Visible = true;
-            this.gvMx1entryNote.VisibleIndex = 12;
-            this.gvMx1entryNote.Width = 94;
-            // 
-            // gvMx1ownerId
-            // 
-            this.gvMx1ownerId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1ownerId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1ownerId.Caption = "璐т富 ";
-            this.gvMx1ownerId.FieldName = "ownerId";
-            this.gvMx1ownerId.MinWidth = 50;
-            this.gvMx1ownerId.Name = "gvMx1ownerId";
-            this.gvMx1ownerId.Tag = "query_a.owner_id";
-            this.gvMx1ownerId.Visible = true;
-            this.gvMx1ownerId.VisibleIndex = 11;
-            this.gvMx1ownerId.Width = 94;
-            // 
-            // gvMx1ownerTypeId
-            // 
-            this.gvMx1ownerTypeId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1ownerTypeId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1ownerTypeId.Caption = "璐т富绫诲瀷 ";
-            this.gvMx1ownerTypeId.FieldName = "ownerTypeId";
-            this.gvMx1ownerTypeId.MinWidth = 50;
-            this.gvMx1ownerTypeId.Name = "gvMx1ownerTypeId";
-            this.gvMx1ownerTypeId.Tag = "query_a.owner_type_id";
-            this.gvMx1ownerTypeId.Visible = true;
-            this.gvMx1ownerTypeId.VisibleIndex = 10;
-            this.gvMx1ownerTypeId.Width = 94;
-            // 
-            // gvMx1isFree
-            // 
-            this.gvMx1isFree.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1isFree.AppearanceCell.Options.UseFont = true;
-            this.gvMx1isFree.Caption = "鏄惁璧犲搧 ";
-            this.gvMx1isFree.FieldName = "isFree";
-            this.gvMx1isFree.MinWidth = 50;
-            this.gvMx1isFree.Name = "gvMx1isFree";
-            this.gvMx1isFree.Tag = "query_a.is_free";
-            this.gvMx1isFree.Visible = true;
-            this.gvMx1isFree.VisibleIndex = 9;
-            this.gvMx1isFree.Width = 94;
-            // 
-            // gvMx1deliveryDate
-            // 
-            this.gvMx1deliveryDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1deliveryDate.AppearanceCell.Options.UseFont = true;
-            this.gvMx1deliveryDate.Caption = "瑕佽揣鏃ユ湡 ";
-            this.gvMx1deliveryDate.FieldName = "deliveryDate";
-            this.gvMx1deliveryDate.MinWidth = 50;
-            this.gvMx1deliveryDate.Name = "gvMx1deliveryDate";
-            this.gvMx1deliveryDate.Tag = "query_a.delivery_date";
-            this.gvMx1deliveryDate.Visible = true;
-            this.gvMx1deliveryDate.VisibleIndex = 8;
-            this.gvMx1deliveryDate.Width = 94;
-            // 
-            // gvMx1priceUnitQty
-            // 
-            this.gvMx1priceUnitQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1priceUnitQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1priceUnitQty.Caption = "璁′环鏁伴噺 ";
-            this.gvMx1priceUnitQty.FieldName = "priceUnitQty";
-            this.gvMx1priceUnitQty.MinWidth = 50;
-            this.gvMx1priceUnitQty.Name = "gvMx1priceUnitQty";
-            this.gvMx1priceUnitQty.Tag = "query_a.price_unit_qty";
-            this.gvMx1priceUnitQty.Visible = true;
-            this.gvMx1priceUnitQty.VisibleIndex = 7;
-            this.gvMx1priceUnitQty.Width = 94;
-            // 
-            // gvMx1priceUnitId
-            // 
-            this.gvMx1priceUnitId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1priceUnitId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1priceUnitId.Caption = "璁′环鍗曚綅 ";
-            this.gvMx1priceUnitId.FieldName = "priceUnitId";
-            this.gvMx1priceUnitId.MinWidth = 50;
-            this.gvMx1priceUnitId.Name = "gvMx1priceUnitId";
-            this.gvMx1priceUnitId.Tag = "query_a.price_unit_id";
-            this.gvMx1priceUnitId.Visible = true;
-            this.gvMx1priceUnitId.VisibleIndex = 6;
-            this.gvMx1priceUnitId.Width = 94;
-            // 
-            // gvMx1qty
-            // 
-            this.gvMx1qty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1qty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1qty.Caption = "閿�鍞暟閲� ";
-            this.gvMx1qty.FieldName = "qty";
-            this.gvMx1qty.MinWidth = 50;
-            this.gvMx1qty.Name = "gvMx1qty";
-            this.gvMx1qty.Tag = "query_a.qty";
-            this.gvMx1qty.Visible = true;
-            this.gvMx1qty.VisibleIndex = 5;
-            this.gvMx1qty.Width = 94;
-            // 
-            // gvMx1unitId
-            // 
-            this.gvMx1unitId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1unitId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1unitId.Caption = "閿�鍞崟浣� ";
-            this.gvMx1unitId.FieldName = "unitId";
-            this.gvMx1unitId.MinWidth = 50;
-            this.gvMx1unitId.Name = "gvMx1unitId";
-            this.gvMx1unitId.Tag = "query_a.unit_id";
-            this.gvMx1unitId.Visible = true;
-            this.gvMx1unitId.VisibleIndex = 4;
-            this.gvMx1unitId.Width = 94;
-            // 
-            // gvMx1materialId
-            // 
-            this.gvMx1materialId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1materialId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1materialId.Caption = "鐗╂枡缂栫爜 ";
-            this.gvMx1materialId.FieldName = "materialId";
-            this.gvMx1materialId.MinWidth = 50;
-            this.gvMx1materialId.Name = "gvMx1materialId";
-            this.gvMx1materialId.Tag = "query_a.material_id";
-            this.gvMx1materialId.Visible = true;
-            this.gvMx1materialId.VisibleIndex = 3;
-            this.gvMx1materialId.Width = 94;
-            // 
-            // gvMx1erpId
-            // 
-            this.gvMx1erpId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1erpId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1erpId.Caption = "erp_id ";
-            this.gvMx1erpId.FieldName = "erpId";
-            this.gvMx1erpId.MinWidth = 50;
-            this.gvMx1erpId.Name = "gvMx1erpId";
-            this.gvMx1erpId.Tag = "query_a.erp_id";
-            this.gvMx1erpId.Visible = true;
-            this.gvMx1erpId.VisibleIndex = 2;
-            this.gvMx1erpId.Width = 94;
-            // 
-            // gvMx1pid
-            // 
-            this.gvMx1pid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1pid.AppearanceCell.Options.UseFont = true;
-            this.gvMx1pid.Caption = "pid ";
-            this.gvMx1pid.FieldName = "pid";
-            this.gvMx1pid.MinWidth = 50;
-            this.gvMx1pid.Name = "gvMx1pid";
-            this.gvMx1pid.Tag = "query_a.pid";
-            this.gvMx1pid.Visible = true;
-            this.gvMx1pid.VisibleIndex = 1;
-            this.gvMx1pid.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 = "id";
-            this.gvMx1id.MinWidth = 50;
-            this.gvMx1id.Name = "gvMx1id";
-            this.gvMx1id.Tag = "query_a.id";
-            this.gvMx1id.Visible = true;
-            this.gvMx1id.VisibleIndex = 0;
-            this.gvMx1id.Width = 94;
-            // 
-            // tabMxPage1
-            // 
-            this.tabMxPage1.Controls.Add(this.gcMx1);
-            this.tabMxPage1.Name = "tabMxPage1";
-            this.tabMxPage1.Size = new System.Drawing.Size(1124, 191);
-            this.tabMxPage1.Text = "鏄庣粏1";
-            // 
-            // 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.Size = new System.Drawing.Size(1124, 191);
-            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.gvMx1pid,
-            this.gvMx1erpId,
-            this.gvMx1materialId,
-            this.gvMx1unitId,
-            this.gvMx1qty,
-            this.gvMx1priceUnitId,
-            this.gvMx1priceUnitQty,
-            this.gvMx1deliveryDate,
-            this.gvMx1isFree,
-            this.gvMx1ownerTypeId,
-            this.gvMx1ownerId,
-            this.gvMx1entryNote,
-            this.gvMx1mtoNo,
-            this.gvMx1lot,
-            this.gvMx1deliveryMaxQty,
-            this.gvMx1deliveryMinQty,
-            this.gvMx1outLmtUnitId,
-            this.gvMx1mrpCloseStatus,
-            this.gvMx1mrpTerminateStatus,
-            this.gvMx1terminateDate,
-            this.gvMx1terminaterId,
-            this.gvMx1srcType,
-            this.gvMx1srcBillNo,
-            this.gvMx1deliQty,
-            this.gvMx1stockOutQty,
-            this.gvMx1baseRetNoticeQty,
-            this.gvMx1baseReturnQty,
-            this.gvMx1baseRemainOutQty,
-            this.gvMx1basearqty,
-            this.gvMx1custIno,
-            this.gvMx1custInm,
-            this.gvMx1custImd,
-            this.gvMx1mapId,
-            this.gvMx1mapName,
-            this.gvMx1mapSpec,
-            this.gvMx1seq,
-            this.gvMx1supplyOrgId,
-            this.gvMx1stockOrgId,
-            this.gvMx1settleOrgIds,
-            this.gvMx1eHid});
-            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;
-            // 
-            // lb_receiveContact
-            // 
-            this.lb_receiveContact.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_receiveContact.Appearance.Options.UseFont = true;
-            this.lb_receiveContact.Location = new System.Drawing.Point(20, 308);
-            this.lb_receiveContact.Name = "lb_receiveContact";
-            this.lb_receiveContact.Size = new System.Drawing.Size(107, 21);
-            this.lb_receiveContact.TabIndex = 417;
-            this.lb_receiveContact.Text = "鏀惰揣鏂硅仈绯讳汉 ";
-            // 
-            // txt_receiveContact
-            // 
-            this.txt_receiveContact.Location = new System.Drawing.Point(80, 308);
-            this.txt_receiveContact.Name = "txt_receiveContact";
-            this.txt_receiveContact.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_receiveContact.Properties.Appearance.Options.UseFont = true;
-            this.txt_receiveContact.Size = new System.Drawing.Size(150, 28);
-            this.txt_receiveContact.TabIndex = 417;
-            // 
-            // gv_receiveContact
-            // 
-            this.gv_receiveContact.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_receiveContact.AppearanceCell.Options.UseFont = true;
-            this.gv_receiveContact.Caption = "鏀惰揣鏂硅仈绯讳汉 ";
-            this.gv_receiveContact.FieldName = "receiveContact";
-            this.gv_receiveContact.MinWidth = 50;
-            this.gv_receiveContact.Name = "gv_receiveContact";
-            this.gv_receiveContact.OptionsColumn.AllowEdit = false;
-            this.gv_receiveContact.Tag = "query_a.RECEIVE_CONTACT";
-            this.gv_receiveContact.Visible = true;
-            this.gv_receiveContact.VisibleIndex = 36;
-            this.gv_receiveContact.Width = 94;
-            // 
-            // lb_receiveId
-            // 
-            this.lb_receiveId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_receiveId.Appearance.Options.UseFont = true;
-            this.lb_receiveId.Location = new System.Drawing.Point(770, 276);
-            this.lb_receiveId.Name = "lb_receiveId";
-            this.lb_receiveId.Size = new System.Drawing.Size(56, 21);
-            this.lb_receiveId.TabIndex = 408;
-            this.lb_receiveId.Text = "鏀惰揣鏂� ";
-            // 
-            // txt_receiveId
-            // 
-            this.txt_receiveId.Location = new System.Drawing.Point(830, 276);
-            this.txt_receiveId.Name = "txt_receiveId";
-            this.txt_receiveId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_receiveId.Properties.Appearance.Options.UseFont = true;
-            this.txt_receiveId.Size = new System.Drawing.Size(150, 28);
-            this.txt_receiveId.TabIndex = 408;
-            // 
-            // gv_receiveId
-            // 
-            this.gv_receiveId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_receiveId.AppearanceCell.Options.UseFont = true;
-            this.gv_receiveId.Caption = "鏀惰揣鏂� ";
-            this.gv_receiveId.FieldName = "receiveId";
-            this.gv_receiveId.MinWidth = 50;
-            this.gv_receiveId.Name = "gv_receiveId";
-            this.gv_receiveId.OptionsColumn.AllowEdit = false;
-            this.gv_receiveId.Tag = "query_a.RECEIVE_ID";
-            this.gv_receiveId.Visible = true;
-            this.gv_receiveId.VisibleIndex = 35;
-            this.gv_receiveId.Width = 94;
-            // 
-            // lb_saleOrgId
-            // 
-            this.lb_saleOrgId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_saleOrgId.Appearance.Options.UseFont = true;
-            this.lb_saleOrgId.Location = new System.Drawing.Point(520, 276);
-            this.lb_saleOrgId.Name = "lb_saleOrgId";
-            this.lb_saleOrgId.Size = new System.Drawing.Size(91, 21);
-            this.lb_saleOrgId.TabIndex = 397;
-            this.lb_saleOrgId.Text = "閿�鍞粍缁嘔D ";
-            // 
-            // txt_saleOrgId
-            // 
-            this.txt_saleOrgId.Location = new System.Drawing.Point(580, 276);
-            this.txt_saleOrgId.Name = "txt_saleOrgId";
-            this.txt_saleOrgId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_saleOrgId.Properties.Appearance.Options.UseFont = true;
-            this.txt_saleOrgId.Size = new System.Drawing.Size(150, 28);
-            this.txt_saleOrgId.TabIndex = 397;
-            // 
-            // gv_saleOrgId
-            // 
-            this.gv_saleOrgId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_saleOrgId.AppearanceCell.Options.UseFont = true;
-            this.gv_saleOrgId.Caption = "閿�鍞粍缁嘔D ";
-            this.gv_saleOrgId.FieldName = "saleOrgId";
-            this.gv_saleOrgId.MinWidth = 50;
-            this.gv_saleOrgId.Name = "gv_saleOrgId";
-            this.gv_saleOrgId.OptionsColumn.AllowEdit = false;
-            this.gv_saleOrgId.Tag = "query_a.SALE_ORG_ID";
-            this.gv_saleOrgId.Visible = true;
-            this.gv_saleOrgId.VisibleIndex = 34;
-            this.gv_saleOrgId.Width = 94;
-            // 
-            // lb_fbilltype
-            // 
-            this.lb_fbilltype.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fbilltype.Appearance.Options.UseFont = true;
-            this.lb_fbilltype.Location = new System.Drawing.Point(270, 276);
-            this.lb_fbilltype.Name = "lb_fbilltype";
-            this.lb_fbilltype.Size = new System.Drawing.Size(63, 21);
-            this.lb_fbilltype.TabIndex = 387;
-            this.lb_fbilltype.Text = "fbilltype ";
-            // 
-            // txt_fbilltype
-            // 
-            this.txt_fbilltype.Location = new System.Drawing.Point(330, 276);
-            this.txt_fbilltype.Name = "txt_fbilltype";
-            this.txt_fbilltype.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fbilltype.Properties.Appearance.Options.UseFont = true;
-            this.txt_fbilltype.Size = new System.Drawing.Size(150, 28);
-            this.txt_fbilltype.TabIndex = 387;
-            // 
-            // gv_fbilltype
-            // 
-            this.gv_fbilltype.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fbilltype.AppearanceCell.Options.UseFont = true;
-            this.gv_fbilltype.Caption = "fbilltype ";
-            this.gv_fbilltype.FieldName = "fbilltype";
-            this.gv_fbilltype.MinWidth = 50;
-            this.gv_fbilltype.Name = "gv_fbilltype";
-            this.gv_fbilltype.OptionsColumn.AllowEdit = false;
-            this.gv_fbilltype.Tag = "query_a.fbilltype";
-            this.gv_fbilltype.Visible = true;
-            this.gv_fbilltype.VisibleIndex = 33;
-            this.gv_fbilltype.Width = 94;
-            // 
-            // lb_entryNote
-            // 
-            this.lb_entryNote.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_entryNote.Appearance.Options.UseFont = true;
-            this.lb_entryNote.Location = new System.Drawing.Point(20, 276);
-            this.lb_entryNote.Name = "lb_entryNote";
-            this.lb_entryNote.Size = new System.Drawing.Size(39, 21);
-            this.lb_entryNote.TabIndex = 378;
-            this.lb_entryNote.Text = "澶囨敞 ";
-            // 
-            // txt_entryNote
-            // 
-            this.txt_entryNote.Location = new System.Drawing.Point(80, 276);
-            this.txt_entryNote.Name = "txt_entryNote";
-            this.txt_entryNote.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_entryNote.Properties.Appearance.Options.UseFont = true;
-            this.txt_entryNote.Size = new System.Drawing.Size(150, 28);
-            this.txt_entryNote.TabIndex = 378;
-            // 
-            // gv_entryNote
-            // 
-            this.gv_entryNote.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_entryNote.AppearanceCell.Options.UseFont = true;
-            this.gv_entryNote.Caption = "澶囨敞 ";
-            this.gv_entryNote.FieldName = "entryNote";
-            this.gv_entryNote.MinWidth = 50;
-            this.gv_entryNote.Name = "gv_entryNote";
-            this.gv_entryNote.OptionsColumn.AllowEdit = false;
-            this.gv_entryNote.Tag = "query_a.entry_note";
-            this.gv_entryNote.Visible = true;
-            this.gv_entryNote.VisibleIndex = 32;
-            this.gv_entryNote.Width = 94;
-            // 
-            // lb_changerId
-            // 
-            this.lb_changerId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_changerId.Appearance.Options.UseFont = true;
-            this.lb_changerId.Location = new System.Drawing.Point(770, 244);
-            this.lb_changerId.Name = "lb_changerId";
-            this.lb_changerId.Size = new System.Drawing.Size(56, 21);
-            this.lb_changerId.TabIndex = 370;
-            this.lb_changerId.Text = "鍙樻洿浜� ";
-            // 
-            // txt_changerId
-            // 
-            this.txt_changerId.Location = new System.Drawing.Point(830, 244);
-            this.txt_changerId.Name = "txt_changerId";
-            this.txt_changerId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_changerId.Properties.Appearance.Options.UseFont = true;
-            this.txt_changerId.Size = new System.Drawing.Size(150, 28);
-            this.txt_changerId.TabIndex = 370;
-            // 
-            // gv_changerId
-            // 
-            this.gv_changerId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_changerId.AppearanceCell.Options.UseFont = true;
-            this.gv_changerId.Caption = "鍙樻洿浜� ";
-            this.gv_changerId.FieldName = "changerId";
-            this.gv_changerId.MinWidth = 50;
-            this.gv_changerId.Name = "gv_changerId";
-            this.gv_changerId.OptionsColumn.AllowEdit = false;
-            this.gv_changerId.Tag = "query_a.changer_id";
-            this.gv_changerId.Visible = true;
-            this.gv_changerId.VisibleIndex = 31;
-            this.gv_changerId.Width = 94;
-            // 
-            // lb_versionNo
-            // 
-            this.lb_versionNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_versionNo.Appearance.Options.UseFont = true;
-            this.lb_versionNo.Location = new System.Drawing.Point(520, 244);
-            this.lb_versionNo.Name = "lb_versionNo";
-            this.lb_versionNo.Size = new System.Drawing.Size(56, 21);
-            this.lb_versionNo.TabIndex = 360;
-            this.lb_versionNo.Text = "鐗堟湰鍙� ";
-            // 
-            // txt_versionNo
-            // 
-            this.txt_versionNo.Location = new System.Drawing.Point(580, 244);
-            this.txt_versionNo.Name = "txt_versionNo";
-            this.txt_versionNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_versionNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_versionNo.Size = new System.Drawing.Size(150, 28);
-            this.txt_versionNo.TabIndex = 360;
-            // 
-            // gv_versionNo
-            // 
-            this.gv_versionNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_versionNo.AppearanceCell.Options.UseFont = true;
-            this.gv_versionNo.Caption = "鐗堟湰鍙� ";
-            this.gv_versionNo.FieldName = "versionNo";
-            this.gv_versionNo.MinWidth = 50;
-            this.gv_versionNo.Name = "gv_versionNo";
-            this.gv_versionNo.OptionsColumn.AllowEdit = false;
-            this.gv_versionNo.Tag = "query_a.version_no";
-            this.gv_versionNo.Visible = true;
-            this.gv_versionNo.VisibleIndex = 30;
-            this.gv_versionNo.Width = 94;
-            // 
-            // lb_cancellerId
-            // 
-            this.lb_cancellerId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_cancellerId.Appearance.Options.UseFont = true;
-            this.lb_cancellerId.Location = new System.Drawing.Point(270, 244);
-            this.lb_cancellerId.Name = "lb_cancellerId";
-            this.lb_cancellerId.Size = new System.Drawing.Size(56, 21);
-            this.lb_cancellerId.TabIndex = 351;
-            this.lb_cancellerId.Text = "浣滃簾浜� ";
-            // 
-            // txt_cancellerId
-            // 
-            this.txt_cancellerId.Location = new System.Drawing.Point(330, 244);
-            this.txt_cancellerId.Name = "txt_cancellerId";
-            this.txt_cancellerId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_cancellerId.Properties.Appearance.Options.UseFont = true;
-            this.txt_cancellerId.Size = new System.Drawing.Size(150, 28);
-            this.txt_cancellerId.TabIndex = 351;
-            // 
-            // gv_cancellerId
-            // 
-            this.gv_cancellerId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_cancellerId.AppearanceCell.Options.UseFont = true;
-            this.gv_cancellerId.Caption = "浣滃簾浜� ";
-            this.gv_cancellerId.FieldName = "cancellerId";
-            this.gv_cancellerId.MinWidth = 50;
-            this.gv_cancellerId.Name = "gv_cancellerId";
-            this.gv_cancellerId.OptionsColumn.AllowEdit = false;
-            this.gv_cancellerId.Tag = "query_a.canceller_id";
-            this.gv_cancellerId.Visible = true;
-            this.gv_cancellerId.VisibleIndex = 29;
-            this.gv_cancellerId.Width = 94;
-            // 
-            // lb_cancelStatus
-            // 
-            this.lb_cancelStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_cancelStatus.Appearance.Options.UseFont = true;
-            this.lb_cancelStatus.Location = new System.Drawing.Point(20, 244);
-            this.lb_cancelStatus.Name = "lb_cancelStatus";
-            this.lb_cancelStatus.Size = new System.Drawing.Size(73, 21);
-            this.lb_cancelStatus.TabIndex = 343;
-            this.lb_cancelStatus.Text = "浣滃簾鐘舵�� ";
-            // 
-            // txt_cancelStatus
-            // 
-            this.txt_cancelStatus.Location = new System.Drawing.Point(80, 244);
-            this.txt_cancelStatus.Name = "txt_cancelStatus";
-            this.txt_cancelStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_cancelStatus.Properties.Appearance.Options.UseFont = true;
-            this.txt_cancelStatus.Size = new System.Drawing.Size(150, 28);
-            this.txt_cancelStatus.TabIndex = 343;
-            // 
-            // gv_cancelStatus
-            // 
-            this.gv_cancelStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_cancelStatus.AppearanceCell.Options.UseFont = true;
-            this.gv_cancelStatus.Caption = "浣滃簾鐘舵�� ";
-            this.gv_cancelStatus.FieldName = "cancelStatus";
-            this.gv_cancelStatus.MinWidth = 50;
-            this.gv_cancelStatus.Name = "gv_cancelStatus";
-            this.gv_cancelStatus.OptionsColumn.AllowEdit = false;
-            this.gv_cancelStatus.Tag = "query_a.cancel_status";
-            this.gv_cancelStatus.Visible = true;
-            this.gv_cancelStatus.VisibleIndex = 28;
-            this.gv_cancelStatus.Width = 94;
-            // 
-            // lb_changeDate
-            // 
-            this.lb_changeDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_changeDate.Appearance.Options.UseFont = true;
-            this.lb_changeDate.Location = new System.Drawing.Point(770, 212);
-            this.lb_changeDate.Name = "lb_changeDate";
-            this.lb_changeDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_changeDate.TabIndex = 336;
-            this.lb_changeDate.Text = "鍙樻洿鏃ユ湡 ";
-            // 
-            // txt_changeDate
-            // 
-            this.txt_changeDate.Location = new System.Drawing.Point(830, 212);
-            this.txt_changeDate.Name = "txt_changeDate";
-            this.txt_changeDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_changeDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_changeDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_changeDate.TabIndex = 336;
-            // 
-            // gv_changeDate
-            // 
-            this.gv_changeDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_changeDate.AppearanceCell.Options.UseFont = true;
-            this.gv_changeDate.Caption = "鍙樻洿鏃ユ湡 ";
-            this.gv_changeDate.FieldName = "changeDate";
-            this.gv_changeDate.MinWidth = 50;
-            this.gv_changeDate.Name = "gv_changeDate";
-            this.gv_changeDate.OptionsColumn.AllowEdit = false;
-            this.gv_changeDate.Tag = "query_a.change_date";
-            this.gv_changeDate.Visible = true;
-            this.gv_changeDate.VisibleIndex = 27;
-            this.gv_changeDate.Width = 94;
-            // 
-            // lb_closeDate
-            // 
-            this.lb_closeDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_closeDate.Appearance.Options.UseFont = true;
-            this.lb_closeDate.Location = new System.Drawing.Point(520, 212);
-            this.lb_closeDate.Name = "lb_closeDate";
-            this.lb_closeDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_closeDate.TabIndex = 327;
-            this.lb_closeDate.Text = "鍏抽棴鏃ユ湡 ";
-            // 
-            // txt_closeDate
-            // 
-            this.txt_closeDate.Location = new System.Drawing.Point(580, 212);
-            this.txt_closeDate.Name = "txt_closeDate";
-            this.txt_closeDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_closeDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_closeDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_closeDate.TabIndex = 327;
-            // 
-            // gv_closeDate
-            // 
-            this.gv_closeDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_closeDate.AppearanceCell.Options.UseFont = true;
-            this.gv_closeDate.Caption = "鍏抽棴鏃ユ湡 ";
-            this.gv_closeDate.FieldName = "closeDate";
-            this.gv_closeDate.MinWidth = 50;
-            this.gv_closeDate.Name = "gv_closeDate";
-            this.gv_closeDate.OptionsColumn.AllowEdit = false;
-            this.gv_closeDate.Tag = "query_a.close_date";
-            this.gv_closeDate.Visible = true;
-            this.gv_closeDate.VisibleIndex = 26;
-            this.gv_closeDate.Width = 94;
-            // 
-            // lb_closerId
-            // 
-            this.lb_closerId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_closerId.Appearance.Options.UseFont = true;
-            this.lb_closerId.Location = new System.Drawing.Point(270, 212);
-            this.lb_closerId.Name = "lb_closerId";
-            this.lb_closerId.Size = new System.Drawing.Size(56, 21);
-            this.lb_closerId.TabIndex = 319;
-            this.lb_closerId.Text = "鍏抽棴浜� ";
-            // 
-            // txt_closerId
-            // 
-            this.txt_closerId.Location = new System.Drawing.Point(330, 212);
-            this.txt_closerId.Name = "txt_closerId";
-            this.txt_closerId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_closerId.Properties.Appearance.Options.UseFont = true;
-            this.txt_closerId.Size = new System.Drawing.Size(150, 28);
-            this.txt_closerId.TabIndex = 319;
-            // 
-            // gv_closerId
-            // 
-            this.gv_closerId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_closerId.AppearanceCell.Options.UseFont = true;
-            this.gv_closerId.Caption = "鍏抽棴浜� ";
-            this.gv_closerId.FieldName = "closerId";
-            this.gv_closerId.MinWidth = 50;
-            this.gv_closerId.Name = "gv_closerId";
-            this.gv_closerId.OptionsColumn.AllowEdit = false;
-            this.gv_closerId.Tag = "query_a.closer_id";
-            this.gv_closerId.Visible = true;
-            this.gv_closerId.VisibleIndex = 25;
-            this.gv_closerId.Width = 94;
-            // 
-            // lb_approveDate
-            // 
-            this.lb_approveDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_approveDate.Appearance.Options.UseFont = true;
-            this.lb_approveDate.Location = new System.Drawing.Point(20, 212);
-            this.lb_approveDate.Name = "lb_approveDate";
-            this.lb_approveDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_approveDate.TabIndex = 312;
-            this.lb_approveDate.Text = "瀹℃牳鏃ユ湡 ";
-            // 
-            // txt_approveDate
-            // 
-            this.txt_approveDate.Location = new System.Drawing.Point(80, 212);
-            this.txt_approveDate.Name = "txt_approveDate";
-            this.txt_approveDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_approveDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_approveDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_approveDate.TabIndex = 312;
-            // 
-            // gv_approveDate
-            // 
-            this.gv_approveDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_approveDate.AppearanceCell.Options.UseFont = true;
-            this.gv_approveDate.Caption = "瀹℃牳鏃ユ湡 ";
-            this.gv_approveDate.FieldName = "approveDate";
-            this.gv_approveDate.MinWidth = 50;
-            this.gv_approveDate.Name = "gv_approveDate";
-            this.gv_approveDate.OptionsColumn.AllowEdit = false;
-            this.gv_approveDate.Tag = "query_a.approve_date";
-            this.gv_approveDate.Visible = true;
-            this.gv_approveDate.VisibleIndex = 24;
-            this.gv_approveDate.Width = 94;
-            // 
-            // lb_modifyDate
-            // 
-            this.lb_modifyDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_modifyDate.Appearance.Options.UseFont = true;
-            this.lb_modifyDate.Location = new System.Drawing.Point(770, 180);
-            this.lb_modifyDate.Name = "lb_modifyDate";
-            this.lb_modifyDate.Size = new System.Drawing.Size(107, 21);
-            this.lb_modifyDate.TabIndex = 306;
-            this.lb_modifyDate.Text = "鏈�鍚庝慨鏀规棩鏈� ";
-            // 
-            // txt_modifyDate
-            // 
-            this.txt_modifyDate.Location = new System.Drawing.Point(830, 180);
-            this.txt_modifyDate.Name = "txt_modifyDate";
-            this.txt_modifyDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_modifyDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_modifyDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_modifyDate.TabIndex = 306;
-            // 
-            // gv_modifyDate
-            // 
-            this.gv_modifyDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_modifyDate.AppearanceCell.Options.UseFont = true;
-            this.gv_modifyDate.Caption = "鏈�鍚庝慨鏀规棩鏈� ";
-            this.gv_modifyDate.FieldName = "modifyDate";
-            this.gv_modifyDate.MinWidth = 50;
-            this.gv_modifyDate.Name = "gv_modifyDate";
-            this.gv_modifyDate.OptionsColumn.AllowEdit = false;
-            this.gv_modifyDate.Tag = "query_a.modify_date";
-            this.gv_modifyDate.Visible = true;
-            this.gv_modifyDate.VisibleIndex = 23;
-            this.gv_modifyDate.Width = 94;
-            // 
-            // lb_modifierId
-            // 
-            this.lb_modifierId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_modifierId.Appearance.Options.UseFont = true;
-            this.lb_modifierId.Location = new System.Drawing.Point(520, 180);
-            this.lb_modifierId.Name = "lb_modifierId";
-            this.lb_modifierId.Size = new System.Drawing.Size(90, 21);
-            this.lb_modifierId.TabIndex = 298;
-            this.lb_modifierId.Text = "鏈�鍚庝慨鏀逛汉 ";
-            // 
-            // txt_modifierId
-            // 
-            this.txt_modifierId.Location = new System.Drawing.Point(580, 180);
-            this.txt_modifierId.Name = "txt_modifierId";
-            this.txt_modifierId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_modifierId.Properties.Appearance.Options.UseFont = true;
-            this.txt_modifierId.Size = new System.Drawing.Size(150, 28);
-            this.txt_modifierId.TabIndex = 298;
-            // 
-            // gv_modifierId
-            // 
-            this.gv_modifierId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_modifierId.AppearanceCell.Options.UseFont = true;
-            this.gv_modifierId.Caption = "鏈�鍚庝慨鏀逛汉 ";
-            this.gv_modifierId.FieldName = "modifierId";
-            this.gv_modifierId.MinWidth = 50;
-            this.gv_modifierId.Name = "gv_modifierId";
-            this.gv_modifierId.OptionsColumn.AllowEdit = false;
-            this.gv_modifierId.Tag = "query_a.modifier_id";
-            this.gv_modifierId.Visible = true;
-            this.gv_modifierId.VisibleIndex = 22;
-            this.gv_modifierId.Width = 94;
-            // 
-            // 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(270, 180);
-            this.lb_createDate.Name = "lb_createDate";
-            this.lb_createDate.Size = new System.Drawing.Size(73, 21);
-            this.lb_createDate.TabIndex = 291;
-            this.lb_createDate.Text = "鍒涘缓鏃ユ湡 ";
-            // 
-            // txt_createDate
-            // 
-            this.txt_createDate.Location = new System.Drawing.Point(330, 180);
-            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 = 291;
-            // 
-            // gv_createDate
-            // 
-            this.gv_createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_createDate.AppearanceCell.Options.UseFont = true;
-            this.gv_createDate.Caption = "鍒涘缓鏃ユ湡 ";
-            this.gv_createDate.FieldName = "createDate";
-            this.gv_createDate.MinWidth = 50;
-            this.gv_createDate.Name = "gv_createDate";
-            this.gv_createDate.OptionsColumn.AllowEdit = false;
-            this.gv_createDate.Tag = "query_a.create_date";
-            this.gv_createDate.Visible = true;
-            this.gv_createDate.VisibleIndex = 21;
-            this.gv_createDate.Width = 94;
-            // 
-            // lb_creatorId
-            // 
-            this.lb_creatorId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_creatorId.Appearance.Options.UseFont = true;
-            this.lb_creatorId.Location = new System.Drawing.Point(20, 180);
-            this.lb_creatorId.Name = "lb_creatorId";
-            this.lb_creatorId.Size = new System.Drawing.Size(56, 21);
-            this.lb_creatorId.TabIndex = 285;
-            this.lb_creatorId.Text = "鍒涘缓浜� ";
-            // 
-            // txt_creatorId
-            // 
-            this.txt_creatorId.Location = new System.Drawing.Point(80, 180);
-            this.txt_creatorId.Name = "txt_creatorId";
-            this.txt_creatorId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_creatorId.Properties.Appearance.Options.UseFont = true;
-            this.txt_creatorId.Size = new System.Drawing.Size(150, 28);
-            this.txt_creatorId.TabIndex = 285;
-            // 
-            // gv_creatorId
-            // 
-            this.gv_creatorId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_creatorId.AppearanceCell.Options.UseFont = true;
-            this.gv_creatorId.Caption = "鍒涘缓浜� ";
-            this.gv_creatorId.FieldName = "creatorId";
-            this.gv_creatorId.MinWidth = 50;
-            this.gv_creatorId.Name = "gv_creatorId";
-            this.gv_creatorId.OptionsColumn.AllowEdit = false;
-            this.gv_creatorId.Tag = "query_a.creator_id";
-            this.gv_creatorId.Visible = true;
-            this.gv_creatorId.VisibleIndex = 20;
-            this.gv_creatorId.Width = 94;
-            // 
-            // lb_linkPhone
-            // 
-            this.lb_linkPhone.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_linkPhone.Appearance.Options.UseFont = true;
-            this.lb_linkPhone.Location = new System.Drawing.Point(770, 148);
-            this.lb_linkPhone.Name = "lb_linkPhone";
-            this.lb_linkPhone.Size = new System.Drawing.Size(73, 21);
-            this.lb_linkPhone.TabIndex = 280;
-            this.lb_linkPhone.Text = "鑱旂郴鐢佃瘽 ";
-            // 
-            // txt_linkPhone
-            // 
-            this.txt_linkPhone.Location = new System.Drawing.Point(830, 148);
-            this.txt_linkPhone.Name = "txt_linkPhone";
-            this.txt_linkPhone.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_linkPhone.Properties.Appearance.Options.UseFont = true;
-            this.txt_linkPhone.Size = new System.Drawing.Size(150, 28);
-            this.txt_linkPhone.TabIndex = 280;
-            // 
-            // gv_linkPhone
-            // 
-            this.gv_linkPhone.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_linkPhone.AppearanceCell.Options.UseFont = true;
-            this.gv_linkPhone.Caption = "鑱旂郴鐢佃瘽 ";
-            this.gv_linkPhone.FieldName = "linkPhone";
-            this.gv_linkPhone.MinWidth = 50;
-            this.gv_linkPhone.Name = "gv_linkPhone";
-            this.gv_linkPhone.OptionsColumn.AllowEdit = false;
-            this.gv_linkPhone.Tag = "query_a.link_phone";
-            this.gv_linkPhone.Visible = true;
-            this.gv_linkPhone.VisibleIndex = 19;
-            this.gv_linkPhone.Width = 94;
-            // 
-            // lb_chargeId
-            // 
-            this.lb_chargeId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_chargeId.Appearance.Options.UseFont = true;
-            this.lb_chargeId.Location = new System.Drawing.Point(520, 148);
-            this.lb_chargeId.Name = "lb_chargeId";
-            this.lb_chargeId.Size = new System.Drawing.Size(56, 21);
-            this.lb_chargeId.TabIndex = 273;
-            this.lb_chargeId.Text = "浠樻鏂� ";
-            // 
-            // txt_chargeId
-            // 
-            this.txt_chargeId.Location = new System.Drawing.Point(580, 148);
-            this.txt_chargeId.Name = "txt_chargeId";
-            this.txt_chargeId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_chargeId.Properties.Appearance.Options.UseFont = true;
-            this.txt_chargeId.Size = new System.Drawing.Size(150, 28);
-            this.txt_chargeId.TabIndex = 273;
-            // 
-            // gv_chargeId
-            // 
-            this.gv_chargeId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_chargeId.AppearanceCell.Options.UseFont = true;
-            this.gv_chargeId.Caption = "浠樻鏂� ";
-            this.gv_chargeId.FieldName = "chargeId";
-            this.gv_chargeId.MinWidth = 50;
-            this.gv_chargeId.Name = "gv_chargeId";
-            this.gv_chargeId.OptionsColumn.AllowEdit = false;
-            this.gv_chargeId.Tag = "query_a.charge_id";
-            this.gv_chargeId.Visible = true;
-            this.gv_chargeId.VisibleIndex = 18;
-            this.gv_chargeId.Width = 94;
-            // 
-            // lb_linkMan
-            // 
-            this.lb_linkMan.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_linkMan.Appearance.Options.UseFont = true;
-            this.lb_linkMan.Location = new System.Drawing.Point(270, 148);
-            this.lb_linkMan.Name = "lb_linkMan";
-            this.lb_linkMan.Size = new System.Drawing.Size(90, 21);
-            this.lb_linkMan.TabIndex = 267;
-            this.lb_linkMan.Text = "鏀惰揣浜哄鍚� ";
-            // 
-            // txt_linkMan
-            // 
-            this.txt_linkMan.Location = new System.Drawing.Point(330, 148);
-            this.txt_linkMan.Name = "txt_linkMan";
-            this.txt_linkMan.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_linkMan.Properties.Appearance.Options.UseFont = true;
-            this.txt_linkMan.Size = new System.Drawing.Size(150, 28);
-            this.txt_linkMan.TabIndex = 267;
-            // 
-            // gv_linkMan
-            // 
-            this.gv_linkMan.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_linkMan.AppearanceCell.Options.UseFont = true;
-            this.gv_linkMan.Caption = "鏀惰揣浜哄鍚� ";
-            this.gv_linkMan.FieldName = "linkMan";
-            this.gv_linkMan.MinWidth = 50;
-            this.gv_linkMan.Name = "gv_linkMan";
-            this.gv_linkMan.OptionsColumn.AllowEdit = false;
-            this.gv_linkMan.Tag = "query_a.link_man";
-            this.gv_linkMan.Visible = true;
-            this.gv_linkMan.VisibleIndex = 17;
-            this.gv_linkMan.Width = 94;
-            // 
-            // lb_approverId
-            // 
-            this.lb_approverId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_approverId.Appearance.Options.UseFont = true;
-            this.lb_approverId.Location = new System.Drawing.Point(20, 148);
-            this.lb_approverId.Name = "lb_approverId";
-            this.lb_approverId.Size = new System.Drawing.Size(56, 21);
-            this.lb_approverId.TabIndex = 262;
-            this.lb_approverId.Text = "瀹℃牳浜� ";
-            // 
-            // txt_approverId
-            // 
-            this.txt_approverId.Location = new System.Drawing.Point(80, 148);
-            this.txt_approverId.Name = "txt_approverId";
-            this.txt_approverId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_approverId.Properties.Appearance.Options.UseFont = true;
-            this.txt_approverId.Size = new System.Drawing.Size(150, 28);
-            this.txt_approverId.TabIndex = 262;
-            // 
-            // gv_approverId
-            // 
-            this.gv_approverId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_approverId.AppearanceCell.Options.UseFont = true;
-            this.gv_approverId.Caption = "瀹℃牳浜� ";
-            this.gv_approverId.FieldName = "approverId";
-            this.gv_approverId.MinWidth = 50;
-            this.gv_approverId.Name = "gv_approverId";
-            this.gv_approverId.OptionsColumn.AllowEdit = false;
-            this.gv_approverId.Tag = "query_a.approver_id";
-            this.gv_approverId.Visible = true;
-            this.gv_approverId.VisibleIndex = 16;
-            this.gv_approverId.Width = 94;
-            // 
-            // lb_settleId
-            // 
-            this.lb_settleId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_settleId.Appearance.Options.UseFont = true;
-            this.lb_settleId.Location = new System.Drawing.Point(770, 116);
-            this.lb_settleId.Name = "lb_settleId";
-            this.lb_settleId.Size = new System.Drawing.Size(56, 21);
-            this.lb_settleId.TabIndex = 258;
-            this.lb_settleId.Text = "缁撶畻鏂� ";
-            // 
-            // txt_settleId
-            // 
-            this.txt_settleId.Location = new System.Drawing.Point(830, 116);
-            this.txt_settleId.Name = "txt_settleId";
-            this.txt_settleId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_settleId.Properties.Appearance.Options.UseFont = true;
-            this.txt_settleId.Size = new System.Drawing.Size(150, 28);
-            this.txt_settleId.TabIndex = 258;
-            // 
-            // gv_settleId
-            // 
-            this.gv_settleId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_settleId.AppearanceCell.Options.UseFont = true;
-            this.gv_settleId.Caption = "缁撶畻鏂� ";
-            this.gv_settleId.FieldName = "settleId";
-            this.gv_settleId.MinWidth = 50;
-            this.gv_settleId.Name = "gv_settleId";
-            this.gv_settleId.OptionsColumn.AllowEdit = false;
-            this.gv_settleId.Tag = "query_a.settle_id";
-            this.gv_settleId.Visible = true;
-            this.gv_settleId.VisibleIndex = 15;
-            this.gv_settleId.Width = 94;
-            // 
-            // lb_note
-            // 
-            this.lb_note.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_note.Appearance.Options.UseFont = true;
-            this.lb_note.Location = new System.Drawing.Point(520, 116);
-            this.lb_note.Name = "lb_note";
-            this.lb_note.Size = new System.Drawing.Size(39, 21);
-            this.lb_note.TabIndex = 252;
-            this.lb_note.Text = "澶囨敞 ";
-            // 
-            // txt_note
-            // 
-            this.txt_note.Location = new System.Drawing.Point(580, 116);
-            this.txt_note.Name = "txt_note";
-            this.txt_note.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_note.Properties.Appearance.Options.UseFont = true;
-            this.txt_note.Size = new System.Drawing.Size(150, 28);
-            this.txt_note.TabIndex = 252;
-            // 
-            // gv_note
-            // 
-            this.gv_note.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_note.AppearanceCell.Options.UseFont = true;
-            this.gv_note.Caption = "澶囨敞 ";
-            this.gv_note.FieldName = "note";
-            this.gv_note.MinWidth = 50;
-            this.gv_note.Name = "gv_note";
-            this.gv_note.OptionsColumn.AllowEdit = false;
-            this.gv_note.Tag = "query_a.note";
-            this.gv_note.Visible = true;
-            this.gv_note.VisibleIndex = 14;
-            this.gv_note.Width = 94;
-            // 
-            // lb_changeReason
-            // 
-            this.lb_changeReason.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_changeReason.Appearance.Options.UseFont = true;
-            this.lb_changeReason.Location = new System.Drawing.Point(270, 116);
-            this.lb_changeReason.Name = "lb_changeReason";
-            this.lb_changeReason.Size = new System.Drawing.Size(73, 21);
-            this.lb_changeReason.TabIndex = 247;
-            this.lb_changeReason.Text = "鍙樻洿鍘熷洜 ";
-            // 
-            // txt_changeReason
-            // 
-            this.txt_changeReason.Location = new System.Drawing.Point(330, 116);
-            this.txt_changeReason.Name = "txt_changeReason";
-            this.txt_changeReason.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_changeReason.Properties.Appearance.Options.UseFont = true;
-            this.txt_changeReason.Size = new System.Drawing.Size(150, 28);
-            this.txt_changeReason.TabIndex = 247;
-            // 
-            // gv_changeReason
-            // 
-            this.gv_changeReason.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_changeReason.AppearanceCell.Options.UseFont = true;
-            this.gv_changeReason.Caption = "鍙樻洿鍘熷洜 ";
-            this.gv_changeReason.FieldName = "changeReason";
-            this.gv_changeReason.MinWidth = 50;
-            this.gv_changeReason.Name = "gv_changeReason";
-            this.gv_changeReason.OptionsColumn.AllowEdit = false;
-            this.gv_changeReason.Tag = "query_a.change_reason";
-            this.gv_changeReason.Visible = true;
-            this.gv_changeReason.VisibleIndex = 13;
-            this.gv_changeReason.Width = 94;
-            // 
-            // lb_salerId
-            // 
-            this.lb_salerId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_salerId.Appearance.Options.UseFont = true;
-            this.lb_salerId.Location = new System.Drawing.Point(20, 116);
-            this.lb_salerId.Name = "lb_salerId";
-            this.lb_salerId.Size = new System.Drawing.Size(56, 21);
-            this.lb_salerId.TabIndex = 243;
-            this.lb_salerId.Text = "閿�鍞憳 ";
-            // 
-            // txt_salerId
-            // 
-            this.txt_salerId.Location = new System.Drawing.Point(80, 116);
-            this.txt_salerId.Name = "txt_salerId";
-            this.txt_salerId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_salerId.Properties.Appearance.Options.UseFont = true;
-            this.txt_salerId.Size = new System.Drawing.Size(150, 28);
-            this.txt_salerId.TabIndex = 243;
-            // 
-            // gv_salerId
-            // 
-            this.gv_salerId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_salerId.AppearanceCell.Options.UseFont = true;
-            this.gv_salerId.Caption = "閿�鍞憳 ";
-            this.gv_salerId.FieldName = "salerId";
-            this.gv_salerId.MinWidth = 50;
-            this.gv_salerId.Name = "gv_salerId";
-            this.gv_salerId.OptionsColumn.AllowEdit = false;
-            this.gv_salerId.Tag = "query_a.saler_id";
-            this.gv_salerId.Visible = true;
-            this.gv_salerId.VisibleIndex = 12;
-            this.gv_salerId.Width = 94;
-            // 
-            // lb_saleDeptId
-            // 
-            this.lb_saleDeptId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_saleDeptId.Appearance.Options.UseFont = true;
-            this.lb_saleDeptId.Location = new System.Drawing.Point(770, 84);
-            this.lb_saleDeptId.Name = "lb_saleDeptId";
-            this.lb_saleDeptId.Size = new System.Drawing.Size(73, 21);
-            this.lb_saleDeptId.TabIndex = 240;
-            this.lb_saleDeptId.Text = "閿�鍞儴闂� ";
-            // 
-            // txt_saleDeptId
-            // 
-            this.txt_saleDeptId.Location = new System.Drawing.Point(830, 84);
-            this.txt_saleDeptId.Name = "txt_saleDeptId";
-            this.txt_saleDeptId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_saleDeptId.Properties.Appearance.Options.UseFont = true;
-            this.txt_saleDeptId.Size = new System.Drawing.Size(150, 28);
-            this.txt_saleDeptId.TabIndex = 240;
-            // 
-            // gv_saleDeptId
-            // 
-            this.gv_saleDeptId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_saleDeptId.AppearanceCell.Options.UseFont = true;
-            this.gv_saleDeptId.Caption = "閿�鍞儴闂� ";
-            this.gv_saleDeptId.FieldName = "saleDeptId";
-            this.gv_saleDeptId.MinWidth = 50;
-            this.gv_saleDeptId.Name = "gv_saleDeptId";
-            this.gv_saleDeptId.OptionsColumn.AllowEdit = false;
-            this.gv_saleDeptId.Tag = "query_a.sale_dept_id";
-            this.gv_saleDeptId.Visible = true;
-            this.gv_saleDeptId.VisibleIndex = 11;
-            this.gv_saleDeptId.Width = 94;
-            // 
-            // lb_closeStatus
-            // 
-            this.lb_closeStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_closeStatus.Appearance.Options.UseFont = true;
-            this.lb_closeStatus.Location = new System.Drawing.Point(520, 84);
-            this.lb_closeStatus.Name = "lb_closeStatus";
-            this.lb_closeStatus.Size = new System.Drawing.Size(73, 21);
-            this.lb_closeStatus.TabIndex = 235;
-            this.lb_closeStatus.Text = "鍏抽棴鐘舵�� ";
-            // 
-            // txt_closeStatus
-            // 
-            this.txt_closeStatus.Location = new System.Drawing.Point(580, 84);
-            this.txt_closeStatus.Name = "txt_closeStatus";
-            this.txt_closeStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_closeStatus.Properties.Appearance.Options.UseFont = true;
-            this.txt_closeStatus.Size = new System.Drawing.Size(150, 28);
-            this.txt_closeStatus.TabIndex = 235;
-            // 
-            // gv_closeStatus
-            // 
-            this.gv_closeStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_closeStatus.AppearanceCell.Options.UseFont = true;
-            this.gv_closeStatus.Caption = "鍏抽棴鐘舵�� ";
-            this.gv_closeStatus.FieldName = "closeStatus";
-            this.gv_closeStatus.MinWidth = 50;
-            this.gv_closeStatus.Name = "gv_closeStatus";
-            this.gv_closeStatus.OptionsColumn.AllowEdit = false;
-            this.gv_closeStatus.Tag = "query_a.close_status";
-            this.gv_closeStatus.Visible = true;
-            this.gv_closeStatus.VisibleIndex = 10;
-            this.gv_closeStatus.Width = 94;
-            // 
-            // lb_custId
-            // 
-            this.lb_custId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_custId.Appearance.Options.UseFont = true;
-            this.lb_custId.Location = new System.Drawing.Point(270, 84);
-            this.lb_custId.Name = "lb_custId";
-            this.lb_custId.Size = new System.Drawing.Size(39, 21);
-            this.lb_custId.TabIndex = 231;
-            this.lb_custId.Text = "瀹㈡埛 ";
-            // 
-            // txt_custId
-            // 
-            this.txt_custId.Location = new System.Drawing.Point(330, 84);
-            this.txt_custId.Name = "txt_custId";
-            this.txt_custId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_custId.Properties.Appearance.Options.UseFont = true;
-            this.txt_custId.Size = new System.Drawing.Size(150, 28);
-            this.txt_custId.TabIndex = 231;
-            // 
-            // gv_custId
-            // 
-            this.gv_custId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_custId.AppearanceCell.Options.UseFont = true;
-            this.gv_custId.Caption = "瀹㈡埛 ";
-            this.gv_custId.FieldName = "custId";
-            this.gv_custId.MinWidth = 50;
-            this.gv_custId.Name = "gv_custId";
-            this.gv_custId.OptionsColumn.AllowEdit = false;
-            this.gv_custId.Tag = "query_a.cust_id";
-            this.gv_custId.Visible = true;
-            this.gv_custId.VisibleIndex = 9;
-            this.gv_custId.Width = 94;
-            // 
-            // lb_headLocId
-            // 
-            this.lb_headLocId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_headLocId.Appearance.Options.UseFont = true;
-            this.lb_headLocId.Location = new System.Drawing.Point(20, 84);
-            this.lb_headLocId.Name = "lb_headLocId";
-            this.lb_headLocId.Size = new System.Drawing.Size(73, 21);
-            this.lb_headLocId.TabIndex = 228;
-            this.lb_headLocId.Text = "浜よ揣鍦扮偣 ";
-            // 
-            // txt_headLocId
-            // 
-            this.txt_headLocId.Location = new System.Drawing.Point(80, 84);
-            this.txt_headLocId.Name = "txt_headLocId";
-            this.txt_headLocId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_headLocId.Properties.Appearance.Options.UseFont = true;
-            this.txt_headLocId.Size = new System.Drawing.Size(150, 28);
-            this.txt_headLocId.TabIndex = 228;
-            // 
-            // gv_headLocId
-            // 
-            this.gv_headLocId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_headLocId.AppearanceCell.Options.UseFont = true;
-            this.gv_headLocId.Caption = "浜よ揣鍦扮偣 ";
-            this.gv_headLocId.FieldName = "headLocId";
-            this.gv_headLocId.MinWidth = 50;
-            this.gv_headLocId.Name = "gv_headLocId";
-            this.gv_headLocId.OptionsColumn.AllowEdit = false;
-            this.gv_headLocId.Tag = "query_a.head_loc_id";
-            this.gv_headLocId.Visible = true;
-            this.gv_headLocId.VisibleIndex = 8;
-            this.gv_headLocId.Width = 94;
-            // 
-            // lb_headDeliveryWay
-            // 
-            this.lb_headDeliveryWay.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_headDeliveryWay.Appearance.Options.UseFont = true;
-            this.lb_headDeliveryWay.Location = new System.Drawing.Point(770, 52);
-            this.lb_headDeliveryWay.Name = "lb_headDeliveryWay";
-            this.lb_headDeliveryWay.Size = new System.Drawing.Size(73, 21);
-            this.lb_headDeliveryWay.TabIndex = 226;
-            this.lb_headDeliveryWay.Text = "浜よ揣鏂瑰紡 ";
-            // 
-            // txt_headDeliveryWay
-            // 
-            this.txt_headDeliveryWay.Location = new System.Drawing.Point(830, 52);
-            this.txt_headDeliveryWay.Name = "txt_headDeliveryWay";
-            this.txt_headDeliveryWay.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_headDeliveryWay.Properties.Appearance.Options.UseFont = true;
-            this.txt_headDeliveryWay.Size = new System.Drawing.Size(150, 28);
-            this.txt_headDeliveryWay.TabIndex = 226;
-            // 
-            // gv_headDeliveryWay
-            // 
-            this.gv_headDeliveryWay.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_headDeliveryWay.AppearanceCell.Options.UseFont = true;
-            this.gv_headDeliveryWay.Caption = "浜よ揣鏂瑰紡 ";
-            this.gv_headDeliveryWay.FieldName = "headDeliveryWay";
-            this.gv_headDeliveryWay.MinWidth = 50;
-            this.gv_headDeliveryWay.Name = "gv_headDeliveryWay";
-            this.gv_headDeliveryWay.OptionsColumn.AllowEdit = false;
-            this.gv_headDeliveryWay.Tag = "query_a.head_delivery_way";
-            this.gv_headDeliveryWay.Visible = true;
-            this.gv_headDeliveryWay.VisibleIndex = 7;
-            this.gv_headDeliveryWay.Width = 94;
-            // 
-            // lb_businessType
-            // 
-            this.lb_businessType.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_businessType.Appearance.Options.UseFont = true;
-            this.lb_businessType.Location = new System.Drawing.Point(520, 52);
-            this.lb_businessType.Name = "lb_businessType";
-            this.lb_businessType.Size = new System.Drawing.Size(73, 21);
-            this.lb_businessType.TabIndex = 222;
-            this.lb_businessType.Text = "涓氬姟绫诲瀷 ";
-            // 
-            // txt_businessType
-            // 
-            this.txt_businessType.Location = new System.Drawing.Point(580, 52);
-            this.txt_businessType.Name = "txt_businessType";
-            this.txt_businessType.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_businessType.Properties.Appearance.Options.UseFont = true;
-            this.txt_businessType.Size = new System.Drawing.Size(150, 28);
-            this.txt_businessType.TabIndex = 222;
-            // 
-            // gv_businessType
-            // 
-            this.gv_businessType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_businessType.AppearanceCell.Options.UseFont = true;
-            this.gv_businessType.Caption = "涓氬姟绫诲瀷 ";
-            this.gv_businessType.FieldName = "businessType";
-            this.gv_businessType.MinWidth = 50;
-            this.gv_businessType.Name = "gv_businessType";
-            this.gv_businessType.OptionsColumn.AllowEdit = false;
-            this.gv_businessType.Tag = "query_a.business_type";
-            this.gv_businessType.Visible = true;
-            this.gv_businessType.VisibleIndex = 6;
-            this.gv_businessType.Width = 94;
-            // 
-            // lb_fDate
-            // 
-            this.lb_fDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_fDate.Appearance.Options.UseFont = true;
-            this.lb_fDate.Location = new System.Drawing.Point(270, 52);
-            this.lb_fDate.Name = "lb_fDate";
-            this.lb_fDate.Size = new System.Drawing.Size(39, 21);
-            this.lb_fDate.TabIndex = 219;
-            this.lb_fDate.Text = "鏃ユ湡 ";
-            // 
-            // txt_fDate
-            // 
-            this.txt_fDate.Location = new System.Drawing.Point(330, 52);
-            this.txt_fDate.Name = "txt_fDate";
-            this.txt_fDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_fDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_fDate.Size = new System.Drawing.Size(150, 28);
-            this.txt_fDate.TabIndex = 219;
-            // 
-            // gv_fDate
-            // 
-            this.gv_fDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_fDate.AppearanceCell.Options.UseFont = true;
-            this.gv_fDate.Caption = "鏃ユ湡 ";
-            this.gv_fDate.FieldName = "fDate";
-            this.gv_fDate.MinWidth = 50;
-            this.gv_fDate.Name = "gv_fDate";
-            this.gv_fDate.OptionsColumn.AllowEdit = false;
-            this.gv_fDate.Tag = "query_a.f_date";
-            this.gv_fDate.Visible = true;
-            this.gv_fDate.VisibleIndex = 5;
-            this.gv_fDate.Width = 94;
-            // 
-            // lb_documentStatus
-            // 
-            this.lb_documentStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_documentStatus.Appearance.Options.UseFont = true;
-            this.lb_documentStatus.Location = new System.Drawing.Point(20, 52);
-            this.lb_documentStatus.Name = "lb_documentStatus";
-            this.lb_documentStatus.Size = new System.Drawing.Size(73, 21);
-            this.lb_documentStatus.TabIndex = 217;
-            this.lb_documentStatus.Text = "鍗曟嵁鐘舵�� ";
-            // 
-            // txt_documentStatus
-            // 
-            this.txt_documentStatus.Location = new System.Drawing.Point(80, 52);
-            this.txt_documentStatus.Name = "txt_documentStatus";
-            this.txt_documentStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_documentStatus.Properties.Appearance.Options.UseFont = true;
-            this.txt_documentStatus.Size = new System.Drawing.Size(150, 28);
-            this.txt_documentStatus.TabIndex = 217;
-            // 
-            // gv_documentStatus
-            // 
-            this.gv_documentStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_documentStatus.AppearanceCell.Options.UseFont = true;
-            this.gv_documentStatus.Caption = "鍗曟嵁鐘舵�� ";
-            this.gv_documentStatus.FieldName = "documentStatus";
-            this.gv_documentStatus.MinWidth = 50;
-            this.gv_documentStatus.Name = "gv_documentStatus";
-            this.gv_documentStatus.OptionsColumn.AllowEdit = false;
-            this.gv_documentStatus.Tag = "query_a.document_status";
-            this.gv_documentStatus.Visible = true;
-            this.gv_documentStatus.VisibleIndex = 4;
-            this.gv_documentStatus.Width = 94;
-            // 
-            // lb_billTypeId
-            // 
-            this.lb_billTypeId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_billTypeId.Appearance.Options.UseFont = true;
-            this.lb_billTypeId.Location = new System.Drawing.Point(770, 20);
-            this.lb_billTypeId.Name = "lb_billTypeId";
-            this.lb_billTypeId.Size = new System.Drawing.Size(73, 21);
-            this.lb_billTypeId.TabIndex = 216;
-            this.lb_billTypeId.Text = "鍗曟嵁绫诲瀷 ";
-            // 
-            // txt_billTypeId
-            // 
-            this.txt_billTypeId.Location = new System.Drawing.Point(830, 20);
-            this.txt_billTypeId.Name = "txt_billTypeId";
-            this.txt_billTypeId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_billTypeId.Properties.Appearance.Options.UseFont = true;
-            this.txt_billTypeId.Size = new System.Drawing.Size(150, 28);
-            this.txt_billTypeId.TabIndex = 216;
-            // 
-            // gv_billTypeId
-            // 
-            this.gv_billTypeId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_billTypeId.AppearanceCell.Options.UseFont = true;
-            this.gv_billTypeId.Caption = "鍗曟嵁绫诲瀷 ";
-            this.gv_billTypeId.FieldName = "billTypeId";
-            this.gv_billTypeId.MinWidth = 50;
-            this.gv_billTypeId.Name = "gv_billTypeId";
-            this.gv_billTypeId.OptionsColumn.AllowEdit = false;
-            this.gv_billTypeId.Tag = "query_a.bill_type_id";
-            this.gv_billTypeId.Visible = true;
-            this.gv_billTypeId.VisibleIndex = 3;
-            this.gv_billTypeId.Width = 94;
-            // 
-            // lb_billNo
-            // 
-            this.lb_billNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_billNo.Appearance.Options.UseFont = true;
-            this.lb_billNo.Location = new System.Drawing.Point(520, 20);
-            this.lb_billNo.Name = "lb_billNo";
-            this.lb_billNo.Size = new System.Drawing.Size(73, 21);
-            this.lb_billNo.TabIndex = 213;
-            this.lb_billNo.Text = "鍗曟嵁缂栧彿 ";
-            // 
-            // txt_billNo
-            // 
-            this.txt_billNo.Location = new System.Drawing.Point(580, 20);
-            this.txt_billNo.Name = "txt_billNo";
-            this.txt_billNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_billNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_billNo.Size = new System.Drawing.Size(150, 28);
-            this.txt_billNo.TabIndex = 213;
-            // 
-            // gv_billNo
-            // 
-            this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_billNo.AppearanceCell.Options.UseFont = true;
-            this.gv_billNo.Caption = "鍗曟嵁缂栧彿 ";
-            this.gv_billNo.FieldName = "billNo";
-            this.gv_billNo.MinWidth = 50;
-            this.gv_billNo.Name = "gv_billNo";
-            this.gv_billNo.OptionsColumn.AllowEdit = false;
-            this.gv_billNo.Tag = "query_a.bill_no";
-            this.gv_billNo.Visible = true;
-            this.gv_billNo.VisibleIndex = 2;
-            this.gv_billNo.Width = 94;
-            // 
-            // lb_erpId
-            // 
-            this.lb_erpId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.lb_erpId.Appearance.Options.UseFont = true;
-            this.lb_erpId.Location = new System.Drawing.Point(270, 20);
-            this.lb_erpId.Name = "lb_erpId";
-            this.lb_erpId.Size = new System.Drawing.Size(51, 21);
-            this.lb_erpId.TabIndex = 211;
-            this.lb_erpId.Text = "erp_id ";
-            // 
-            // txt_erpId
-            // 
-            this.txt_erpId.Location = new System.Drawing.Point(330, 20);
-            this.txt_erpId.Name = "txt_erpId";
-            this.txt_erpId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.txt_erpId.Properties.Appearance.Options.UseFont = true;
-            this.txt_erpId.Size = new System.Drawing.Size(150, 28);
-            this.txt_erpId.TabIndex = 211;
-            // 
-            // gv_erpId
-            // 
-            this.gv_erpId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gv_erpId.AppearanceCell.Options.UseFont = true;
-            this.gv_erpId.Caption = "erp_id ";
-            this.gv_erpId.FieldName = "erpId";
-            this.gv_erpId.MinWidth = 50;
-            this.gv_erpId.Name = "gv_erpId";
-            this.gv_erpId.OptionsColumn.AllowEdit = false;
-            this.gv_erpId.Tag = "query_a.erp_id";
-            this.gv_erpId.Visible = true;
-            this.gv_erpId.VisibleIndex = 1;
-            this.gv_erpId.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(20, 20);
-            this.lb_id.Name = "lb_id";
-            this.lb_id.Size = new System.Drawing.Size(18, 21);
-            this.lb_id.TabIndex = 210;
-            this.lb_id.Text = "id ";
-            // 
-            // txt_id
-            // 
-            this.txt_id.Location = new System.Drawing.Point(80, 20);
-            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 = 210;
-            // 
-            // 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 = "id";
-            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.Visible = true;
-            this.gv_id.VisibleIndex = 0;
-            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.Row.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gridView1.Appearance.Row.Options.UseFont = true;
-            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
-            this.gv_id,
-            this.gv_erpId,
-            this.gv_billNo,
-            this.gv_billTypeId,
-            this.gv_documentStatus,
-            this.gv_fDate,
-            this.gv_businessType,
-            this.gv_headDeliveryWay,
-            this.gv_headLocId,
-            this.gv_custId,
-            this.gv_closeStatus,
-            this.gv_saleDeptId,
-            this.gv_salerId,
-            this.gv_changeReason,
-            this.gv_note,
-            this.gv_settleId,
-            this.gv_approverId,
-            this.gv_linkMan,
-            this.gv_chargeId,
-            this.gv_linkPhone,
-            this.gv_creatorId,
-            this.gv_createDate,
-            this.gv_modifierId,
-            this.gv_modifyDate,
-            this.gv_approveDate,
-            this.gv_closerId,
-            this.gv_closeDate,
-            this.gv_changeDate,
-            this.gv_cancelStatus,
-            this.gv_cancellerId,
-            this.gv_versionNo,
-            this.gv_changerId,
-            this.gv_entryNote,
-            this.gv_fbilltype,
-            this.gv_saleOrgId,
-            this.gv_receiveId,
-            this.gv_receiveContact});
-            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, 347);
-            this.tabMx.Name = "tabMx";
-            this.tabMx.SelectedTabPage = this.tabMxPage1;
-            this.tabMx.Size = new System.Drawing.Size(1126, 223);
-            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.labelControl11);
-            this.panel1.Controls.Add(this.lbGuid);
-            this.panel1.Controls.Add(this.lb_receiveContact);
-            this.panel1.Controls.Add(this.txt_receiveContact);
-            this.panel1.Controls.Add(this.lb_receiveId);
-            this.panel1.Controls.Add(this.txt_receiveId);
-            this.panel1.Controls.Add(this.lb_saleOrgId);
-            this.panel1.Controls.Add(this.txt_saleOrgId);
-            this.panel1.Controls.Add(this.lb_fbilltype);
-            this.panel1.Controls.Add(this.txt_fbilltype);
-            this.panel1.Controls.Add(this.lb_entryNote);
-            this.panel1.Controls.Add(this.txt_entryNote);
-            this.panel1.Controls.Add(this.lb_changerId);
-            this.panel1.Controls.Add(this.txt_changerId);
-            this.panel1.Controls.Add(this.lb_versionNo);
-            this.panel1.Controls.Add(this.txt_versionNo);
-            this.panel1.Controls.Add(this.lb_cancellerId);
-            this.panel1.Controls.Add(this.txt_cancellerId);
-            this.panel1.Controls.Add(this.lb_cancelStatus);
-            this.panel1.Controls.Add(this.txt_cancelStatus);
-            this.panel1.Controls.Add(this.lb_changeDate);
-            this.panel1.Controls.Add(this.txt_changeDate);
-            this.panel1.Controls.Add(this.lb_closeDate);
-            this.panel1.Controls.Add(this.txt_closeDate);
-            this.panel1.Controls.Add(this.lb_closerId);
-            this.panel1.Controls.Add(this.txt_closerId);
-            this.panel1.Controls.Add(this.lb_approveDate);
-            this.panel1.Controls.Add(this.txt_approveDate);
-            this.panel1.Controls.Add(this.lb_modifyDate);
-            this.panel1.Controls.Add(this.txt_modifyDate);
-            this.panel1.Controls.Add(this.lb_modifierId);
-            this.panel1.Controls.Add(this.txt_modifierId);
-            this.panel1.Controls.Add(this.lb_createDate);
-            this.panel1.Controls.Add(this.txt_createDate);
-            this.panel1.Controls.Add(this.lb_creatorId);
-            this.panel1.Controls.Add(this.txt_creatorId);
-            this.panel1.Controls.Add(this.lb_linkPhone);
-            this.panel1.Controls.Add(this.txt_linkPhone);
-            this.panel1.Controls.Add(this.lb_chargeId);
-            this.panel1.Controls.Add(this.txt_chargeId);
-            this.panel1.Controls.Add(this.lb_linkMan);
-            this.panel1.Controls.Add(this.txt_linkMan);
-            this.panel1.Controls.Add(this.lb_approverId);
-            this.panel1.Controls.Add(this.txt_approverId);
-            this.panel1.Controls.Add(this.lb_settleId);
-            this.panel1.Controls.Add(this.txt_settleId);
-            this.panel1.Controls.Add(this.lb_note);
-            this.panel1.Controls.Add(this.txt_note);
-            this.panel1.Controls.Add(this.lb_changeReason);
-            this.panel1.Controls.Add(this.txt_changeReason);
-            this.panel1.Controls.Add(this.lb_salerId);
-            this.panel1.Controls.Add(this.txt_salerId);
-            this.panel1.Controls.Add(this.lb_saleDeptId);
-            this.panel1.Controls.Add(this.txt_saleDeptId);
-            this.panel1.Controls.Add(this.lb_closeStatus);
-            this.panel1.Controls.Add(this.txt_closeStatus);
-            this.panel1.Controls.Add(this.lb_custId);
-            this.panel1.Controls.Add(this.txt_custId);
-            this.panel1.Controls.Add(this.lb_headLocId);
-            this.panel1.Controls.Add(this.txt_headLocId);
-            this.panel1.Controls.Add(this.lb_headDeliveryWay);
-            this.panel1.Controls.Add(this.txt_headDeliveryWay);
-            this.panel1.Controls.Add(this.lb_businessType);
-            this.panel1.Controls.Add(this.txt_businessType);
-            this.panel1.Controls.Add(this.lb_fDate);
-            this.panel1.Controls.Add(this.txt_fDate);
-            this.panel1.Controls.Add(this.lb_documentStatus);
-            this.panel1.Controls.Add(this.txt_documentStatus);
-            this.panel1.Controls.Add(this.lb_billTypeId);
-            this.panel1.Controls.Add(this.txt_billTypeId);
-            this.panel1.Controls.Add(this.lb_billNo);
-            this.panel1.Controls.Add(this.txt_billNo);
-            this.panel1.Controls.Add(this.lb_erpId);
-            this.panel1.Controls.Add(this.txt_erpId);
-            this.panel1.Controls.Add(this.lb_id);
-            this.panel1.Controls.Add(this.txt_id);
-            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, 347);
-            this.panel1.TabIndex = 1;
-            // 
-            // labelControl11
-            // 
-            this.labelControl11.Location = new System.Drawing.Point(1024, 52);
-            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 = "涓婚敭锛�";
-            // 
-            // lbGuid
-            // 
-            this.lbGuid.AutoSize = true;
-            this.lbGuid.Location = new System.Drawing.Point(1075, 52);
-            this.lbGuid.Name = "lbGuid";
-            this.lbGuid.Size = new System.Drawing.Size(0, 21);
-            this.lbGuid.TabIndex = 1;
-            // 
-            // picCheckBox
-            // 
-            this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck;
-            this.picCheckBox.Location = new System.Drawing.Point(970, 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 = 9;
-            this.picCheckBox.TabStop = false;
-            this.picCheckBox.Visible = false;
-            // 
-            // Frm_SalesOrder
-            // 
-            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_SalesOrder";
-            this.tabMxPage1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_receiveContact.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_receiveId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_saleOrgId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fbilltype.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_entryNote.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_changerId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_versionNo.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_cancellerId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_cancelStatus.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_changeDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_closeDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_closerId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_approveDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_modifyDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_modifierId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_creatorId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_linkPhone.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_chargeId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_linkMan.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_approverId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_settleId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_note.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_changeReason.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_salerId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_saleDeptId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_closeStatus.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_custId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_headLocId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_headDeliveryWay.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_businessType.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_fDate.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_documentStatus.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_billTypeId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_erpId.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_id.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.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;
-
-        //BQCreateConrolObejct
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1eHid;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1settleOrgIds;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1stockOrgId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1supplyOrgId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1seq;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1mapSpec;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1mapName;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1mapId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1custImd;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1custInm;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1custIno;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1basearqty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1baseRemainOutQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1baseReturnQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1baseRetNoticeQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1stockOutQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1deliQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1srcBillNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1srcType;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1terminaterId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1terminateDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1mrpTerminateStatus;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1mrpCloseStatus;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1outLmtUnitId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1deliveryMinQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1deliveryMaxQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1lot;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1mtoNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1entryNote;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1ownerId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1ownerTypeId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1isFree;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1deliveryDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1priceUnitQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1priceUnitId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1qty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1unitId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1materialId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1erpId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1pid;
-        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.XtraEditors.LabelControl lb_receiveContact;
-        private DevExpress.XtraEditors.TextEdit txt_receiveContact;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_receiveContact;
-
-        private DevExpress.XtraEditors.LabelControl lb_receiveId;
-        private DevExpress.XtraEditors.TextEdit txt_receiveId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_receiveId;
-
-        private DevExpress.XtraEditors.LabelControl lb_saleOrgId;
-        private DevExpress.XtraEditors.TextEdit txt_saleOrgId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_saleOrgId;
-
-        private DevExpress.XtraEditors.LabelControl lb_fbilltype;
-        private DevExpress.XtraEditors.TextEdit txt_fbilltype;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fbilltype;
-
-        private DevExpress.XtraEditors.LabelControl lb_entryNote;
-        private DevExpress.XtraEditors.TextEdit txt_entryNote;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_entryNote;
-
-        private DevExpress.XtraEditors.LabelControl lb_changerId;
-        private DevExpress.XtraEditors.TextEdit txt_changerId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_changerId;
-
-        private DevExpress.XtraEditors.LabelControl lb_versionNo;
-        private DevExpress.XtraEditors.TextEdit txt_versionNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_versionNo;
-
-        private DevExpress.XtraEditors.LabelControl lb_cancellerId;
-        private DevExpress.XtraEditors.TextEdit txt_cancellerId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_cancellerId;
-
-        private DevExpress.XtraEditors.LabelControl lb_cancelStatus;
-        private DevExpress.XtraEditors.TextEdit txt_cancelStatus;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_cancelStatus;
-
-        private DevExpress.XtraEditors.LabelControl lb_changeDate;
-        private DevExpress.XtraEditors.TextEdit txt_changeDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_changeDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_closeDate;
-        private DevExpress.XtraEditors.TextEdit txt_closeDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_closeDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_closerId;
-        private DevExpress.XtraEditors.TextEdit txt_closerId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_closerId;
-
-        private DevExpress.XtraEditors.LabelControl lb_approveDate;
-        private DevExpress.XtraEditors.TextEdit txt_approveDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_approveDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_modifyDate;
-        private DevExpress.XtraEditors.TextEdit txt_modifyDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_modifyDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_modifierId;
-        private DevExpress.XtraEditors.TextEdit txt_modifierId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_modifierId;
-
-        private DevExpress.XtraEditors.LabelControl lb_createDate;
-        private DevExpress.XtraEditors.TextEdit txt_createDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_createDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_creatorId;
-        private DevExpress.XtraEditors.TextEdit txt_creatorId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_creatorId;
-
-        private DevExpress.XtraEditors.LabelControl lb_linkPhone;
-        private DevExpress.XtraEditors.TextEdit txt_linkPhone;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_linkPhone;
-
-        private DevExpress.XtraEditors.LabelControl lb_chargeId;
-        private DevExpress.XtraEditors.TextEdit txt_chargeId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_chargeId;
-
-        private DevExpress.XtraEditors.LabelControl lb_linkMan;
-        private DevExpress.XtraEditors.TextEdit txt_linkMan;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_linkMan;
-
-        private DevExpress.XtraEditors.LabelControl lb_approverId;
-        private DevExpress.XtraEditors.TextEdit txt_approverId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_approverId;
-
-        private DevExpress.XtraEditors.LabelControl lb_settleId;
-        private DevExpress.XtraEditors.TextEdit txt_settleId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_settleId;
-
-        private DevExpress.XtraEditors.LabelControl lb_note;
-        private DevExpress.XtraEditors.TextEdit txt_note;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_note;
-
-        private DevExpress.XtraEditors.LabelControl lb_changeReason;
-        private DevExpress.XtraEditors.TextEdit txt_changeReason;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_changeReason;
-
-        private DevExpress.XtraEditors.LabelControl lb_salerId;
-        private DevExpress.XtraEditors.TextEdit txt_salerId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_salerId;
-
-        private DevExpress.XtraEditors.LabelControl lb_saleDeptId;
-        private DevExpress.XtraEditors.TextEdit txt_saleDeptId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_saleDeptId;
-
-        private DevExpress.XtraEditors.LabelControl lb_closeStatus;
-        private DevExpress.XtraEditors.TextEdit txt_closeStatus;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_closeStatus;
-
-        private DevExpress.XtraEditors.LabelControl lb_custId;
-        private DevExpress.XtraEditors.TextEdit txt_custId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_custId;
-
-        private DevExpress.XtraEditors.LabelControl lb_headLocId;
-        private DevExpress.XtraEditors.TextEdit txt_headLocId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_headLocId;
-
-        private DevExpress.XtraEditors.LabelControl lb_headDeliveryWay;
-        private DevExpress.XtraEditors.TextEdit txt_headDeliveryWay;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_headDeliveryWay;
-
-        private DevExpress.XtraEditors.LabelControl lb_businessType;
-        private DevExpress.XtraEditors.TextEdit txt_businessType;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_businessType;
-
-        private DevExpress.XtraEditors.LabelControl lb_fDate;
-        private DevExpress.XtraEditors.TextEdit txt_fDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_fDate;
-
-        private DevExpress.XtraEditors.LabelControl lb_documentStatus;
-        private DevExpress.XtraEditors.TextEdit txt_documentStatus;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_documentStatus;
-
-        private DevExpress.XtraEditors.LabelControl lb_billTypeId;
-        private DevExpress.XtraEditors.TextEdit txt_billTypeId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_billTypeId;
-
-        private DevExpress.XtraEditors.LabelControl lb_billNo;
-        private DevExpress.XtraEditors.TextEdit txt_billNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
-
-        private DevExpress.XtraEditors.LabelControl lb_erpId;
-        private DevExpress.XtraEditors.TextEdit txt_erpId;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_erpId;
-
-        private DevExpress.XtraEditors.LabelControl lb_id;
-        private DevExpress.XtraEditors.TextEdit txt_id;
-        private DevExpress.XtraGrid.Columns.GridColumn gv_id;
-        private System.Windows.Forms.PictureBox picCheckBox;
-    }
-}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder111.cs b/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder111.cs
deleted file mode 100644
index 442cc5e..0000000
--- a/DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesOrder111.cs
+++ /dev/null
@@ -1,201 +0,0 @@
-using DevExpress.RichEdit.Export;
-using DevExpress.XtraGrid.Views.Grid;
-using DevExpress.XtraGrid.Views.Grid.ViewInfo;
-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.Drawing;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace Gs.DevApp.DevFrm
-{
-    public partial class Frm_SalesOrder111 : DevExpress.XtraEditors.XtraForm
-    {
-        string _webServiceName = "SalesManager/";
-        List<FilterEntity> _filterList = new List<FilterEntity>();
-        public Frm_SalesOrder111()
-        {
-            InitializeComponent();
-            this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
-            this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "documentStatus", "", (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;
-        }
-        private async void GridView1_ColumnFilterChanged(object sender, EventArgs e)
-        {
-            Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
-            await 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_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);
-                getPageList(this.pageBar1.CurrentPage);
-            }
-        }
-
-        /// <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, "order_no", "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();
-                        gridView1.BestFitColumns();
-                    }
-                    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();
-                        gvMx1.BestFitColumns();
-                    }
-                    else
-                    {
-                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
-                    }
-                }
-                else
-                    ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
-            }
-            catch (Exception ex)
-            {
-                ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Sales/Sales.rar b/DevApp/Gs.DevApp/DevFrm/Sales/Sales.rar
deleted file mode 100644
index 8c65895..0000000
--- a/DevApp/Gs.DevApp/DevFrm/Sales/Sales.rar
+++ /dev/null
Binary files differ
diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs b/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs
index 1c988d1..7572086 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs
@@ -32,7 +32,6 @@
             toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick;
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
             Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList);
@@ -71,19 +70,7 @@
         {
             getPageList(1);
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            string _formNamespace = this.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+      
         /// <summary>
         ///     鍙嶅鏍�
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs
index 6b2b910..56a7121 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womcaa.cs
@@ -20,7 +20,6 @@
             InitializeComponent();
             this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
             gvList.Add(gvMx1);
@@ -149,20 +148,7 @@
             }
 
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            string _formNamespace = this.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            gvList.Add(gvMx1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+      
         private void getModel(string strGuid)
         {
             bool isEdit = false;
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
index 6b29782..a4acdcc 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
@@ -29,7 +29,6 @@
             this.toolBarMenu1.btnKgClick += ToolBarMenu1_btnKgClick;
             this.toolBarMenu1.btnWgClick += ToolBarMenu1_btnWgClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
             Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList);
@@ -64,21 +63,7 @@
             Task.Delay(100);
             getPageList(1);
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            string _formNamespace = this.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            gvList.Add(gvMx1);
-            gvList.Add(gvMx2);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+       
         /// <summary>
         /// 鍒嗛〉浜嬩欢
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
index f79d1e7..9ebbcf0 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -30,7 +30,6 @@
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
             gvList.Add(gvMx1);
@@ -134,20 +133,7 @@
             frm.UpdateParent += Frm_UpdateParent;
             frm.ShowDialog();
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            string _formNamespace = this.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            gvList.Add(gvMx1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+       
         /// <summary>
         /// 鏌ヨ鍥炶皟
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
index d5f9c55..d833053 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
@@ -28,7 +28,6 @@
             this.toolBarMenu1.btnKgClick += ToolBarMenu1_btnKgClick;
             this.toolBarMenu1.btnWgClick += ToolBarMenu1_btnWgClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
             gvList.Add(gvMx1);
@@ -67,20 +66,7 @@
                 lbGuid, txt_daa001, gridView1);
             toolBarMenu1.guidKey = rowGuid;
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            string _formNamespace = this.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            gvList.Add(gvMx1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+        
         /// <summary>
         /// 鍒嗛〉浜嬩欢
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwLlDj.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwLlDj.cs
index 5b4694e..06c0410 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwLlDj.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwLlDj.cs
@@ -24,7 +24,6 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
             Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList);
@@ -86,20 +85,7 @@
             _filterList = e.FilterList;
             getPageList(1);
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            Form parentForm = this.FindForm();
-            string _formNamespace = parentForm.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+        
         /// <summary>
         /// 鏃ュ織
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/WW/WwBlcl.cs b/DevApp/Gs.DevApp/DevFrm/WW/WwBlcl.cs
index 57210a6..bbf91fd 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/WwBlcl.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/WwBlcl.cs
@@ -38,7 +38,6 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             Form parentForm = this.FindForm();
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
@@ -114,20 +113,7 @@
                 lbGuid, txt_blNo, gridView1);
             toolBarMenu1.guidKey = rowGuid;
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            Form parentForm = this.FindForm();
-            string _formNamespace = parentForm.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+        
         /// <summary>
         /// 鍒嗛〉浜嬩欢
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/WW/WwBlclDj.cs b/DevApp/Gs.DevApp/DevFrm/WW/WwBlclDj.cs
index a227544..af66bc7 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/WwBlclDj.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/WwBlclDj.cs
@@ -33,7 +33,6 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
-            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
             Form parentForm = this.FindForm();
             List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
             gvList.Add(gridView1);
@@ -74,20 +73,7 @@
                 lbGuid, txt_itemOutNo, gridView1);
             toolBarMenu1.guidKey = rowGuid;
         }
-        /// <summary>
-        /// 甯冨眬浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
-        {
-            Form parentForm = this.FindForm();
-            string _formNamespace = parentForm.GetType().FullName;
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
-            DevFrm.ShowDialog();
-        }
+       
         /// <summary>
         /// 鍒嗛〉浜嬩欢
         /// </summary>
diff --git a/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs
index f9dc95f..f9b45eb 100644
--- a/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs
@@ -35,35 +35,39 @@
             DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition();
             this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
             this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
-            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
             this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
-            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
-            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
-            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             this.dateEdit1 = new DevExpress.XtraEditors.DateEdit();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.button1 = new System.Windows.Forms.Button();
             ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).BeginInit();
             this.splitContainerControl1.Panel1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).BeginInit();
+            this.splitContainerControl1.Panel2.SuspendLayout();
             this.splitContainerControl1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
             this.layoutControl1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             this.SuspendLayout();
             // 
             // splitContainerControl1
             // 
+            this.splitContainerControl1.Collapsed = true;
+            this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel1;
             this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.splitContainerControl1.Horizontal = false;
             this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
@@ -71,18 +75,22 @@
             // 
             // splitContainerControl1.Panel1
             // 
+            this.splitContainerControl1.Panel1.AutoScroll = true;
             this.splitContainerControl1.Panel1.Controls.Add(this.layoutControl1);
             this.splitContainerControl1.Panel1.Text = "Panel1";
             // 
             // splitContainerControl1.Panel2
             // 
+            this.splitContainerControl1.Panel2.Controls.Add(this.button1);
             this.splitContainerControl1.Panel2.Text = "Panel2";
+            this.splitContainerControl1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
             this.splitContainerControl1.Size = new System.Drawing.Size(1057, 660);
-            this.splitContainerControl1.SplitterPosition = 279;
+            this.splitContainerControl1.SplitterPosition = 76;
             this.splitContainerControl1.TabIndex = 0;
             // 
             // layoutControl1
             // 
+            this.layoutControl1.AutoScroll = false;
             this.layoutControl1.Controls.Add(this.textEdit1);
             this.layoutControl1.Controls.Add(this.textEdit2);
             this.layoutControl1.Controls.Add(this.simpleButton1);
@@ -90,10 +98,51 @@
             this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.layoutControl1.Location = new System.Drawing.Point(0, 0);
             this.layoutControl1.Name = "layoutControl1";
+            this.layoutControl1.OptionsCustomizationForm.DefaultPage = DevExpress.XtraLayout.CustomizationPage.LayoutTreeView;
+            this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1108, 0, 812, 500);
+            this.layoutControl1.OptionsCustomizationForm.SnapMode = DevExpress.Utils.Controls.SnapMode.OwnerControl;
             this.layoutControl1.Root = this.Root;
-            this.layoutControl1.Size = new System.Drawing.Size(1057, 279);
+            this.layoutControl1.Size = new System.Drawing.Size(0, 0);
             this.layoutControl1.TabIndex = 0;
             this.layoutControl1.Text = "layoutControl1";
+            // 
+            // textEdit1
+            // 
+            this.textEdit1.Location = new System.Drawing.Point(148, 12);
+            this.textEdit1.Name = "textEdit1";
+            this.textEdit1.Size = new System.Drawing.Size(62, 24);
+            this.textEdit1.StyleController = this.layoutControl1;
+            this.textEdit1.TabIndex = 4;
+            // 
+            // textEdit2
+            // 
+            this.textEdit2.Location = new System.Drawing.Point(350, 12);
+            this.textEdit2.Name = "textEdit2";
+            this.textEdit2.Size = new System.Drawing.Size(62, 24);
+            this.textEdit2.StyleController = this.layoutControl1;
+            this.textEdit2.TabIndex = 5;
+            // 
+            // simpleButton1
+            // 
+            this.simpleButton1.Location = new System.Drawing.Point(12, 43);
+            this.simpleButton1.Name = "simpleButton1";
+            this.simpleButton1.Size = new System.Drawing.Size(198, 27);
+            this.simpleButton1.StyleController = this.layoutControl1;
+            this.simpleButton1.TabIndex = 6;
+            this.simpleButton1.Text = "simpleButton1";
+            // 
+            // dateEdit1
+            // 
+            this.dateEdit1.EditValue = null;
+            this.dateEdit1.Location = new System.Drawing.Point(350, 43);
+            this.dateEdit1.Name = "dateEdit1";
+            this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.dateEdit1.Size = new System.Drawing.Size(62, 24);
+            this.dateEdit1.StyleController = this.layoutControl1;
+            this.dateEdit1.TabIndex = 7;
             // 
             // Root
             // 
@@ -101,9 +150,9 @@
             this.Root.GroupBordersVisible = false;
             this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
             this.layoutControlItem1,
-            this.layoutControlItem2,
             this.layoutControlItem3,
-            this.layoutControlItem4});
+            this.layoutControlItem4,
+            this.layoutControlItem2});
             this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
             this.Root.Name = "Root";
             columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -117,89 +166,61 @@
             rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
             rowDefinition2.Height = 100D;
             rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition3.Height = 87D;
+            rowDefinition3.Height = 20D;
             rowDefinition3.SizeType = System.Windows.Forms.SizeType.AutoSize;
             this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
             rowDefinition1,
             rowDefinition2,
             rowDefinition3});
-            this.Root.Size = new System.Drawing.Size(1057, 279);
+            this.Root.Size = new System.Drawing.Size(424, 102);
             this.Root.TextVisible = false;
-            // 
-            // textEdit1
-            // 
-            this.textEdit1.Location = new System.Drawing.Point(148, 12);
-            this.textEdit1.Name = "textEdit1";
-            this.textEdit1.Size = new System.Drawing.Size(378, 24);
-            this.textEdit1.StyleController = this.layoutControl1;
-            this.textEdit1.TabIndex = 4;
             // 
             // layoutControlItem1
             // 
             this.layoutControlItem1.Control = this.textEdit1;
             this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Size = new System.Drawing.Size(518, 86);
+            this.layoutControlItem1.Size = new System.Drawing.Size(202, 31);
             this.layoutControlItem1.TextSize = new System.Drawing.Size(124, 18);
-            // 
-            // textEdit2
-            // 
-            this.textEdit2.Location = new System.Drawing.Point(666, 12);
-            this.textEdit2.Name = "textEdit2";
-            this.textEdit2.Size = new System.Drawing.Size(379, 24);
-            this.textEdit2.StyleController = this.layoutControl1;
-            this.textEdit2.TabIndex = 5;
-            // 
-            // layoutControlItem2
-            // 
-            this.layoutControlItem2.Control = this.textEdit2;
-            this.layoutControlItem2.Location = new System.Drawing.Point(518, 0);
-            this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem2.Size = new System.Drawing.Size(519, 86);
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(124, 18);
-            // 
-            // simpleButton1
-            // 
-            this.simpleButton1.Location = new System.Drawing.Point(12, 98);
-            this.simpleButton1.Name = "simpleButton1";
-            this.simpleButton1.Size = new System.Drawing.Size(514, 27);
-            this.simpleButton1.StyleController = this.layoutControl1;
-            this.simpleButton1.TabIndex = 6;
-            this.simpleButton1.Text = "simpleButton1";
             // 
             // layoutControlItem3
             // 
             this.layoutControlItem3.Control = this.simpleButton1;
-            this.layoutControlItem3.Location = new System.Drawing.Point(0, 86);
+            this.layoutControlItem3.Location = new System.Drawing.Point(0, 31);
             this.layoutControlItem3.Name = "layoutControlItem3";
             this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem3.Size = new System.Drawing.Size(518, 86);
+            this.layoutControlItem3.Size = new System.Drawing.Size(202, 31);
             this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem3.TextVisible = false;
-            // 
-            // dateEdit1
-            // 
-            this.dateEdit1.EditValue = null;
-            this.dateEdit1.Location = new System.Drawing.Point(666, 98);
-            this.dateEdit1.Name = "dateEdit1";
-            this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.dateEdit1.Size = new System.Drawing.Size(379, 24);
-            this.dateEdit1.StyleController = this.layoutControl1;
-            this.dateEdit1.TabIndex = 7;
             // 
             // layoutControlItem4
             // 
             this.layoutControlItem4.Control = this.dateEdit1;
-            this.layoutControlItem4.Location = new System.Drawing.Point(518, 86);
+            this.layoutControlItem4.Location = new System.Drawing.Point(202, 31);
             this.layoutControlItem4.Name = "layoutControlItem4";
             this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem4.Size = new System.Drawing.Size(519, 86);
+            this.layoutControlItem4.Size = new System.Drawing.Size(202, 31);
             this.layoutControlItem4.TextSize = new System.Drawing.Size(124, 18);
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.textEdit2;
+            this.layoutControlItem2.Location = new System.Drawing.Point(202, 0);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem2.Size = new System.Drawing.Size(202, 31);
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(124, 18);
+            // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(346, 110);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(75, 23);
+            this.button1.TabIndex = 0;
+            this.button1.Text = "button1";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
             // 
             // XtraForm1
             // 
@@ -213,19 +234,20 @@
             ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).EndInit();
             this.splitContainerControl1.Panel1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).EndInit();
+            this.splitContainerControl1.Panel2.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
             this.splitContainerControl1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
             this.layoutControl1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             this.ResumeLayout(false);
 
         }
@@ -239,9 +261,10 @@
         private DevExpress.XtraEditors.SimpleButton simpleButton1;
         private DevExpress.XtraEditors.DateEdit dateEdit1;
         private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
+        private System.Windows.Forms.Button button1;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/XtraForm1.cs b/DevApp/Gs.DevApp/DevFrm/XtraForm1.cs
index 5ac81fb..6458e38 100644
--- a/DevApp/Gs.DevApp/DevFrm/XtraForm1.cs
+++ b/DevApp/Gs.DevApp/DevFrm/XtraForm1.cs
@@ -1,5 +1,6 @@
 锘縰sing DevExpress.XtraEditors;
 using DevExpress.XtraLayout;
+using DevExpress.XtraPrinting.Export;
 using DevExpress.XtraRichEdit.Model;
 using Gs.DevApp.ToolBox;
 using System;
@@ -7,10 +8,13 @@
 using System.ComponentModel;
 using System.Data;
 using System.Drawing;
+using System.IO;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
 using System.Windows.Forms;
+using System.Xml.Serialization;
+
 
 namespace Gs.DevApp.DevFrm
 {
@@ -22,7 +26,24 @@
             InitializeComponent();
             
         }
- 
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+            string ddddd = GetLayoutControlXml(layoutControl1);
+
+        }
+
+        public string GetLayoutControlXml(LayoutControl layoutControl)
+        {
+            string dddd = "";
+            layoutControl.SaveLayoutToXml(dddd);
+           // layoutControl.SaveLayoutToStream(dddd);
+            layoutControl1.RestoreLayoutFromXml("layout.xml");
+            return dddd;
+
+           // gcMain.MainView.RestoreLayoutFromXml(fileName);
+         //  splitContainerControl1.
+        }
     }
 
    
diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj
index 47b5625..76b5c4a 100644
--- a/DevApp/Gs.DevApp/Gs.DevApp.csproj
+++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -388,12 +388,6 @@
     <Compile Include="DevFrm\Sales\Frm_SalesOrder.Designer.cs">
       <DependentUpon>Frm_SalesOrder.cs</DependentUpon>
     </Compile>
-    <Compile Include="DevFrm\Sales\Frm_SalesOrder111.cs">
-      <SubType>Form</SubType>
-    </Compile>
-    <Compile Include="DevFrm\Sales\Frm_SalesOrder111.Designer.cs">
-      <DependentUpon>Frm_SalesOrder111.cs</DependentUpon>
-    </Compile>
     <Compile Include="DevFrm\Sales\Frm_SalesReturnNotice.cs">
       <SubType>Form</SubType>
     </Compile>
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 0f3d47a..debc890 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -10,6 +10,7 @@
 using System.Net.Http;
 using System.Reflection;
 using System.Resources;
+using System.Runtime.CompilerServices;
 using System.Text;
 using System.Text.RegularExpressions;
 using System.Threading.Tasks;
@@ -1614,7 +1615,7 @@
                             btnChkIco.Tag = "鏈鏍�";
                         }
                         btnChkIco.Anchor = AnchorStyles.Top | AnchorStyles.Right; // 闈犲彸
-                        btnChkIco.Location = new Point(fm.ClientSize.Width - btnChkIco.Width - 20,25); // 璺濈椤堕儴10鍍忕礌
+                        btnChkIco.Location = new Point(fm.ClientSize.Width - btnChkIco.Width - 20, 25); // 璺濈椤堕儴10鍍忕礌
                     }
                 }
             }
@@ -2009,8 +2010,58 @@
                             column.Visible = bool.Parse(controlVisible);
                     }
                 }
+               
             }
         }
+
+        public static void getXmlConfig(string namespaceFullName, List<DevExpress.XtraGrid.Views.Grid.GridView> gvList)
+        {
+            // gridView1.ShowCustomization();
+            // gridView1.OptionsMenu.EnableColumnMenu = false;
+            JArray array = new JArray();
+            var _obj = new
+            {
+                formPath = namespaceFullName,
+            };
+            try
+            {
+                string strJson = UtilityHelper.HttpPost("", "Fm/GetModel", JsonConvert.SerializeObject(_obj));
+                ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson);
+                if (_rtn.rtnCode > 0)
+                {
+                    JObject _job = JObject.Parse(strJson);
+                    foreach (var a in _job["rtnData"]["list"])
+                    {
+                        //string _id = a["controlId"].ToString();
+                        //string _controlType = a["controlType"].ToString();
+                        //string _controlXml = a["controlXml"].ToString();
+                        //string _splitterPosition = a["splitterPosition"].ToString();
+                        array.Add(a);
+                    }
+                    foreach (GridView gridView1 in gvList)
+                    {
+                        JToken john = array.FirstOrDefault(t => t["controlId"].ToString().ToUpper() == gridView1.Name.ToString().Trim().ToUpper());
+                        if (john != null)
+                        {
+                            string controlId = john["controlId"].ToString();
+                            string controlXml = john["controlXml"].ToString();
+                            byte[] byteArray = Encoding.UTF8.GetBytes(controlXml);
+                            using (var stream = new MemoryStream(byteArray))
+                            {
+                                gridView1.RestoreLayoutFromStream(stream);
+                            }
+                        }
+                    }
+                }
+                else
+                    ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
+            }
+            catch (Exception ex)
+            {
+                ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+            }
+
+        }
     }
 
     /// <summary>
diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs
index 3675002..06a565c 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs
@@ -452,7 +452,6 @@
             this.btnLayout.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.globalcolorscheme_16x16;
             this.btnLayout.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.globalcolorscheme_32x32;
             this.btnLayout.Name = "btnLayout";
-            this.btnLayout.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
             // 
             // btnHelp
             // 
@@ -476,7 +475,7 @@
             // 
             this.barDockControlBottom.CausesValidation = false;
             this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.barDockControlBottom.Location = new System.Drawing.Point(0, 61);
+            this.barDockControlBottom.Location = new System.Drawing.Point(0, 68);
             this.barDockControlBottom.Manager = this.barManager1;
             this.barDockControlBottom.Size = new System.Drawing.Size(1543, 0);
             // 
@@ -505,7 +504,7 @@
             this.Controls.Add(this.barDockControlBottom);
             this.Controls.Add(this.barDockControlTop);
             this.Name = "UcToolBarMenu";
-            this.Size = new System.Drawing.Size(1543, 61);
+            this.Size = new System.Drawing.Size(1543, 68);
             ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
             this.ResumeLayout(false);
             this.PerformLayout();
diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index 00a0424..aa42348 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -2,17 +2,18 @@
 using System.Collections.Generic;
 using System.Configuration;
 using System.Data;
+using System.IO;
 using System.Linq;
 using System.Net;
-using System.Windows.Controls.Primitives;
+using System.Text;
 using System.Windows.Forms;
 using DevExpress.XtraBars;
-using DevExpress.XtraBars.Commands;
 using DevExpress.XtraEditors;
+using DevExpress.XtraEditors.TextEditController;
 using DevExpress.XtraGrid;
-using DevExpress.XtraGrid.Columns;
-using DevExpress.XtraGrid.Menu;
 using DevExpress.XtraGrid.Views.Grid;
+using DevExpress.XtraLayout;
+using Gs.DevApp.DevFrm.QC.Models;
 using Gs.DevApp.DevFrm.Rpt;
 using Gs.DevApp.DevFrm.Sys;
 using Gs.DevApp.Entity;
@@ -664,19 +665,13 @@
             string _formNamespace = parentForm.GetType().FullName;
             if (parentForm != null)
             {
-                List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-                GridControl gcMain = parentForm.Controls.Find("gcMain", true).OfType<GridControl>().FirstOrDefault();
-                if (gcMain != null) {
-                    GridView gv1 = gcMain.MainView as GridView;
-                    if (gv1 != null)
-                    {
-                        gvList.Add(gv1);
-                    }
-                }
-                Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
+                List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = getGvList();
+                List<DevExpress.XtraLayout.LayoutControl> layList = getLayList();
+                List<DevExpress.XtraEditors.SplitContainerControl> spcList = getSpcList();
+                Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList, layList, spcList);
                 DevFrm.ShowDialog();
             }
-            if (btnLayoutClick != null) btnLayoutClick(this, ee);
+            //if (btnLayoutClick != null) btnLayoutClick(this, ee);
         }
         private void _enabledBtn(List<string> lstBtn)
         {
@@ -803,6 +798,7 @@
                 //榛樿鍚敤鐨勬寜閽�
                 _enabledList.Add(btnLoad.Name);
                 _enabledList.Add(btnHelp.Name);
+                _enabledList.Add(btnLayout.Name);
                 _enabledBtn(_enabledList);
             }
             catch (Exception ex)
@@ -996,7 +992,7 @@
         public event EventHandler btnWgClick;
 
 
-        public event EventHandler btnLayoutClick;
+        //public event EventHandler btnLayoutClick;
 
         #endregion
 
@@ -1041,5 +1037,146 @@
         #endregion
 
 
+
+        /// <summary>
+        /// 鏌ユ壘gridView
+        /// </summary>
+        /// <returns></returns>
+        private List<DevExpress.XtraGrid.Views.Grid.GridView> getGvList()
+        {
+            Form parentForm = this.Parent as Form;
+            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
+            //鏌ユ壘gridview,涓婚〉闈�
+            GridControl gcMain = parentForm.Controls.Find("gcMain", true).OfType<GridControl>().FirstOrDefault();
+            if (gcMain != null)
+            {
+                GridView gv1 = gcMain.MainView as GridView;
+                if (gv1 != null)
+                {
+                    gvList.Add(gv1);
+                }
+            }
+            return gvList;
+        }
+        /// <summary>
+        /// 鏌ユ壘LayoutControl
+        /// </summary>
+        /// <returns></returns>
+        private List<DevExpress.XtraLayout.LayoutControl> getLayList()
+        {
+            Form parentForm = this.Parent as Form;
+            List<DevExpress.XtraLayout.LayoutControl> layList = new List<DevExpress.XtraLayout.LayoutControl>();
+            //DevExpress.XtraLayout.LayoutControl lay1 = parentForm.Controls.Find("lay1", true).OfType<DevExpress.XtraLayout.LayoutControl>().FirstOrDefault();
+            //if (lay1 != null)
+            //{
+            //    layList.Add(lay1);
+            //}
+            DevExpress.XtraLayout.LayoutControl lay2 = parentForm.Controls.Find("lay2", true).OfType<DevExpress.XtraLayout.LayoutControl>().FirstOrDefault();
+            if (lay2 != null)
+            {
+                layList.Add(lay2);
+            }
+            return layList;
+        }
+
+        /// <summary>
+        /// 鏌ユ壘SplitContainerControl
+        /// </summary>
+        /// <returns></returns>
+        private List<DevExpress.XtraEditors.SplitContainerControl> getSpcList()
+        {
+            Form parentForm = this.Parent as Form;
+            List<DevExpress.XtraEditors.SplitContainerControl> spcList = new List<DevExpress.XtraEditors.SplitContainerControl>();
+            DevExpress.XtraEditors.SplitContainerControl spc1 = parentForm.Controls.Find("spc1", true).OfType<DevExpress.XtraEditors.SplitContainerControl>().FirstOrDefault();
+            DevExpress.XtraEditors.SplitContainerControl spc2 = parentForm.Controls.Find("spc2", true).OfType<DevExpress.XtraEditors.SplitContainerControl>().FirstOrDefault();
+            if (spc1 != null)
+            {
+                spcList.Add(spc1);
+            }
+            if (spc2 != null)
+            {
+                spcList.Add(spc2);
+            }
+            return spcList;
+        }
+
+        public void getXmlConfig()
+        {
+            Form parentForm = this.Parent as Form;
+            string _formNamespace = parentForm.GetType().FullName;
+            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = getGvList();
+            List<DevExpress.XtraLayout.LayoutControl> layList = getLayList();
+            List<DevExpress.XtraEditors.SplitContainerControl> spcList=getSpcList();
+           JArray array = new JArray();
+            var _obj = new
+            {
+                formPath = _formNamespace,
+            };
+            try
+            {
+                string strJson = UtilityHelper.HttpPost("", "Fm/GetModel", JsonConvert.SerializeObject(_obj));
+                ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson);
+                if (_rtn.rtnCode > 0)
+                {
+                    JObject _job = JObject.Parse(strJson);
+                    foreach (var a in _job["rtnData"]["list"])
+                    {
+                        //string _id = a["controlId"].ToString();
+                        //string _controlType = a["controlType"].ToString();
+                        //string _controlXml = a["controlXml"].ToString();
+                        //string _splitterPosition = a["splitterPosition"].ToString();
+                        array.Add(a);
+                    }
+                    foreach (GridView gv in gvList)
+                    {
+                        JToken john = array.FirstOrDefault(t => t["controlId"].ToString().ToUpper() == gv.Name.ToString().Trim().ToUpper());
+                        if (john != null)
+                        {
+                            string controlId = john["controlId"].ToString();
+                            string controlXml = john["controlXml"].ToString();
+                            byte[] byteArray = Encoding.UTF8.GetBytes(controlXml);
+                            using (var stream = new MemoryStream(byteArray))
+                            {
+                                gv.RestoreLayoutFromStream(stream);
+                            }
+                        }
+                    }
+                    foreach (LayoutControl lay in layList)
+                    {
+                        JToken john = array.FirstOrDefault(t => t["controlId"].ToString().ToUpper() == lay.Name.ToString().Trim().ToUpper());
+                        if (john != null)
+                        {
+                            string controlId = john["controlId"].ToString();
+                            string controlXml = john["controlXml"].ToString();
+                            byte[] byteArray = Encoding.UTF8.GetBytes(controlXml);
+                            using (var stream = new MemoryStream(byteArray))
+                            {
+                                lay.RestoreLayoutFromStream(stream);
+                            }
+                        }
+                    }
+                    foreach (SplitContainerControl spt in spcList)
+                    {
+                        JToken john = array.FirstOrDefault(t => t["controlId"].ToString().ToUpper() == spt.Name.ToString().Trim().ToUpper());
+                        if (john != null)
+                        {
+                            string controlId = john["controlId"].ToString();
+                            string controlXml = john["controlXml"].ToString();
+                            byte[] byteArray = Encoding.UTF8.GetBytes(controlXml);
+                            using (var stream = new MemoryStream(byteArray))
+                            {
+                                spt.RestoreLayoutFromStream(stream);
+                            }
+                        }
+                    }
+                }
+                else
+                    ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
+            }
+            catch (Exception ex)
+            {
+                ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+            }
+        }
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/UserControl/showLayOut.cs b/DevApp/Gs.DevApp/UserControl/showLayOut.cs
index 5c881d1..8c05336 100644
--- a/DevApp/Gs.DevApp/UserControl/showLayOut.cs
+++ b/DevApp/Gs.DevApp/UserControl/showLayOut.cs
@@ -1,9 +1,16 @@
-锘縰sing DevExpress.XtraGrid.Columns;
+锘縰sing DevExpress.Utils.DirectXPaint;
+using DevExpress.XtraEditors;
+using DevExpress.XtraEditors.TextEditController;
+using DevExpress.XtraGrid.Columns;
 using DevExpress.XtraGrid.Views.Grid;
+using DevExpress.XtraLayout;
+using Gs.DevApp.DevFrm.QC.Models;
 using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using System;
 using System.Collections.Generic;
+using System.IO;
+using System.Text;
 using System.Windows.Forms;
 
 namespace Gs.DevApp.UserControl
@@ -12,14 +19,17 @@
     {
         string formNamespace = "";
         List<GridView> gridViews = new List<GridView>();
-        public showLayOut(string _formNamespace, List<GridView> _gridViews)
+        List<DevExpress.XtraLayout.LayoutControl> layList = new List<DevExpress.XtraLayout.LayoutControl>();
+        List<DevExpress.XtraEditors.SplitContainerControl> spcList = new List<DevExpress.XtraEditors.SplitContainerControl>();
+        public showLayOut(string _formNamespace, List<GridView> _gridViews, List<DevExpress.XtraLayout.LayoutControl> _layList, List<DevExpress.XtraEditors.SplitContainerControl> _spcList)
         {
             formNamespace = _formNamespace;
             gridViews = _gridViews;
+            layList = _layList;
+            spcList = _spcList;
             InitializeComponent();
             this.btnCancel.Click += BtnCancel_Click;
             this.btnSave.Click += BtnSave_Click;
-           
         }
         private void BtnSave_Click(object sender, EventArgs e)
         {
@@ -31,57 +41,74 @@
             Close();
         }
 
-
         private void _setLyout()
         {
-            //  --col1,100,101,102,103,104,105,1,title&col2,100,101,102,103,104,105,1,title
             if (txt_layOut.SelectedIndex <= 0)
             {
                 MsgHelper.Warning("璇烽�夋嫨閫傜敤鑼冨洿锛�");
                 return;
             }
-
-            System.Text.StringBuilder sb = new System.Text.StringBuilder();
+            List<dynamic> xmlList = new List<dynamic>();
             foreach (GridView gridView1 in gridViews)
             {
-                foreach (GridColumn column in gridView1.Columns)
+                System.IO.Stream stream = new System.IO.MemoryStream();
+                gridView1.SaveLayoutToStream(stream);
+                stream.Seek(0, System.IO.SeekOrigin.Begin);
+                StringBuilder sb = new StringBuilder();
+                using (StreamReader reader = new StreamReader(stream))
                 {
-                    string controlId = column.Name;
-                    int controlPosX = 0;
-                    int controlPosY = 0;
-                    int controlWidth = 0;
-                    int controlMinWidth = column.MinWidth;
-                    int controlMaxWidth = column.MaxWidth;
-                    int controlHeight = 0;
-                    int controlVisible = column.Visible == true ? 1 : 0;
-                    string controlTitle = string.IsNullOrEmpty(column.Caption.Trim()) ? "鏈畾涔�" : column.Caption.Trim();
-                    int controlIdx = column.VisibleIndex;
-                    if (sb.Length > 0)
-                        sb.Append("&");
-                    sb.Append(controlId);
-                    sb.Append(",");
-                    sb.Append(controlPosX);
-                    sb.Append(",");
-                    sb.Append(controlPosY);
-                    sb.Append(",");
-                    sb.Append(controlWidth);
-                    sb.Append(",");
-                    sb.Append(controlMinWidth);
-                    sb.Append(",");
-                    sb.Append(controlMaxWidth);
-                    sb.Append(",");
-                    sb.Append(controlHeight);
-                    sb.Append(",");
-                    sb.Append(controlVisible);
-                    sb.Append(",");
-                    sb.Append(controlTitle);
-                    sb.Append(",");
-                    sb.Append(controlIdx);
+                    char[] buffer = new char[4096]; // 缂撳啿鍖哄ぇ灏忔牴鎹渶瑕佽皟鏁�
+                    int numCharsRead;
+                    while ((numCharsRead = reader.Read(buffer, 0, buffer.Length)) > 0)
+                    {
+                        sb.Append(buffer, 0, numCharsRead);
+                    }
                 }
+                xmlList.Add(
+                       new { idType = "gridview", idName = gridView1.Name, idXml = sb.ToString(), splitterPosition="" }
+                 );
+            }
+            foreach (LayoutControl lay1 in layList)
+            {
+                System.IO.Stream stream = new System.IO.MemoryStream();
+                lay1.SaveLayoutToStream(stream);
+                stream.Seek(0, System.IO.SeekOrigin.Begin);
+                StringBuilder sb = new StringBuilder();
+                using (StreamReader reader = new StreamReader(stream))
+                {
+                    char[] buffer = new char[4096]; // 缂撳啿鍖哄ぇ灏忔牴鎹渶瑕佽皟鏁�
+                    int numCharsRead;
+                    while ((numCharsRead = reader.Read(buffer, 0, buffer.Length)) > 0)
+                    {
+                        sb.Append(buffer, 0, numCharsRead);
+                    }
+                }
+                xmlList.Add(
+                       new { idType = "layoutcontrol ", idName = lay1.Name, idXml = sb.ToString(), splitterPosition="" }
+                 );
+            }
+            foreach (SplitContainerControl splt in spcList)
+            {
+                System.IO.Stream stream = new System.IO.MemoryStream();
+                splt.SaveLayoutToStream(stream);
+                stream.Seek(0, System.IO.SeekOrigin.Begin);
+                StringBuilder sb = new StringBuilder();
+                using (StreamReader reader = new StreamReader(stream))
+                {
+                    char[] buffer = new char[4096]; // 缂撳啿鍖哄ぇ灏忔牴鎹渶瑕佽皟鏁�
+                    int numCharsRead;
+                    while ((numCharsRead = reader.Read(buffer, 0, buffer.Length)) > 0)
+                    {
+                        sb.Append(buffer, 0, numCharsRead);
+                    }
+                }
+                xmlList.Add(
+                       new { idType = "splitcontainercontrol ", idName = splt.Name, idXml = sb.ToString(), splitterPosition= splt.SplitterPosition }
+                 );
             }
             var _obj = new
             {
-                layoutLst = sb.ToString(),
+                xmlList = xmlList,
                 formPath = formNamespace,
                 intType = txt_layOut.SelectedIndex,
             };

--
Gitblit v1.9.3