From 89776d6f53dff45b1ac0ee20438f5aa8dab2d0e5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 16 六月 2025 17:13:31 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/UserControl/SelectDeleteBar.resx        |  120 +++++++++
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs                |    2 
 DevApp/Gs.DevApp/Gs.DevApp.csproj                        |    9 
 DevApp/Gs.DevApp/App.config                              |    2 
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs                |   31 ++
 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs            |   12 
 DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs          |  128 +++++++++
 DevApp/Gs.DevApp/UserControl/SelectDeleteBar.Designer.cs |  224 +++++++++++++++++
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs       |  171 +++++++-----
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs                |   31 ++
 10 files changed, 652 insertions(+), 78 deletions(-)

diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config
index 9b8dcaf..f77fd81 100644
--- a/DevApp/Gs.DevApp/App.config
+++ b/DevApp/Gs.DevApp/App.config
@@ -28,7 +28,7 @@
 		</assemblyBinding>
 	</runtime>
     <appSettings>
-		 <add key="WebApiUrl" value="http://localhost:5263/" />
+		 <!--<add key="WebApiUrl" value="http://localhost:5263/" />-->
 		<!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />-->
 		<add key="WebApiUrl" value="http://192.168.1.145:81/" /> 
         <add key="LogPath" value="logs" />
diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
index abe7cd3..b9bd07c 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
@@ -359,12 +359,12 @@
                 txt_qt009.Focus();
                 return;
             }
-            if (string.IsNullOrEmpty(kcCk))
-            {
-                Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鏀舵枡浠撳簱锛�");
-                txt_qt008.Focus();
-                return;
-            }
+            //if (string.IsNullOrEmpty(kcCk))
+            //{
+            //    Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨鏀舵枡浠撳簱锛�");
+            //    txt_qt008.Focus();
+            //    return;
+            //}
             var _obj = new
             {
                 guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs
index a360c01..2af68bd 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs
@@ -68,6 +68,7 @@
             DevExpress.XtraLayout.ColumnDefinition columnDefinition21 = new DevExpress.XtraLayout.ColumnDefinition();
             DevExpress.XtraLayout.ColumnDefinition columnDefinition22 = new DevExpress.XtraLayout.ColumnDefinition();
             DevExpress.XtraLayout.ColumnDefinition columnDefinition23 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition24 = new DevExpress.XtraLayout.ColumnDefinition();
             DevExpress.XtraLayout.RowDefinition rowDefinition11 = new DevExpress.XtraLayout.RowDefinition();
             this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
             this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
@@ -270,6 +271,7 @@
             this.txt_yQty100 = new DevExpress.XtraEditors.TextEdit();
             this.txt_kQty100 = new DevExpress.XtraEditors.TextEdit();
             this.txt_iCount_100 = new DevExpress.XtraEditors.TextEdit();
+            this.btnDeleteBar = new DevExpress.XtraEditors.SimpleButton();
             this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup();
             this.layoutControlItem42 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem43 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -277,6 +279,7 @@
             this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem45 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem47 = new DevExpress.XtraLayout.LayoutControlItem();
             this.gcMx4 = new DevExpress.XtraGrid.GridControl();
             this.gvMx4 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.gridColumn39 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -439,6 +442,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem45)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem47)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gcMx4)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gvMx4)).BeginInit();
             this.xtraTabPage5.SuspendLayout();
@@ -1989,7 +1993,6 @@
             // 
             this.splitMx99.Panel2.Controls.Add(this.gcMx2);
             this.splitMx99.Panel2.Text = "Panel2";
-            this.splitMx99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
             this.splitMx99.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
             this.splitMx99.Size = new System.Drawing.Size(1648, 481);
             this.splitMx99.SplitterPosition = 83;
@@ -2010,7 +2013,7 @@
             this.layoutMx99.Name = "layoutMx99";
             this.layoutMx99.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(312, 530, 812, 500);
             this.layoutMx99.Root = this.layoutControlGroup1;
-            this.layoutMx99.Size = new System.Drawing.Size(0, 0);
+            this.layoutMx99.Size = new System.Drawing.Size(1648, 83);
             this.layoutMx99.TabIndex = 0;
             this.layoutMx99.Text = "layoutControl1";
             // 
@@ -2018,11 +2021,11 @@
             // 
             this.layShuLiang.Controls.Add(this.txt_iCount_1);
             this.layShuLiang.Controls.Add(this.txt_yuliang_1);
-            this.layShuLiang.Location = new System.Drawing.Point(654, 44);
+            this.layShuLiang.Location = new System.Drawing.Point(802, 44);
             this.layShuLiang.Name = "layShuLiang";
             this.layShuLiang.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(133, 518, 812, 500);
             this.layShuLiang.Root = this.layoutControlGroup3;
-            this.layShuLiang.Size = new System.Drawing.Size(317, 28);
+            this.layShuLiang.Size = new System.Drawing.Size(391, 28);
             this.layShuLiang.TabIndex = 475;
             this.layShuLiang.Text = "dataLayoutControl1";
             // 
@@ -2031,16 +2034,16 @@
             this.txt_iCount_1.Location = new System.Drawing.Point(89, 2);
             this.txt_iCount_1.Name = "txt_iCount_1";
             this.txt_iCount_1.Properties.ReadOnly = true;
-            this.txt_iCount_1.Size = new System.Drawing.Size(67, 24);
+            this.txt_iCount_1.Size = new System.Drawing.Size(104, 24);
             this.txt_iCount_1.StyleController = this.layShuLiang;
             this.txt_iCount_1.TabIndex = 5;
             // 
             // txt_yuliang_1
             // 
-            this.txt_yuliang_1.Location = new System.Drawing.Point(247, 2);
+            this.txt_yuliang_1.Location = new System.Drawing.Point(284, 2);
             this.txt_yuliang_1.Name = "txt_yuliang_1";
             this.txt_yuliang_1.Properties.ReadOnly = true;
-            this.txt_yuliang_1.Size = new System.Drawing.Size(68, 24);
+            this.txt_yuliang_1.Size = new System.Drawing.Size(105, 24);
             this.txt_yuliang_1.StyleController = this.layShuLiang;
             this.txt_yuliang_1.TabIndex = 6;
             // 
@@ -2065,7 +2068,7 @@
             this.layoutControlGroup3.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
             rowDefinition7});
             this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            this.layoutControlGroup3.Size = new System.Drawing.Size(317, 28);
+            this.layoutControlGroup3.Size = new System.Drawing.Size(391, 28);
             this.layoutControlGroup3.TextVisible = false;
             // 
             // layoutControlItem25
@@ -2073,7 +2076,7 @@
             this.layoutControlItem25.Control = this.txt_iCount_1;
             this.layoutControlItem25.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem25.Name = "layoutControlItem25";
-            this.layoutControlItem25.Size = new System.Drawing.Size(158, 28);
+            this.layoutControlItem25.Size = new System.Drawing.Size(195, 28);
             this.layoutControlItem25.Text = "鎵撳嵃鏁村紶鏁�";
             this.layoutControlItem25.TextSize = new System.Drawing.Size(75, 18);
             // 
@@ -2081,16 +2084,16 @@
             // 
             this.layoutControlItem39.Control = this.txt_yuliang_1;
             this.layoutControlItem39.CustomizationFormText = "鎵撳嵃浣欐暟";
-            this.layoutControlItem39.Location = new System.Drawing.Point(158, 0);
+            this.layoutControlItem39.Location = new System.Drawing.Point(195, 0);
             this.layoutControlItem39.Name = "layoutControlItem39";
             this.layoutControlItem39.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem39.Size = new System.Drawing.Size(159, 28);
+            this.layoutControlItem39.Size = new System.Drawing.Size(196, 28);
             this.layoutControlItem39.Text = "鎵撳嵃浣欐暟";
             this.layoutControlItem39.TextSize = new System.Drawing.Size(75, 18);
             // 
             // radOut
             // 
-            this.radOut.Location = new System.Drawing.Point(976, 10);
+            this.radOut.Location = new System.Drawing.Point(1198, 10);
             this.radOut.Margin = new System.Windows.Forms.Padding(0);
             this.radOut.Name = "radOut";
             this.radOut.Properties.ItemHorzAlignment = DevExpress.XtraEditors.RadioItemHorzAlignment.Near;
@@ -2105,29 +2108,29 @@
             // ucBtnPrint1
             // 
             this.ucBtnPrint1.guidKey = null;
-            this.ucBtnPrint1.Location = new System.Drawing.Point(974, 42);
+            this.ucBtnPrint1.Location = new System.Drawing.Point(1196, 42);
             this.ucBtnPrint1.Margin = new System.Windows.Forms.Padding(0);
             this.ucBtnPrint1.Name = "ucBtnPrint1";
             this.ucBtnPrint1.rptParameter = null;
-            this.ucBtnPrint1.Size = new System.Drawing.Size(319, 32);
+            this.ucBtnPrint1.Size = new System.Drawing.Size(393, 32);
             this.ucBtnPrint1.TabIndex = 464;
             // 
             // txt_psnQty_1
             // 
-            this.txt_psnQty_1.Location = new System.Drawing.Point(741, 12);
+            this.txt_psnQty_1.Location = new System.Drawing.Point(889, 12);
             this.txt_psnQty_1.Name = "txt_psnQty_1";
             this.txt_psnQty_1.Properties.Appearance.Options.UseFont = true;
-            this.txt_psnQty_1.Size = new System.Drawing.Size(230, 24);
+            this.txt_psnQty_1.Size = new System.Drawing.Size(304, 24);
             this.txt_psnQty_1.StyleController = this.layoutMx99;
             this.txt_psnQty_1.TabIndex = 330;
             this.txt_psnQty_1.Tag = "readOnly-1";
             // 
             // txt_printRemark
             // 
-            this.txt_printRemark.Location = new System.Drawing.Point(420, 44);
+            this.txt_printRemark.Location = new System.Drawing.Point(494, 44);
             this.txt_printRemark.Name = "txt_printRemark";
             this.txt_printRemark.Properties.Appearance.Options.UseFont = true;
-            this.txt_printRemark.Size = new System.Drawing.Size(230, 24);
+            this.txt_printRemark.Size = new System.Drawing.Size(304, 24);
             this.txt_printRemark.StyleController = this.layoutMx99;
             this.txt_printRemark.TabIndex = 334;
             this.txt_printRemark.Tag = "readOnly-1";
@@ -2135,11 +2138,11 @@
             // txt_kQty
             // 
             this.txt_kQty.EditValue = "";
-            this.txt_kQty.Location = new System.Drawing.Point(420, 12);
+            this.txt_kQty.Location = new System.Drawing.Point(494, 12);
             this.txt_kQty.Name = "txt_kQty";
             this.txt_kQty.Properties.Appearance.Options.UseFont = true;
             this.txt_kQty.Properties.ReadOnly = true;
-            this.txt_kQty.Size = new System.Drawing.Size(230, 24);
+            this.txt_kQty.Size = new System.Drawing.Size(304, 24);
             this.txt_kQty.StyleController = this.layoutMx99;
             this.txt_kQty.TabIndex = 472;
             this.txt_kQty.Tag = "readonly";
@@ -2150,7 +2153,7 @@
             this.txt_yQty.Name = "txt_yQty";
             this.txt_yQty.Properties.Appearance.Options.UseFont = true;
             this.txt_yQty.Properties.ReadOnly = true;
-            this.txt_yQty.Size = new System.Drawing.Size(230, 24);
+            this.txt_yQty.Size = new System.Drawing.Size(304, 24);
             this.txt_yQty.StyleController = this.layoutMx99;
             this.txt_yQty.TabIndex = 470;
             this.txt_yQty.Tag = "readonly";
@@ -2160,7 +2163,7 @@
             this.txt_zQty.Location = new System.Drawing.Point(99, 12);
             this.txt_zQty.Name = "txt_zQty";
             this.txt_zQty.Properties.ReadOnly = true;
-            this.txt_zQty.Size = new System.Drawing.Size(230, 24);
+            this.txt_zQty.Size = new System.Drawing.Size(304, 24);
             this.txt_zQty.StyleController = this.layoutMx99;
             this.txt_zQty.TabIndex = 474;
             // 
@@ -2188,7 +2191,7 @@
             columnDefinition10.SizeType = System.Windows.Forms.SizeType.Percent;
             columnDefinition10.Width = 100D;
             columnDefinition11.SizeType = System.Windows.Forms.SizeType.AutoSize;
-            columnDefinition11.Width = 323D;
+            columnDefinition11.Width = 27D;
             this.layoutControlGroup1.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
             columnDefinition7,
             columnDefinition8,
@@ -2210,23 +2213,23 @@
             this.layoutControlItem23.AppearanceItemCaption.Options.UseTextOptions = true;
             this.layoutControlItem23.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             this.layoutControlItem23.Control = this.txt_kQty;
-            this.layoutControlItem23.Location = new System.Drawing.Point(321, 0);
+            this.layoutControlItem23.Location = new System.Drawing.Point(395, 0);
             this.layoutControlItem23.Name = "layoutControlItem23";
             this.layoutControlItem23.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem23.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem23.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem23.Text = "鍙墦鍗版暟閲�";
             this.layoutControlItem23.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem35
             // 
             this.layoutControlItem35.Control = this.radOut;
-            this.layoutControlItem35.Location = new System.Drawing.Point(963, 0);
+            this.layoutControlItem35.Location = new System.Drawing.Point(1185, 0);
             this.layoutControlItem35.MaxSize = new System.Drawing.Size(240, 28);
             this.layoutControlItem35.MinSize = new System.Drawing.Size(240, 28);
             this.layoutControlItem35.Name = "layoutControlItem35";
             this.layoutControlItem35.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem35.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 0, 0, 0);
-            this.layoutControlItem35.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem35.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem35.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem35.Text = "鑷姩璁$畻";
             this.layoutControlItem35.TextSize = new System.Drawing.Size(0, 0);
@@ -2237,12 +2240,12 @@
             this.layoutControlItem26.AppearanceItemCaption.Options.UseTextOptions = true;
             this.layoutControlItem26.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             this.layoutControlItem26.Control = this.ucBtnPrint1;
-            this.layoutControlItem26.Location = new System.Drawing.Point(963, 32);
+            this.layoutControlItem26.Location = new System.Drawing.Point(1185, 32);
             this.layoutControlItem26.Name = "layoutControlItem26";
             this.layoutControlItem26.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem26.OptionsTableLayoutItem.RowIndex = 1;
             this.layoutControlItem26.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 0, 0);
-            this.layoutControlItem26.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem26.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem26.Text = "鎵樻澘鎵撳嵃";
             this.layoutControlItem26.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem26.TextVisible = false;
@@ -2255,18 +2258,18 @@
             this.layoutControlItem22.Location = new System.Drawing.Point(0, 32);
             this.layoutControlItem22.Name = "layoutControlItem22";
             this.layoutControlItem22.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem22.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem22.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem22.Text = "宸叉墦鍗版暟閲�";
             this.layoutControlItem22.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem21
             // 
             this.layoutControlItem21.Control = this.txt_printRemark;
-            this.layoutControlItem21.Location = new System.Drawing.Point(321, 32);
+            this.layoutControlItem21.Location = new System.Drawing.Point(395, 32);
             this.layoutControlItem21.Name = "layoutControlItem21";
             this.layoutControlItem21.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem21.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem21.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem21.Text = "鎵撳嵃澶囨敞";
             this.layoutControlItem21.TextSize = new System.Drawing.Size(75, 18);
             // 
@@ -2276,21 +2279,21 @@
             this.layoutControlItem24.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             this.layoutControlItem24.Control = this.txt_psnQty_1;
             this.layoutControlItem24.CustomizationFormText = "鍐呭寘瑁呮暟閲�";
-            this.layoutControlItem24.Location = new System.Drawing.Point(642, 0);
+            this.layoutControlItem24.Location = new System.Drawing.Point(790, 0);
             this.layoutControlItem24.Name = "layoutControlItem24";
             this.layoutControlItem24.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem24.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem24.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem24.Text = "鍐呭寘瑁呮暟閲�";
             this.layoutControlItem24.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem38
             // 
             this.layoutControlItem38.Control = this.layShuLiang;
-            this.layoutControlItem38.Location = new System.Drawing.Point(642, 32);
+            this.layoutControlItem38.Location = new System.Drawing.Point(790, 32);
             this.layoutControlItem38.Name = "layoutControlItem38";
             this.layoutControlItem38.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem38.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem38.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem38.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem38.Text = "鎵撳嵃鏁伴噺";
             this.layoutControlItem38.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem38.TextVisible = false;
@@ -2300,7 +2303,7 @@
             this.layoutControlItem36.Control = this.txt_zQty;
             this.layoutControlItem36.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem36.Name = "layoutControlItem36";
-            this.layoutControlItem36.Size = new System.Drawing.Size(321, 32);
+            this.layoutControlItem36.Size = new System.Drawing.Size(395, 32);
             this.layoutControlItem36.Text = "宸ュ崟鎬婚噺";
             this.layoutControlItem36.TextSize = new System.Drawing.Size(75, 18);
             // 
@@ -2312,7 +2315,7 @@
             this.gcMx2.Name = "gcMx2";
             this.gcMx2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
             this.rptChongDa});
-            this.gcMx2.Size = new System.Drawing.Size(1648, 481);
+            this.gcMx2.Size = new System.Drawing.Size(1648, 386);
             this.gcMx2.TabIndex = 0;
             this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
             this.gvMx2});
@@ -2534,7 +2537,6 @@
             // 
             this.splitMx98.Panel2.Controls.Add(this.gcMx3);
             this.splitMx98.Panel2.Text = "Panel2";
-            this.splitMx98.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
             this.splitMx98.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
             this.splitMx98.Size = new System.Drawing.Size(1648, 481);
             this.splitMx98.SplitterPosition = 52;
@@ -2553,7 +2555,7 @@
             this.layoutMx98.Name = "layoutMx98";
             this.layoutMx98.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(96, 558, 812, 500);
             this.layoutMx98.Root = this.layoutControlGroup2;
-            this.layoutMx98.Size = new System.Drawing.Size(0, 0);
+            this.layoutMx98.Size = new System.Drawing.Size(1648, 52);
             this.layoutMx98.TabIndex = 0;
             this.layoutMx98.Text = "layoutControl1";
             // 
@@ -2716,7 +2718,7 @@
             this.gcMx3.Location = new System.Drawing.Point(0, 0);
             this.gcMx3.MainView = this.gvMx3;
             this.gcMx3.Name = "gcMx3";
-            this.gcMx3.Size = new System.Drawing.Size(1648, 481);
+            this.gcMx3.Size = new System.Drawing.Size(1648, 417);
             this.gcMx3.TabIndex = 1;
             this.gcMx3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
             this.gvMx3});
@@ -2858,7 +2860,6 @@
             // 
             this.splitMx100.Panel2.Controls.Add(this.gcMx4);
             this.splitMx100.Panel2.Text = "Panel2";
-            this.splitMx100.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
             this.splitMx100.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
             this.splitMx100.Size = new System.Drawing.Size(1648, 481);
             this.splitMx100.SplitterPosition = 52;
@@ -2872,31 +2873,32 @@
             this.layMx100.Controls.Add(this.txt_yQty100);
             this.layMx100.Controls.Add(this.txt_kQty100);
             this.layMx100.Controls.Add(this.txt_iCount_100);
+            this.layMx100.Controls.Add(this.btnDeleteBar);
             this.layMx100.Dock = System.Windows.Forms.DockStyle.Fill;
             this.layMx100.Location = new System.Drawing.Point(0, 0);
             this.layMx100.Name = "layMx100";
             this.layMx100.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(359, 336, 812, 500);
             this.layMx100.Root = this.layoutControlGroup4;
-            this.layMx100.Size = new System.Drawing.Size(0, 0);
+            this.layMx100.Size = new System.Drawing.Size(1648, 52);
             this.layMx100.TabIndex = 2;
             this.layMx100.Text = "dataLayoutControl1";
             // 
             // ucBtnPrint100
             // 
             this.ucBtnPrint100.guidKey = null;
-            this.ucBtnPrint100.Location = new System.Drawing.Point(1136, 12);
+            this.ucBtnPrint100.Location = new System.Drawing.Point(1169, 12);
             this.ucBtnPrint100.Margin = new System.Windows.Forms.Padding(0);
             this.ucBtnPrint100.Name = "ucBtnPrint100";
             this.ucBtnPrint100.rptParameter = null;
-            this.ucBtnPrint100.Size = new System.Drawing.Size(279, 31);
+            this.ucBtnPrint100.Size = new System.Drawing.Size(146, 31);
             this.ucBtnPrint100.TabIndex = 0;
             // 
             // btnIn
             // 
             this.btnIn.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.exporttoxls_16x16;
-            this.btnIn.Location = new System.Drawing.Point(1419, 12);
+            this.btnIn.Location = new System.Drawing.Point(1319, 12);
             this.btnIn.Name = "btnIn";
-            this.btnIn.Size = new System.Drawing.Size(196, 27);
+            this.btnIn.Size = new System.Drawing.Size(146, 27);
             this.btnIn.StyleController = this.layMx100;
             this.btnIn.TabIndex = 1;
             this.btnIn.Text = "瀵煎叆鏉$爜";
@@ -2906,35 +2908,45 @@
             this.txt_zQty100.Location = new System.Drawing.Point(114, 12);
             this.txt_zQty100.Name = "txt_zQty100";
             this.txt_zQty100.Properties.ReadOnly = true;
-            this.txt_zQty100.Size = new System.Drawing.Size(175, 24);
+            this.txt_zQty100.Size = new System.Drawing.Size(183, 24);
             this.txt_zQty100.StyleController = this.layMx100;
             this.txt_zQty100.TabIndex = 4;
             // 
             // txt_yQty100
             // 
-            this.txt_yQty100.Location = new System.Drawing.Point(395, 12);
+            this.txt_yQty100.Location = new System.Drawing.Point(403, 12);
             this.txt_yQty100.Name = "txt_yQty100";
             this.txt_yQty100.Properties.ReadOnly = true;
-            this.txt_yQty100.Size = new System.Drawing.Size(175, 24);
+            this.txt_yQty100.Size = new System.Drawing.Size(183, 24);
             this.txt_yQty100.StyleController = this.layMx100;
             this.txt_yQty100.TabIndex = 5;
             // 
             // txt_kQty100
             // 
-            this.txt_kQty100.Location = new System.Drawing.Point(676, 12);
+            this.txt_kQty100.Location = new System.Drawing.Point(692, 12);
             this.txt_kQty100.Name = "txt_kQty100";
             this.txt_kQty100.Properties.ReadOnly = true;
-            this.txt_kQty100.Size = new System.Drawing.Size(175, 24);
+            this.txt_kQty100.Size = new System.Drawing.Size(183, 24);
             this.txt_kQty100.StyleController = this.layMx100;
             this.txt_kQty100.TabIndex = 6;
             // 
             // txt_iCount_100
             // 
-            this.txt_iCount_100.Location = new System.Drawing.Point(957, 12);
+            this.txt_iCount_100.Location = new System.Drawing.Point(981, 12);
             this.txt_iCount_100.Name = "txt_iCount_100";
-            this.txt_iCount_100.Size = new System.Drawing.Size(175, 24);
+            this.txt_iCount_100.Size = new System.Drawing.Size(184, 24);
             this.txt_iCount_100.StyleController = this.layMx100;
             this.txt_iCount_100.TabIndex = 7;
+            // 
+            // btnDeleteBar
+            // 
+            this.btnDeleteBar.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
+            this.btnDeleteBar.Location = new System.Drawing.Point(1469, 12);
+            this.btnDeleteBar.Name = "btnDeleteBar";
+            this.btnDeleteBar.Size = new System.Drawing.Size(146, 27);
+            this.btnDeleteBar.StyleController = this.layMx100;
+            this.btnDeleteBar.TabIndex = 8;
+            this.btnDeleteBar.Text = "鎵归噺鍒犻櫎鏉$爜";
             // 
             // layoutControlGroup4
             // 
@@ -2946,7 +2958,8 @@
             this.layoutControlItem44,
             this.layoutControlItem2,
             this.layoutControlItem10,
-            this.layoutControlItem45});
+            this.layoutControlItem45,
+            this.layoutControlItem47});
             this.layoutControlGroup4.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
             this.layoutControlGroup4.Name = "Root";
             columnDefinition18.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -2957,17 +2970,20 @@
             columnDefinition20.Width = 100D;
             columnDefinition21.SizeType = System.Windows.Forms.SizeType.Percent;
             columnDefinition21.Width = 100D;
-            columnDefinition22.SizeType = System.Windows.Forms.SizeType.Percent;
-            columnDefinition22.Width = 100D;
+            columnDefinition22.SizeType = System.Windows.Forms.SizeType.Absolute;
+            columnDefinition22.Width = 150D;
             columnDefinition23.SizeType = System.Windows.Forms.SizeType.Absolute;
-            columnDefinition23.Width = 200D;
+            columnDefinition23.Width = 150D;
+            columnDefinition24.SizeType = System.Windows.Forms.SizeType.Absolute;
+            columnDefinition24.Width = 150D;
             this.layoutControlGroup4.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
             columnDefinition18,
             columnDefinition19,
             columnDefinition20,
             columnDefinition21,
             columnDefinition22,
-            columnDefinition23});
+            columnDefinition23,
+            columnDefinition24});
             rowDefinition11.Height = 100D;
             rowDefinition11.SizeType = System.Windows.Forms.SizeType.Percent;
             this.layoutControlGroup4.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
@@ -2980,17 +2996,17 @@
             this.layoutControlItem42.Control = this.txt_zQty100;
             this.layoutControlItem42.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem42.Name = "layoutControlItem42";
-            this.layoutControlItem42.Size = new System.Drawing.Size(281, 35);
+            this.layoutControlItem42.Size = new System.Drawing.Size(289, 35);
             this.layoutControlItem42.Text = "宸ュ崟鎬婚噺";
             this.layoutControlItem42.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem43
             // 
             this.layoutControlItem43.Control = this.txt_yQty100;
-            this.layoutControlItem43.Location = new System.Drawing.Point(281, 0);
+            this.layoutControlItem43.Location = new System.Drawing.Point(289, 0);
             this.layoutControlItem43.Name = "layoutControlItem43";
             this.layoutControlItem43.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem43.Size = new System.Drawing.Size(281, 35);
+            this.layoutControlItem43.Size = new System.Drawing.Size(289, 35);
             this.layoutControlItem43.Text = "宸叉墦鍗版暟";
             this.layoutControlItem43.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -2998,20 +3014,20 @@
             // 
             this.layoutControlItem44.Control = this.txt_kQty100;
             this.layoutControlItem44.CustomizationFormText = "鍙墦鍗版暟";
-            this.layoutControlItem44.Location = new System.Drawing.Point(562, 0);
+            this.layoutControlItem44.Location = new System.Drawing.Point(578, 0);
             this.layoutControlItem44.Name = "layoutControlItem44";
             this.layoutControlItem44.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem44.Size = new System.Drawing.Size(281, 35);
+            this.layoutControlItem44.Size = new System.Drawing.Size(289, 35);
             this.layoutControlItem44.Text = "鍙墦鍗版暟瀛�";
             this.layoutControlItem44.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem2
             // 
             this.layoutControlItem2.Control = this.btnIn;
-            this.layoutControlItem2.Location = new System.Drawing.Point(1407, 0);
+            this.layoutControlItem2.Location = new System.Drawing.Point(1307, 0);
             this.layoutControlItem2.Name = "layoutControlItem2";
             this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 5;
-            this.layoutControlItem2.Size = new System.Drawing.Size(200, 35);
+            this.layoutControlItem2.Size = new System.Drawing.Size(150, 35);
             this.layoutControlItem2.Text = "瀵煎叆鎸夐挳";
             this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem2.TextVisible = false;
@@ -3019,10 +3035,10 @@
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.ucBtnPrint100;
-            this.layoutControlItem10.Location = new System.Drawing.Point(1124, 0);
+            this.layoutControlItem10.Location = new System.Drawing.Point(1157, 0);
             this.layoutControlItem10.Name = "layoutControlItem10";
             this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 4;
-            this.layoutControlItem10.Size = new System.Drawing.Size(283, 35);
+            this.layoutControlItem10.Size = new System.Drawing.Size(150, 35);
             this.layoutControlItem10.Text = "鎵撳嵃鎸夐挳";
             this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem10.TextVisible = false;
@@ -3030,12 +3046,22 @@
             // layoutControlItem45
             // 
             this.layoutControlItem45.Control = this.txt_iCount_100;
-            this.layoutControlItem45.Location = new System.Drawing.Point(843, 0);
+            this.layoutControlItem45.Location = new System.Drawing.Point(867, 0);
             this.layoutControlItem45.Name = "layoutControlItem45";
             this.layoutControlItem45.OptionsTableLayoutItem.ColumnIndex = 3;
-            this.layoutControlItem45.Size = new System.Drawing.Size(281, 35);
+            this.layoutControlItem45.Size = new System.Drawing.Size(290, 35);
             this.layoutControlItem45.Text = "鏈鎵撳嵃寮犳暟";
             this.layoutControlItem45.TextSize = new System.Drawing.Size(90, 18);
+            // 
+            // layoutControlItem47
+            // 
+            this.layoutControlItem47.Control = this.btnDeleteBar;
+            this.layoutControlItem47.Location = new System.Drawing.Point(1457, 0);
+            this.layoutControlItem47.Name = "layoutControlItem47";
+            this.layoutControlItem47.OptionsTableLayoutItem.ColumnIndex = 6;
+            this.layoutControlItem47.Size = new System.Drawing.Size(150, 35);
+            this.layoutControlItem47.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem47.TextVisible = false;
             // 
             // gcMx4
             // 
@@ -3043,7 +3069,7 @@
             this.gcMx4.Location = new System.Drawing.Point(0, 0);
             this.gcMx4.MainView = this.gvMx4;
             this.gcMx4.Name = "gcMx4";
-            this.gcMx4.Size = new System.Drawing.Size(1648, 481);
+            this.gcMx4.Size = new System.Drawing.Size(1648, 417);
             this.gcMx4.TabIndex = 2;
             this.gcMx4.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
             this.gvMx4});
@@ -3338,6 +3364,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem45)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem47)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gcMx4)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gvMx4)).EndInit();
             this.xtraTabPage5.ResumeLayout(false);
@@ -3566,5 +3593,7 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem46;
         private DevExpress.XtraEditors.SplitContainerControl splitMx98;
         private DevExpress.XtraEditors.SplitContainerControl splitMx100;
+        private DevExpress.XtraEditors.SimpleButton btnDeleteBar;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem47;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
index 02ee54e..4e45ee8 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.cs
@@ -20,6 +20,9 @@
         public Frm_Womdaa()
         {
             InitializeComponent();
+            this.splitMx99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
+            this.splitMx98.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
+            this.splitMx100.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
             this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
             //  this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick;
             this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
@@ -123,6 +126,34 @@
                 };
                 frm.ShowDialog();
             };
+            //鎵归噺鍒犻櫎鏉$爜
+            this.btnDeleteBar.Click += (s, e) =>
+            {
+                string rowGuid, rowName;
+                (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+                    lbGuid, txt_daa001, gridView1, "daa001");
+                if (string.IsNullOrEmpty(rowGuid))
+                {
+                    MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勬暟鎹紒");
+                    return;
+                }
+                SelectDeleteBar frm = new SelectDeleteBar(rowGuid,"鍚庣洊鐮�");
+                //璧嬪�肩粰鏄庣粏琛�
+                frm.UpdateParent += (ss, ee) =>
+                {
+                    try
+                    {
+                        string strMsg = ee.StringSingle;
+                        if(strMsg=="1")
+                            getModel(rowGuid);
+                    }
+                    catch (Exception ex)
+                    {
+                        MessageBox.Show(ex.Message);
+                    }
+                };
+                frm.ShowDialog();
+            };
         }
 
         private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
index c46f33b..eee26ec 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -296,6 +296,8 @@
             gridViews.Add(gvMx1);
             UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews);
             Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
+            //澧炲姞鏃讹紝榛樿缁勭粐
+            string deftOrg = UtilityHelper.GetFirstOrg(txt_erpSczz);
         }
         /// <summary>
         /// 淇濆瓨浜嬩欢
diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj
index 431e6c8..eff3baa 100644
--- a/DevApp/Gs.DevApp/Gs.DevApp.csproj
+++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -914,6 +914,12 @@
     <Compile Include="UserControl\SelectCk.Designer.cs">
       <DependentUpon>SelectCk.cs</DependentUpon>
     </Compile>
+    <Compile Include="UserControl\SelectDeleteBar.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="UserControl\SelectDeleteBar.Designer.cs">
+      <DependentUpon>SelectDeleteBar.cs</DependentUpon>
+    </Compile>
     <Compile Include="UserControl\UcDictionaryComBox.cs">
       <SubType>UserControl</SubType>
     </Compile>
@@ -1625,6 +1631,9 @@
     <EmbeddedResource Include="UserControl\SelectCk.resx">
       <DependentUpon>SelectCk.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="UserControl\SelectDeleteBar.resx">
+      <DependentUpon>SelectDeleteBar.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="UserControl\UcDictionaryComBox.resx">
       <DependentUpon>UcDictionaryComBox.cs</DependentUpon>
     </EmbeddedResource>
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 8413ea2..aff56f1 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -2,6 +2,7 @@
 using DevExpress.XtraEditors;
 using DevExpress.XtraEditors.Controls;
 using DevExpress.XtraEditors.Drawing;
+using DevExpress.XtraEditors.Repository;
 using DevExpress.XtraGrid;
 using DevExpress.XtraGrid.Columns;
 using DevExpress.XtraGrid.Menu;
@@ -163,6 +164,7 @@
             gc.BindingContext = new BindingContext();
             gc.DataSource = dt;
             gc.ForceInitialize();
+            gv.BestFitColumns();
         }
 
         /// <summary>
@@ -2329,6 +2331,32 @@
             }
         }
         #endregion
+
+
+        //璇诲彇榛樿缁勭粐
+        public static string GetFirstOrg(UserControl.UcLookOrg txt_erpSczz)
+        {
+            string userGuid = LoginInfoModel.CurrentUser.LoginUserGuid;
+            var pgq = new PageQueryModel(1, 999999, "FID", "asc", userGuid, " and IS_STATUS=1");
+            var json = JsonConvert.SerializeObject(pgq);
+            try
+            {
+                var strReturn = UtilityHelper.HttpPost("", "Organization/GetListPage", json);
+                var _obj = UtilityHelper.ReturnToDynamic(strReturn);
+                string _extendText = _obj.rtnData.extendText;
+                string[] _dftOrg = _extendText.Split(',');
+                if (_dftOrg.Length > 0)
+                {
+                    txt_erpSczz.SetIdOrCode(_dftOrg[0].Trim());
+                    return _dftOrg[0].Trim();
+                }
+                return "";
+            }
+            catch (Exception ex)
+            {
+                return "";
+            }
+        }
     }
 
     /// <summary>
@@ -2410,4 +2438,7 @@
         ipqc棣栨,
         fqc
     }
+
+
+
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.Designer.cs b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.Designer.cs
new file mode 100644
index 0000000..a8d2fbd
--- /dev/null
+++ b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.Designer.cs
@@ -0,0 +1,224 @@
+锘縩amespace Gs.DevApp.UserControl
+{
+    partial class SelectDeleteBar
+    {
+        /// <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.panelControl2 = new DevExpress.XtraEditors.PanelControl();
+            this.gcMain = new DevExpress.XtraGrid.GridControl();
+            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_supplierItemName = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gv_supplierItemCode = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
+            this.btnDelete = new DevExpress.XtraEditors.SimpleButton();
+            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
+            this.panelControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
+            this.panelControl3.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panelControl2
+            // 
+            this.panelControl2.Controls.Add(this.gcMain);
+            this.panelControl2.Controls.Add(this.panelControl3);
+            this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panelControl2.Location = new System.Drawing.Point(0, 0);
+            this.panelControl2.Name = "panelControl2";
+            this.panelControl2.Size = new System.Drawing.Size(838, 545);
+            this.panelControl2.TabIndex = 4;
+            // 
+            // gcMain
+            // 
+            this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gcMain.Location = new System.Drawing.Point(2, 40);
+            this.gcMain.MainView = this.gridView1;
+            this.gcMain.Name = "gcMain";
+            this.gcMain.Size = new System.Drawing.Size(834, 503);
+            this.gcMain.TabIndex = 2;
+            this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+            this.gridView1});
+            // 
+            // gridView1
+            // 
+            this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
+            this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
+            this.gridView1.Appearance.Row.Options.UseFont = true;
+            this.gridView1.ColumnPanelRowHeight = 50;
+            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.colChkInt,
+            this.gv_guid,
+            this.gv_billNo,
+            this.gv_supplierItemName,
+            this.gridColumn3,
+            this.gv_supplierItemCode});
+            this.gridView1.GridControl = this.gcMain;
+            this.gridView1.IndicatorWidth = 50;
+            this.gridView1.Name = "gridView1";
+            this.gridView1.OptionsFind.ShowSearchNavButtons = false;
+            this.gridView1.OptionsSelection.CheckBoxSelectorColumnWidth = 60;
+            this.gridView1.OptionsView.ShowAutoFilterRow = true;
+            this.gridView1.OptionsView.ShowGroupPanel = false;
+            // 
+            // colChkInt
+            // 
+            this.colChkInt.Caption = ".";
+            this.colChkInt.FieldName = "chkInt";
+            this.colChkInt.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left;
+            this.colChkInt.MinWidth = 25;
+            this.colChkInt.Name = "colChkInt";
+            this.colChkInt.Visible = true;
+            this.colChkInt.VisibleIndex = 0;
+            this.colChkInt.Width = 94;
+            // 
+            // gv_guid
+            // 
+            this.gv_guid.AppearanceCell.Options.UseFont = true;
+            this.gv_guid.Caption = "涓婚敭涓嶈兘鍒犻櫎";
+            this.gv_guid.FieldName = "guid";
+            this.gv_guid.MinWidth = 50;
+            this.gv_guid.Name = "gv_guid";
+            this.gv_guid.OptionsColumn.AllowEdit = false;
+            this.gv_guid.OptionsColumn.ReadOnly = true;
+            this.gv_guid.Tag = "query_a.guid";
+            this.gv_guid.Width = 94;
+            // 
+            // gv_billNo
+            // 
+            this.gv_billNo.AppearanceCell.Options.UseFont = true;
+            this.gv_billNo.Caption = "涓氬姟鍗曞彿";
+            this.gv_billNo.FieldName = "hNo";
+            this.gv_billNo.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left;
+            this.gv_billNo.MinWidth = 10;
+            this.gv_billNo.Name = "gv_billNo";
+            this.gv_billNo.OptionsColumn.AllowEdit = false;
+            this.gv_billNo.OptionsColumn.ReadOnly = true;
+            this.gv_billNo.Tag = "query_a.BILL_NO";
+            this.gv_billNo.Visible = true;
+            this.gv_billNo.VisibleIndex = 1;
+            this.gv_billNo.Width = 150;
+            // 
+            // gv_supplierItemName
+            // 
+            this.gv_supplierItemName.AppearanceCell.Options.UseFont = true;
+            this.gv_supplierItemName.Caption = "鏉$爜";
+            this.gv_supplierItemName.FieldName = "itemBarcode";
+            this.gv_supplierItemName.MinWidth = 10;
+            this.gv_supplierItemName.Name = "gv_supplierItemName";
+            this.gv_supplierItemName.OptionsColumn.AllowEdit = false;
+            this.gv_supplierItemName.OptionsColumn.ReadOnly = true;
+            this.gv_supplierItemName.Tag = "query_a.SUPPLIER_ITEM_NAME";
+            this.gv_supplierItemName.Visible = true;
+            this.gv_supplierItemName.VisibleIndex = 4;
+            this.gv_supplierItemName.Width = 276;
+            // 
+            // gridColumn3
+            // 
+            this.gridColumn3.Caption = "寤虹珛鏃堕棿";
+            this.gridColumn3.FieldName = "createDate";
+            this.gridColumn3.MinWidth = 10;
+            this.gridColumn3.Name = "gridColumn3";
+            this.gridColumn3.OptionsColumn.ReadOnly = true;
+            this.gridColumn3.Visible = true;
+            this.gridColumn3.VisibleIndex = 2;
+            this.gridColumn3.Width = 275;
+            // 
+            // gv_supplierItemCode
+            // 
+            this.gv_supplierItemCode.AppearanceCell.Options.UseFont = true;
+            this.gv_supplierItemCode.Caption = "寤虹珛浜�";
+            this.gv_supplierItemCode.FieldName = "createBy";
+            this.gv_supplierItemCode.MinWidth = 10;
+            this.gv_supplierItemCode.Name = "gv_supplierItemCode";
+            this.gv_supplierItemCode.OptionsColumn.AllowEdit = false;
+            this.gv_supplierItemCode.OptionsColumn.ReadOnly = true;
+            this.gv_supplierItemCode.Tag = "query_a.SUPPLIER_ITEM_CODE";
+            this.gv_supplierItemCode.Visible = true;
+            this.gv_supplierItemCode.VisibleIndex = 3;
+            this.gv_supplierItemCode.Width = 275;
+            // 
+            // panelControl3
+            // 
+            this.panelControl3.Controls.Add(this.btnDelete);
+            this.panelControl3.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panelControl3.Location = new System.Drawing.Point(2, 2);
+            this.panelControl3.Name = "panelControl3";
+            this.panelControl3.Size = new System.Drawing.Size(834, 38);
+            this.panelControl3.TabIndex = 6;
+            // 
+            // btnDelete
+            // 
+            this.btnDelete.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
+            this.btnDelete.Appearance.Options.UseBackColor = true;
+            this.btnDelete.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
+            this.btnDelete.Location = new System.Drawing.Point(54, -6);
+            this.btnDelete.Name = "btnDelete";
+            this.btnDelete.Size = new System.Drawing.Size(94, 39);
+            this.btnDelete.TabIndex = 5;
+            this.btnDelete.Text = "纭畾鍒犻櫎";
+            // 
+            // SelectDeleteBar
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(838, 545);
+            this.Controls.Add(this.panelControl2);
+            this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black;
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "SelectDeleteBar";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+            this.Text = "鎵归噺鍒犻櫎鏉$爜";
+            this.TopMost = true;
+            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
+            this.panelControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
+            this.panelControl3.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+        #endregion
+        private DevExpress.XtraEditors.PanelControl panelControl2;
+        private DevExpress.XtraGrid.GridControl gcMain;
+        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_guid;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_supplierItemCode;
+        private DevExpress.XtraGrid.Columns.GridColumn gv_supplierItemName;
+        private DevExpress.XtraEditors.PanelControl panelControl3;
+        private DevExpress.XtraGrid.Columns.GridColumn colChkInt;
+        private DevExpress.XtraEditors.SimpleButton btnDelete;
+    }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
new file mode 100644
index 0000000..968353d
--- /dev/null
+++ b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
@@ -0,0 +1,128 @@
+锘縰sing DevExpress.Utils.DirectXPaint;
+using DevExpress.XtraGrid.Views.Base.ViewInfo;
+using Gs.DevApp.ToolBox;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Windows.Forms;
+
+namespace Gs.DevApp.UserControl
+{
+    public partial class SelectDeleteBar : DevExpress.XtraEditors.XtraForm
+    {
+        private readonly string _webServiceName = "VArrivalBarcodeManager/";
+        private string aboutGuid = "";
+        private string aboutType = "";//鍚庣洊鐮�
+        /// <summary>
+        /// 鐖朵翰guid
+        /// </summary>
+        /// <param name="_aboutGuid"></param>
+        public SelectDeleteBar(string _aboutGuid, string _aboutType)
+        {
+            InitializeComponent();
+            this.gridView1.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); };
+            this.gridView1.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gridView1); };
+            this.colChkInt.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
+            this.colChkInt.OptionsFilter.AllowAutoFilter = false;
+            this.colChkInt.OptionsFilter.AllowFilter = false;
+            this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False;
+            this.aboutGuid = _aboutGuid;
+            this.aboutType = _aboutType;
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false);
+            getPageList(1);
+            btnDelete.Click += (s, e) =>
+            {
+                gridView1.PostEditor();
+                gridView1.UpdateCurrentRow();
+                System.Text.StringBuilder sb = new System.Text.StringBuilder();
+                string strMsg = "-1";
+                DataTable dt = this.gcMain.DataSource as DataTable;
+                {
+                    foreach (DataRow dr in dt.Rows)
+                    {
+                        string checkBox = dr["chkInt"].ToString();
+                        string _guid = dr["guid"].ToString();
+                        if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox))
+                        {
+                            if (sb.Length > 0)
+                                sb.Append(",");
+                            sb.Append(_guid.ToString());
+                        }
+                    }
+                }
+                if (sb.Length <= 0)
+                {
+                    MsgHelper.Warning("璇峰嬀閫変綘瑕佸垹闄ょ殑鏉$爜锛�");
+                    return;
+                }
+                var _obj = new
+                {
+                    aboutGuid = this.aboutGuid,
+                    guidList = sb.ToString(),
+                    aboutType = this.aboutType
+                };
+                try
+                {
+                    var strJson = UtilityHelper.HttpPost("",
+                        _webServiceName + "DeleteBarcode",
+                        JsonConvert.SerializeObject(_obj));
+                    var _rtn = UtilityHelper.ReturnToDynamic(strJson);
+                    if (_rtn.rtnCode > 0)
+                    {
+                        strMsg = "1";
+                        MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnMsg);
+                    }
+                    else {
+                        MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg);
+                        return;
+                    }
+                }
+                catch (Exception ex)
+                {
+                    MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
+                    return;
+                }
+                UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = strMsg }); Close();
+            };
+        }
+
+        /// <summary>
+        ///     閫夋嫨鍚庣殑鍥炶皟浜嬩欢
+        /// </summary>
+        public event EventHandler<UpdateParentEventArgs> UpdateParent;
+
+        /// <summary>
+        /// </summary>
+        /// <param name="curPage">绗嚑椤�</param>
+        /// <param name="pageSize">姣忛〉鍑犳潯</param>
+        private void getPageList(int curPage)
+        {
+            var _obj = new
+            {
+                currentPage = curPage,
+                everyPageSize = 999999,
+                sortName = "",
+                keyWhere = "",
+                aboutGuid = this.aboutGuid,
+                aboutType = this.aboutType,
+            };
+            var json = JsonConvert.SerializeObject(_obj);
+            try
+            {
+                var strReturn = UtilityHelper.HttpPost("",
+                    _webServiceName + "SelectBarcode", json);
+                var dd = UtilityHelper.ReturnToTablePage(strReturn);
+                var dt = dd.rtnData.list;
+                gcMain.BindingContext = new BindingContext();
+                gcMain.DataSource = dt;
+                gcMain.ForceInitialize();
+                gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
+            }
+            catch (Exception ex)
+            {
+                MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+            }
+        }
+    }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.resx b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.resx
@@ -0,0 +1,120 @@
+锘�<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file

--
Gitblit v1.9.3