From 9b08c83edb6cc73985f9b0b92108c8a7cca4d0a1 Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期一, 22 九月 2025 13:23:02 +0800
Subject: [PATCH] 1、新增仓库条码打印

---
 DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.cs          |   56 +++++++++++++
 DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs |  141 +++++++++++++++++++----------------
 2 files changed, 132 insertions(+), 65 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs
index 1f0acda..458989a 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.Designer.cs
@@ -42,6 +42,7 @@
             this.split1 = new DevExpress.XtraEditors.SplitContainerControl();
             this.gcMain1 = 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_itemId = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -207,6 +208,7 @@
             // 
             this.gridView1.Appearance.Row.Options.UseFont = true;
             this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.colChkInt,
             this.gv_guid,
             this.gv_itemId,
             this.gridColumn3,
@@ -230,6 +232,16 @@
             this.gridView1.OptionsView.ShowAutoFilterRow = true;
             this.gridView1.OptionsView.ShowFooter = true;
             this.gridView1.OptionsView.ShowGroupPanel = false;
+            // 
+            // colChkInt
+            // 
+            this.colChkInt.Caption = ".";
+            this.colChkInt.FieldName = "chkInt";
+            this.colChkInt.MinWidth = 25;
+            this.colChkInt.Name = "colChkInt";
+            this.colChkInt.Visible = true;
+            this.colChkInt.VisibleIndex = 0;
+            this.colChkInt.Width = 68;
             // 
             // gv_guid
             // 
@@ -260,8 +272,8 @@
             this.gridColumn3.MinWidth = 25;
             this.gridColumn3.Name = "gridColumn3";
             this.gridColumn3.Visible = true;
-            this.gridColumn3.VisibleIndex = 2;
-            this.gridColumn3.Width = 73;
+            this.gridColumn3.VisibleIndex = 3;
+            this.gridColumn3.Width = 94;
             // 
             // gridColumn2
             // 
@@ -270,8 +282,8 @@
             this.gridColumn2.MinWidth = 25;
             this.gridColumn2.Name = "gridColumn2";
             this.gridColumn2.Visible = true;
-            this.gridColumn2.VisibleIndex = 3;
-            this.gridColumn2.Width = 73;
+            this.gridColumn2.VisibleIndex = 4;
+            this.gridColumn2.Width = 94;
             // 
             // gridColumn4
             // 
@@ -280,8 +292,8 @@
             this.gridColumn4.MinWidth = 25;
             this.gridColumn4.Name = "gridColumn4";
             this.gridColumn4.Visible = true;
-            this.gridColumn4.VisibleIndex = 6;
-            this.gridColumn4.Width = 73;
+            this.gridColumn4.VisibleIndex = 7;
+            this.gridColumn4.Width = 94;
             // 
             // gv_itemBarcode
             // 
@@ -293,8 +305,8 @@
             this.gv_itemBarcode.OptionsColumn.AllowEdit = false;
             this.gv_itemBarcode.Tag = "query_a.ITEM_BARCODE";
             this.gv_itemBarcode.Visible = true;
-            this.gv_itemBarcode.VisibleIndex = 0;
-            this.gv_itemBarcode.Width = 73;
+            this.gv_itemBarcode.VisibleIndex = 1;
+            this.gv_itemBarcode.Width = 94;
             // 
             // gv_quantity
             // 
@@ -312,8 +324,8 @@
             new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "quantity", "鍚堣={0:0.##}")});
             this.gv_quantity.Tag = "query_a.QUANTITY";
             this.gv_quantity.Visible = true;
-            this.gv_quantity.VisibleIndex = 1;
-            this.gv_quantity.Width = 73;
+            this.gv_quantity.VisibleIndex = 2;
+            this.gv_quantity.Width = 94;
             // 
             // gv_depotId
             // 
@@ -333,8 +345,8 @@
             this.gridColumn6.MinWidth = 25;
             this.gridColumn6.Name = "gridColumn6";
             this.gridColumn6.Visible = true;
-            this.gridColumn6.VisibleIndex = 4;
-            this.gridColumn6.Width = 73;
+            this.gridColumn6.VisibleIndex = 5;
+            this.gridColumn6.Width = 94;
             // 
             // gridColumn1
             // 
@@ -343,8 +355,8 @@
             this.gridColumn1.MinWidth = 25;
             this.gridColumn1.Name = "gridColumn1";
             this.gridColumn1.Visible = true;
-            this.gridColumn1.VisibleIndex = 5;
-            this.gridColumn1.Width = 73;
+            this.gridColumn1.VisibleIndex = 6;
+            this.gridColumn1.Width = 94;
             // 
             // gv_depotSectionsCode
             // 
@@ -356,8 +368,8 @@
             this.gv_depotSectionsCode.OptionsColumn.AllowEdit = false;
             this.gv_depotSectionsCode.Tag = "query_a.DEPOT_SECTIONS_CODE";
             this.gv_depotSectionsCode.Visible = true;
-            this.gv_depotSectionsCode.VisibleIndex = 7;
-            this.gv_depotSectionsCode.Width = 73;
+            this.gv_depotSectionsCode.VisibleIndex = 8;
+            this.gv_depotSectionsCode.Width = 94;
             // 
             // gv_ownerType
             // 
@@ -388,8 +400,8 @@
             this.gridColumn5.MinWidth = 25;
             this.gridColumn5.Name = "gridColumn5";
             this.gridColumn5.Visible = true;
-            this.gridColumn5.VisibleIndex = 8;
-            this.gridColumn5.Width = 73;
+            this.gridColumn5.VisibleIndex = 9;
+            this.gridColumn5.Width = 94;
             // 
             // gv_indepUserCode
             // 
@@ -401,8 +413,8 @@
             this.gv_indepUserCode.OptionsColumn.AllowEdit = false;
             this.gv_indepUserCode.Tag = "query_a.INDEP_USER_CODE";
             this.gv_indepUserCode.Visible = true;
-            this.gv_indepUserCode.VisibleIndex = 9;
-            this.gv_indepUserCode.Width = 73;
+            this.gv_indepUserCode.VisibleIndex = 11;
+            this.gv_indepUserCode.Width = 72;
             // 
             // gv_indepDate
             // 
@@ -415,7 +427,7 @@
             this.gv_indepDate.Tag = "query_a.INDEP_DATE";
             this.gv_indepDate.Visible = true;
             this.gv_indepDate.VisibleIndex = 10;
-            this.gv_indepDate.Width = 10;
+            this.gv_indepDate.Width = 88;
             // 
             // pageBar1
             // 
@@ -489,19 +501,19 @@
             // 
             this.ucBtnPrint101.allClickKey = null;
             this.ucBtnPrint101.guidKey = null;
-            this.ucBtnPrint101.Location = new System.Drawing.Point(840, 78);
+            this.ucBtnPrint101.Location = new System.Drawing.Point(825, 78);
             this.ucBtnPrint101.Margin = new System.Windows.Forms.Padding(0);
             this.ucBtnPrint101.Name = "ucBtnPrint101";
             this.ucBtnPrint101.rptParameter = null;
-            this.ucBtnPrint101.Size = new System.Drawing.Size(274, 29);
+            this.ucBtnPrint101.Size = new System.Drawing.Size(268, 29);
             this.ucBtnPrint101.TabIndex = 224;
             // 
             // txt_depotName
             // 
-            this.txt_depotName.Location = new System.Drawing.Point(636, 45);
+            this.txt_depotName.Location = new System.Drawing.Point(626, 45);
             this.txt_depotName.Name = "txt_depotName";
             this.txt_depotName.Properties.Appearance.Options.UseFont = true;
-            this.txt_depotName.Size = new System.Drawing.Size(200, 24);
+            this.txt_depotName.Size = new System.Drawing.Size(195, 24);
             this.txt_depotName.StyleController = this.layoutMx1;
             this.txt_depotName.TabIndex = 222;
             this.txt_depotName.Tag = "creatDate";
@@ -517,10 +529,10 @@
             // 
             // txt_itemBarcode
             // 
-            this.txt_itemBarcode.Location = new System.Drawing.Point(912, 12);
+            this.txt_itemBarcode.Location = new System.Drawing.Point(897, 12);
             this.txt_itemBarcode.Name = "txt_itemBarcode";
             this.txt_itemBarcode.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemBarcode.Size = new System.Drawing.Size(202, 24);
+            this.txt_itemBarcode.Size = new System.Drawing.Size(196, 24);
             this.txt_itemBarcode.StyleController = this.layoutMx1;
             this.txt_itemBarcode.TabIndex = 222;
             this.txt_itemBarcode.Tag = "itemBarcode";
@@ -530,27 +542,27 @@
             this.txt_itemNo.Location = new System.Drawing.Point(84, 12);
             this.txt_itemNo.Name = "txt_itemNo";
             this.txt_itemNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemNo.Size = new System.Drawing.Size(200, 24);
+            this.txt_itemNo.Size = new System.Drawing.Size(195, 24);
             this.txt_itemNo.StyleController = this.layoutMx1;
             this.txt_itemNo.TabIndex = 222;
             this.txt_itemNo.Tag = "itemNo";
             // 
             // txt_itemName
             // 
-            this.txt_itemName.Location = new System.Drawing.Point(360, 12);
+            this.txt_itemName.Location = new System.Drawing.Point(355, 12);
             this.txt_itemName.Name = "txt_itemName";
             this.txt_itemName.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemName.Size = new System.Drawing.Size(200, 24);
+            this.txt_itemName.Size = new System.Drawing.Size(195, 24);
             this.txt_itemName.StyleController = this.layoutMx1;
             this.txt_itemName.TabIndex = 222;
             this.txt_itemName.Tag = "itemName";
             // 
             // txt_itemModel
             // 
-            this.txt_itemModel.Location = new System.Drawing.Point(636, 12);
+            this.txt_itemModel.Location = new System.Drawing.Point(626, 12);
             this.txt_itemModel.Name = "txt_itemModel";
             this.txt_itemModel.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemModel.Size = new System.Drawing.Size(200, 24);
+            this.txt_itemModel.Size = new System.Drawing.Size(195, 24);
             this.txt_itemModel.StyleController = this.layoutMx1;
             this.txt_itemModel.TabIndex = 222;
             this.txt_itemModel.Tag = "itemModel";
@@ -560,27 +572,27 @@
             this.txt_quantity.Location = new System.Drawing.Point(84, 45);
             this.txt_quantity.Name = "txt_quantity";
             this.txt_quantity.Properties.Appearance.Options.UseFont = true;
-            this.txt_quantity.Size = new System.Drawing.Size(200, 24);
+            this.txt_quantity.Size = new System.Drawing.Size(195, 24);
             this.txt_quantity.StyleController = this.layoutMx1;
             this.txt_quantity.TabIndex = 222;
             this.txt_quantity.Tag = "quantity";
             // 
             // txt_depotNo
             // 
-            this.txt_depotNo.Location = new System.Drawing.Point(360, 45);
+            this.txt_depotNo.Location = new System.Drawing.Point(355, 45);
             this.txt_depotNo.Name = "txt_depotNo";
             this.txt_depotNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_depotNo.Size = new System.Drawing.Size(200, 24);
+            this.txt_depotNo.Size = new System.Drawing.Size(195, 24);
             this.txt_depotNo.StyleController = this.layoutMx1;
             this.txt_depotNo.TabIndex = 222;
             this.txt_depotNo.Tag = "description";
             // 
             // txt_depotSectionsCode
             // 
-            this.txt_depotSectionsCode.Location = new System.Drawing.Point(912, 45);
+            this.txt_depotSectionsCode.Location = new System.Drawing.Point(897, 45);
             this.txt_depotSectionsCode.Name = "txt_depotSectionsCode";
             this.txt_depotSectionsCode.Properties.Appearance.Options.UseFont = true;
-            this.txt_depotSectionsCode.Size = new System.Drawing.Size(202, 24);
+            this.txt_depotSectionsCode.Size = new System.Drawing.Size(196, 24);
             this.txt_depotSectionsCode.StyleController = this.layoutMx1;
             this.txt_depotSectionsCode.TabIndex = 222;
             this.txt_depotSectionsCode.Tag = "depotSectionsCode";
@@ -590,27 +602,27 @@
             this.txt_ownerName.Location = new System.Drawing.Point(84, 78);
             this.txt_ownerName.Name = "txt_ownerName";
             this.txt_ownerName.Properties.Appearance.Options.UseFont = true;
-            this.txt_ownerName.Size = new System.Drawing.Size(200, 24);
+            this.txt_ownerName.Size = new System.Drawing.Size(195, 24);
             this.txt_ownerName.StyleController = this.layoutMx1;
             this.txt_ownerName.TabIndex = 222;
             this.txt_ownerName.Tag = "ownerName";
             // 
             // txt_indepUserCode
             // 
-            this.txt_indepUserCode.Location = new System.Drawing.Point(360, 78);
+            this.txt_indepUserCode.Location = new System.Drawing.Point(355, 78);
             this.txt_indepUserCode.Name = "txt_indepUserCode";
             this.txt_indepUserCode.Properties.Appearance.Options.UseFont = true;
-            this.txt_indepUserCode.Size = new System.Drawing.Size(200, 24);
+            this.txt_indepUserCode.Size = new System.Drawing.Size(195, 24);
             this.txt_indepUserCode.StyleController = this.layoutMx1;
             this.txt_indepUserCode.TabIndex = 222;
             this.txt_indepUserCode.Tag = "indepUserCode";
             // 
             // txt_indepDate
             // 
-            this.txt_indepDate.Location = new System.Drawing.Point(636, 78);
+            this.txt_indepDate.Location = new System.Drawing.Point(626, 78);
             this.txt_indepDate.Name = "txt_indepDate";
             this.txt_indepDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_indepDate.Size = new System.Drawing.Size(200, 24);
+            this.txt_indepDate.Size = new System.Drawing.Size(195, 24);
             this.txt_indepDate.StyleController = this.layoutMx1;
             this.txt_indepDate.TabIndex = 222;
             this.txt_indepDate.Tag = "indepDate";
@@ -669,7 +681,7 @@
             rowDefinition1,
             rowDefinition2,
             rowDefinition3});
-            this.Root.Size = new System.Drawing.Size(1126, 119);
+            this.Root.Size = new System.Drawing.Size(1105, 119);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem6
@@ -677,10 +689,10 @@
             this.layoutControlItem6.Control = this.txt_itemName;
             this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem6.CustomizationFormText = "鐗╂枡鍚嶇О";
-            this.layoutControlItem6.Location = new System.Drawing.Point(276, 0);
+            this.layoutControlItem6.Location = new System.Drawing.Point(271, 0);
             this.layoutControlItem6.Name = "layoutControlItem6";
             this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem6.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem6.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem6.Text = "鐗╂枡鍚嶇О";
             this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -689,10 +701,10 @@
             this.layoutControlItem7.Control = this.txt_itemModel;
             this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem7.CustomizationFormText = "瑙勬牸鍨嬪彿";
-            this.layoutControlItem7.Location = new System.Drawing.Point(552, 0);
+            this.layoutControlItem7.Location = new System.Drawing.Point(542, 0);
             this.layoutControlItem7.Name = "layoutControlItem7";
             this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem7.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem7.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem7.Text = "瑙勬牸鍨嬪彿";
             this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -701,10 +713,10 @@
             this.layoutControlItem2.Control = this.txt_itemBarcode;
             this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem2.CustomizationFormText = "鐗╂枡鏉$爜";
-            this.layoutControlItem2.Location = new System.Drawing.Point(828, 0);
+            this.layoutControlItem2.Location = new System.Drawing.Point(813, 0);
             this.layoutControlItem2.Name = "layoutControlItem2";
             this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 3;
-            this.layoutControlItem2.Size = new System.Drawing.Size(278, 33);
+            this.layoutControlItem2.Size = new System.Drawing.Size(272, 33);
             this.layoutControlItem2.Text = "鐗╂枡鏉$爜";
             this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -716,7 +728,7 @@
             this.layoutControlItem8.Location = new System.Drawing.Point(0, 33);
             this.layoutControlItem8.Name = "layoutControlItem8";
             this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem8.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem8.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem8.Text = "鏁伴噺";
             this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -725,11 +737,11 @@
             this.layoutControlItem9.Control = this.txt_depotNo;
             this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem9.CustomizationFormText = "浠撳簱缂栧彿";
-            this.layoutControlItem9.Location = new System.Drawing.Point(276, 33);
+            this.layoutControlItem9.Location = new System.Drawing.Point(271, 33);
             this.layoutControlItem9.Name = "layoutControlItem9";
             this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem9.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem9.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem9.Text = "浠撳簱缂栧彿";
             this.layoutControlItem9.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -738,11 +750,11 @@
             this.layoutControlItem4.Control = this.txt_depotName;
             this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem4.CustomizationFormText = "浠撳簱鍚嶇О";
-            this.layoutControlItem4.Location = new System.Drawing.Point(552, 33);
+            this.layoutControlItem4.Location = new System.Drawing.Point(542, 33);
             this.layoutControlItem4.Name = "layoutControlItem4";
             this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem4.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem4.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem4.Text = "浠撳簱鍚嶇О";
             this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -751,11 +763,11 @@
             this.layoutControlItem1.Control = this.txt_depotSectionsCode;
             this.layoutControlItem1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem1.CustomizationFormText = "璐т富缂栧彿";
-            this.layoutControlItem1.Location = new System.Drawing.Point(828, 33);
+            this.layoutControlItem1.Location = new System.Drawing.Point(813, 33);
             this.layoutControlItem1.Name = "layoutControlItem1";
             this.layoutControlItem1.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem1.Size = new System.Drawing.Size(278, 33);
+            this.layoutControlItem1.Size = new System.Drawing.Size(272, 33);
             this.layoutControlItem1.Text = "璐т富缂栧彿";
             this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -766,7 +778,7 @@
             this.layoutControlItem3.CustomizationFormText = "鐗╂枡缂栫爜";
             this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem3.Name = "layoutControlItem3";
-            this.layoutControlItem3.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem3.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem3.Text = "鐗╂枡缂栫爜";
             this.layoutControlItem3.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -778,7 +790,7 @@
             this.layoutControlItem5.Location = new System.Drawing.Point(0, 66);
             this.layoutControlItem5.Name = "layoutControlItem5";
             this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem5.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem5.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem5.Text = "璐т富鍚嶇О";
             this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -787,22 +799,22 @@
             this.layoutControlItem10.Control = this.txt_indepUserCode;
             this.layoutControlItem10.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem10.CustomizationFormText = "鍏ュ簱浜�";
-            this.layoutControlItem10.Location = new System.Drawing.Point(276, 66);
+            this.layoutControlItem10.Location = new System.Drawing.Point(271, 66);
             this.layoutControlItem10.Name = "layoutControlItem10";
             this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem10.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem10.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem10.Text = "鍏ュ簱浜�";
             this.layoutControlItem10.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem12
             // 
             this.layoutControlItem12.Control = this.ucBtnPrint101;
-            this.layoutControlItem12.Location = new System.Drawing.Point(828, 66);
+            this.layoutControlItem12.Location = new System.Drawing.Point(813, 66);
             this.layoutControlItem12.Name = "layoutControlItem12";
             this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem12.Size = new System.Drawing.Size(278, 33);
+            this.layoutControlItem12.Size = new System.Drawing.Size(272, 33);
             this.layoutControlItem12.Text = "鎵撳嵃鎸夐挳";
             this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem12.TextVisible = false;
@@ -812,11 +824,11 @@
             this.layoutControlItem11.Control = this.txt_indepDate;
             this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem11.CustomizationFormText = "鍏ュ簱鏃ユ湡";
-            this.layoutControlItem11.Location = new System.Drawing.Point(552, 66);
+            this.layoutControlItem11.Location = new System.Drawing.Point(542, 66);
             this.layoutControlItem11.Name = "layoutControlItem11";
             this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem11.Size = new System.Drawing.Size(276, 33);
+            this.layoutControlItem11.Size = new System.Drawing.Size(271, 33);
             this.layoutControlItem11.Text = "鍏ュ簱鏃ユ湡";
             this.layoutControlItem11.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -930,5 +942,6 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem24;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
+        private DevExpress.XtraGrid.Columns.GridColumn colChkInt;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.cs
index 9650a14..feab3b7 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/CKTmkc.cs
@@ -1,3 +1,4 @@
+using Gs.DevApp.DevFrm.BasicData;
 using Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Gs.DevApp.UserControl;
@@ -19,6 +20,7 @@
             InitializeComponent();
             this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
+            toolBarMenu1.btnPrintClick += ToolBarMenu1_btnPrintClick;
             this.toolBarMenu1.getXmlConfig();
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, "", "", (value) =>
             {
@@ -41,6 +43,16 @@
             {
                 _print101();
             };
+
+
+            //鍔犲叆checkbox begin
+            this.gridView1.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); };
+            this.gridView1.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain1, 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;
+            //鍔犲叆checkbox end
         }
         private async void GridView1_ColumnFilterChanged(object sender, EventArgs e)
         {
@@ -174,7 +186,7 @@
         }
 
         /// <summary>
-        /// 杩欐槸浠撳簱
+        /// 杩欐槸鍗曚釜鎵撳嵃
         /// </summary>
         private void _print101()
         {
@@ -196,5 +208,47 @@
                    + "," + ""
                    + "}";
         }
+
+
+        /// <summary>
+        /// 杩欐槸鎵归噺鎵撳嵃
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void ToolBarMenu1_btnPrintClick(object sender, EventArgs e)
+        {
+            System.Text.StringBuilder sb = new System.Text.StringBuilder();
+            gridView1.PostEditor();
+            gridView1.UpdateCurrentRow();
+            DataTable dt = this.gcMain1.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);
+                    }
+                }
+            }
+            if (string.IsNullOrEmpty(sb.ToString()))
+            {
+                Gs.DevApp.ToolBox.MsgHelper.ShowError("鎻愮ず锛氳鍏堥�夋嫨鐗╂枡锛�");
+                this.toolBarMenu1.rptParameter = "return false";
+                return;
+            }
+            this.toolBarMenu1.rptParameter = "rpt_cktm{"
+                                               + "100"
+                                               + "," + ""
+                                               + "," + ""
+                                                + "," + ""
+                                               + "," + ""
+                                               + "," + sb.ToString()
+                                               + "}";
+            this.toolBarMenu1.guidKey = null;
+        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3