From dd3fb89fc2f7487e751d33ece46a25dde5e5b31c Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期三, 03 九月 2025 18:28:36 +0800 Subject: [PATCH] 打印 --- DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs | 427 ++++++++++++++++++++++++++-------------------------- DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs | 33 ++++ 2 files changed, 247 insertions(+), 213 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs index e5acdd8..3d489dc 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs @@ -37,9 +37,6 @@ DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); @@ -86,12 +83,13 @@ this.txt_quantity = new DevExpress.XtraEditors.TextEdit(); this.txt_description = new DevExpress.XtraEditors.TextEdit(); this.txt_fromDepot = new DevExpress.XtraEditors.TextEdit(); + this.txt_invDepot = new DevExpress.XtraEditors.TextEdit(); + this.txt_name = new DevExpress.XtraEditors.TextEdit(); + this.txt_billNo = new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); - this.txt_invDepot = new DevExpress.XtraEditors.TextEdit(); - this.txt_name = new DevExpress.XtraEditors.TextEdit(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -101,8 +99,9 @@ this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); - this.txt_billNo = new DevExpress.XtraEditors.TextEdit(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.ucBtnPrint101 = new Gs.DevApp.UserControl.UcBtnPrint(); + this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); @@ -130,12 +129,13 @@ ((System.ComponentModel.ISupportInitialize)(this.txt_quantity.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fromDepot.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_invDepot.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_invDepot.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); @@ -145,8 +145,8 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); this.SuspendLayout(); // // toolBarMenu1 @@ -158,10 +158,10 @@ this.toolBarMenu1.guidKey = null; this.toolBarMenu1.isSetBtn = false; this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); - this.toolBarMenu1.Margin = new System.Windows.Forms.Padding(5); + this.toolBarMenu1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.toolBarMenu1.Name = "toolBarMenu1"; this.toolBarMenu1.rptParameter = null; - this.toolBarMenu1.Size = new System.Drawing.Size(1410, 98); + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); this.toolBarMenu1.TabIndex = 0; this.toolBarMenu1.xlsInService = null; this.toolBarMenu1.xlsOutParameter = null; @@ -169,11 +169,10 @@ // xtraTabControl1 // this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.xtraTabControl1.Location = new System.Drawing.Point(0, 98); - this.xtraTabControl1.Margin = new System.Windows.Forms.Padding(4); + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; - this.xtraTabControl1.Size = new System.Drawing.Size(1410, 736); + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); this.xtraTabControl1.TabIndex = 3; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, @@ -182,9 +181,8 @@ // xtraTabPage1 // this.xtraTabPage1.Controls.Add(this.split1); - this.xtraTabPage1.Margin = new System.Windows.Forms.Padding(4); this.xtraTabPage1.Name = "xtraTabPage1"; - this.xtraTabPage1.Size = new System.Drawing.Size(1408, 698); + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); this.xtraTabPage1.Text = "鏁版嵁鍒楄〃"; // // split1 @@ -193,7 +191,6 @@ this.split1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.split1.Horizontal = false; this.split1.Location = new System.Drawing.Point(0, 0); - this.split1.Margin = new System.Windows.Forms.Padding(4); this.split1.Name = "split1"; // // split1.Panel1 @@ -206,19 +203,17 @@ // this.split1.Panel2.Text = "Panel2"; this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; - this.split1.Size = new System.Drawing.Size(1408, 698); + this.split1.Size = new System.Drawing.Size(1126, 570); this.split1.SplitterPosition = 0; this.split1.TabIndex = 0; // // gcMain1 // this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMain1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4); this.gcMain1.Location = new System.Drawing.Point(0, 0); this.gcMain1.MainView = this.gridView1; - this.gcMain1.Margin = new System.Windows.Forms.Padding(4); this.gcMain1.Name = "gcMain1"; - this.gcMain1.Size = new System.Drawing.Size(1408, 635); + this.gcMain1.Size = new System.Drawing.Size(1126, 519); this.gcMain1.TabIndex = 2; this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); @@ -253,9 +248,8 @@ this.lastupdateDate, this.fromDepotId, this.invDepotId}); - this.gridView1.DetailHeight = 428; this.gridView1.GridControl = this.gcMain1; - this.gridView1.IndicatorWidth = 62; + this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; @@ -266,285 +260,286 @@ // this.billNo.Caption = "鍗曟嵁缂栫爜"; this.billNo.FieldName = "billNo"; - this.billNo.MinWidth = 30; + this.billNo.MinWidth = 24; this.billNo.Name = "billNo"; this.billNo.Tag = "billNo"; this.billNo.Visible = true; this.billNo.VisibleIndex = 0; - this.billNo.Width = 112; + this.billNo.Width = 90; // // itemBarcode // this.itemBarcode.Caption = "鐗╂枡鏉$爜"; this.itemBarcode.FieldName = "itemBarcode"; - this.itemBarcode.MinWidth = 30; + this.itemBarcode.MinWidth = 24; this.itemBarcode.Name = "itemBarcode"; this.itemBarcode.Tag = "itemBarcode"; this.itemBarcode.Visible = true; this.itemBarcode.VisibleIndex = 1; - this.itemBarcode.Width = 112; + this.itemBarcode.Width = 90; // // itemNo1 // this.itemNo1.Caption = "鐗╂枡缂栫爜"; this.itemNo1.FieldName = "itemNo1"; - this.itemNo1.MinWidth = 30; + this.itemNo1.MinWidth = 24; this.itemNo1.Name = "itemNo1"; this.itemNo1.Tag = "itemNo1"; this.itemNo1.Visible = true; this.itemNo1.VisibleIndex = 2; - this.itemNo1.Width = 112; + this.itemNo1.Width = 90; // // itemName // this.itemName.Caption = "鐗╂枡鍚嶇О"; this.itemName.FieldName = "itemName"; - this.itemName.MinWidth = 30; + this.itemName.MinWidth = 24; this.itemName.Name = "itemName"; this.itemName.Tag = "itemName"; this.itemName.Visible = true; this.itemName.VisibleIndex = 3; - this.itemName.Width = 112; + this.itemName.Width = 90; // // itemModel // this.itemModel.Caption = "瑙勬牸鍨嬪彿"; this.itemModel.FieldName = "itemModel"; - this.itemModel.MinWidth = 30; + this.itemModel.MinWidth = 24; this.itemModel.Name = "itemModel"; this.itemModel.Tag = "itemModel"; this.itemModel.Visible = true; this.itemModel.VisibleIndex = 4; - this.itemModel.Width = 112; + this.itemModel.Width = 90; // // quantity // this.quantity.Caption = "鏁伴噺"; this.quantity.FieldName = "quantity"; - this.quantity.MinWidth = 30; + this.quantity.MinWidth = 24; this.quantity.Name = "quantity"; this.quantity.Tag = "quantity"; this.quantity.Visible = true; this.quantity.VisibleIndex = 5; - this.quantity.Width = 112; + this.quantity.Width = 90; // // description // this.description.Caption = "浜ゆ槗淇℃伅"; this.description.FieldName = "description"; - this.description.MinWidth = 30; + this.description.MinWidth = 24; this.description.Name = "description"; this.description.Tag = "description"; this.description.Visible = true; this.description.VisibleIndex = 6; - this.description.Width = 112; + this.description.Width = 90; // // createBy // this.createBy.Caption = "鍒涘缓浜�"; this.createBy.FieldName = "createBy"; - this.createBy.MinWidth = 30; + this.createBy.MinWidth = 24; this.createBy.Name = "createBy"; this.createBy.Tag = "createBy"; this.createBy.Visible = true; this.createBy.VisibleIndex = 7; - this.createBy.Width = 112; + this.createBy.Width = 90; // // creatDate // this.creatDate.Caption = "鍒涘缓鏃堕棿"; this.creatDate.FieldName = "creatDate"; - this.creatDate.MinWidth = 30; + this.creatDate.MinWidth = 24; this.creatDate.Name = "creatDate"; this.creatDate.Tag = "creatDate"; this.creatDate.Visible = true; this.creatDate.VisibleIndex = 8; - this.creatDate.Width = 112; + this.creatDate.Width = 90; // // businessType // this.businessType.Caption = "浜ゆ槗绫诲瀷"; this.businessType.FieldName = "businessType"; - this.businessType.MinWidth = 30; + this.businessType.MinWidth = 24; this.businessType.Name = "businessType"; this.businessType.Tag = "businessType"; this.businessType.Visible = true; this.businessType.VisibleIndex = 9; - this.businessType.Width = 112; + this.businessType.Width = 90; // // fromDepot // this.fromDepot.Caption = "鍑哄簱浠撳簱"; this.fromDepot.FieldName = "fromDepot"; - this.fromDepot.MinWidth = 30; + this.fromDepot.MinWidth = 24; this.fromDepot.Name = "fromDepot"; this.fromDepot.Tag = "fromDepot"; this.fromDepot.Visible = true; this.fromDepot.VisibleIndex = 10; - this.fromDepot.Width = 112; + this.fromDepot.Width = 90; // // fromDepotCode // this.fromDepotCode.Caption = "鍑哄簱浠撳簱缂栫爜"; this.fromDepotCode.FieldName = "fromDepotCode"; - this.fromDepotCode.MinWidth = 30; + this.fromDepotCode.MinWidth = 24; this.fromDepotCode.Name = "fromDepotCode"; this.fromDepotCode.Tag = "fromDepotCode"; this.fromDepotCode.Visible = true; this.fromDepotCode.VisibleIndex = 11; - this.fromDepotCode.Width = 112; + this.fromDepotCode.Width = 90; // // fromInvDepotSectionsCode // this.fromInvDepotSectionsCode.Caption = "鍑哄簱璐т綅"; this.fromInvDepotSectionsCode.FieldName = "fromInvDepotSectionsCode"; - this.fromInvDepotSectionsCode.MinWidth = 30; + this.fromInvDepotSectionsCode.MinWidth = 24; this.fromInvDepotSectionsCode.Name = "fromInvDepotSectionsCode"; this.fromInvDepotSectionsCode.Tag = "fromInvDepotSectionsCode"; this.fromInvDepotSectionsCode.Visible = true; this.fromInvDepotSectionsCode.VisibleIndex = 12; - this.fromInvDepotSectionsCode.Width = 112; + this.fromInvDepotSectionsCode.Width = 90; // // invDepot // this.invDepot.Caption = "鍏ュ簱浠撳簱"; this.invDepot.FieldName = "invDepot"; - this.invDepot.MinWidth = 30; + this.invDepot.MinWidth = 24; this.invDepot.Name = "invDepot"; this.invDepot.Tag = "invDepot"; this.invDepot.Visible = true; this.invDepot.VisibleIndex = 13; - this.invDepot.Width = 112; + this.invDepot.Width = 90; // // invDepotCode // this.invDepotCode.Caption = "鍏ュ簱浠撳簱缂栫爜"; this.invDepotCode.FieldName = "invDepotCode"; - this.invDepotCode.MinWidth = 30; + this.invDepotCode.MinWidth = 24; this.invDepotCode.Name = "invDepotCode"; this.invDepotCode.Tag = "invDepotCode"; this.invDepotCode.Visible = true; this.invDepotCode.VisibleIndex = 14; - this.invDepotCode.Width = 112; + this.invDepotCode.Width = 90; // // toInvDepotSectionsCode // this.toInvDepotSectionsCode.Caption = "鍏ュ簱璐т綅"; this.toInvDepotSectionsCode.FieldName = "toInvDepotSectionsCode"; - this.toInvDepotSectionsCode.MinWidth = 30; + this.toInvDepotSectionsCode.MinWidth = 24; this.toInvDepotSectionsCode.Name = "toInvDepotSectionsCode"; this.toInvDepotSectionsCode.Tag = "toInvDepotSectionsCode"; this.toInvDepotSectionsCode.Visible = true; this.toInvDepotSectionsCode.VisibleIndex = 15; - this.toInvDepotSectionsCode.Width = 112; + this.toInvDepotSectionsCode.Width = 90; // // itemId // this.itemId.Caption = "鐗╂枡ID"; this.itemId.FieldName = "itemId"; - this.itemId.MinWidth = 30; + this.itemId.MinWidth = 24; this.itemId.Name = "itemId"; this.itemId.Tag = "itemId"; - this.itemId.Width = 112; + this.itemId.Width = 90; // // remarks // this.remarks.Caption = "鐗╂枡鍒嗙粍"; this.remarks.FieldName = "remarks"; - this.remarks.MinWidth = 30; + this.remarks.MinWidth = 24; this.remarks.Name = "remarks"; this.remarks.Tag = "remarks"; - this.remarks.Width = 112; + this.remarks.Width = 90; // // billNo1 // this.billNo1.Caption = "棰嗘枡缂栧彿"; this.billNo1.FieldName = "billNo1"; - this.billNo1.MinWidth = 30; + this.billNo1.MinWidth = 24; this.billNo1.Name = "billNo1"; this.billNo1.Tag = "billNo1"; - this.billNo1.Width = 112; + this.billNo1.Width = 90; // // colorName // this.colorName.Caption = "棰滆壊"; this.colorName.FieldName = "colorName"; - this.colorName.MinWidth = 30; + this.colorName.MinWidth = 24; this.colorName.Name = "colorName"; this.colorName.Tag = "colorName"; - this.colorName.Width = 112; + this.colorName.Width = 90; // // transactionName // this.transactionName.Caption = "浜嬪姟绫诲瀷"; this.transactionName.FieldName = "transactionName"; - this.transactionName.MinWidth = 30; + this.transactionName.MinWidth = 24; this.transactionName.Name = "transactionName"; this.transactionName.Tag = "transactionName"; - this.transactionName.Width = 112; + this.transactionName.Width = 90; // // createDate1 // this.createDate1.Caption = "鍒涘缓鏃堕棿"; this.createDate1.FieldName = "createDate1"; - this.createDate1.MinWidth = 30; + this.createDate1.MinWidth = 24; this.createDate1.Name = "createDate1"; this.createDate1.Tag = "createDate1"; - this.createDate1.Width = 112; + this.createDate1.Width = 90; // // lastupdateBy // this.lastupdateBy.Caption = "鏇存柊浜�"; this.lastupdateBy.FieldName = "lastupdateBy"; - this.lastupdateBy.MinWidth = 30; + this.lastupdateBy.MinWidth = 24; this.lastupdateBy.Name = "lastupdateBy"; this.lastupdateBy.Tag = "lastupdateBy"; - this.lastupdateBy.Width = 112; + this.lastupdateBy.Width = 90; // // lastupdateDate // this.lastupdateDate.Caption = "鏈�鍚庢洿鏂版椂闂�"; this.lastupdateDate.FieldName = "lastupdateDate"; - this.lastupdateDate.MinWidth = 30; + this.lastupdateDate.MinWidth = 24; this.lastupdateDate.Name = "lastupdateDate"; this.lastupdateDate.Tag = "lastupdateDate"; - this.lastupdateDate.Width = 112; + this.lastupdateDate.Width = 90; // // fromDepotId // this.fromDepotId.Caption = "婧愪粨搴揑D"; this.fromDepotId.FieldName = "fromDepotId"; - this.fromDepotId.MinWidth = 30; + this.fromDepotId.MinWidth = 24; this.fromDepotId.Name = "fromDepotId"; this.fromDepotId.Tag = "fromDepotId"; - this.fromDepotId.Width = 112; + this.fromDepotId.Width = 90; // // invDepotId // this.invDepotId.Caption = "鐩殑浠撳簱ID"; this.invDepotId.FieldName = "invDepotId"; - this.invDepotId.MinWidth = 30; + this.invDepotId.MinWidth = 24; this.invDepotId.Name = "invDepotId"; this.invDepotId.Tag = "invDepotId"; - this.invDepotId.Width = 112; + this.invDepotId.Width = 90; // // pageBar1 // this.pageBar1.CurrentPage = 1; this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.pageBar1.Location = new System.Drawing.Point(0, 635); - this.pageBar1.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); + this.pageBar1.Location = new System.Drawing.Point(0, 519); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; - this.pageBar1.Size = new System.Drawing.Size(1408, 48); + this.pageBar1.Size = new System.Drawing.Size(1126, 39); this.pageBar1.TabIndex = 4; this.pageBar1.TotalPages = 0; // // xtraTabPage2 // this.xtraTabPage2.Controls.Add(this.splitMx1); + this.xtraTabPage2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.xtraTabPage2.Name = "xtraTabPage2"; - this.xtraTabPage2.Size = new System.Drawing.Size(1408, 698); + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); this.xtraTabPage2.Text = "鏁版嵁璇︾粏"; // // splitMx1 @@ -552,6 +547,7 @@ this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitMx1.Horizontal = false; this.splitMx1.Location = new System.Drawing.Point(0, 0); + this.splitMx1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.splitMx1.Name = "splitMx1"; // // splitMx1.Panel1 @@ -563,12 +559,13 @@ // this.splitMx1.Panel2.Text = "Panel2"; this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; - this.splitMx1.Size = new System.Drawing.Size(1408, 698); - this.splitMx1.SplitterPosition = 271; + this.splitMx1.Size = new System.Drawing.Size(1126, 570); + this.splitMx1.SplitterPosition = 168; this.splitMx1.TabIndex = 0; // // layoutMx1 // + this.layoutMx1.Controls.Add(this.ucBtnPrint101); this.layoutMx1.Controls.Add(this.txt_creatDate); this.layoutMx1.Controls.Add(this.txt_itemDescription1); this.layoutMx1.Controls.Add(this.lbGuid); @@ -586,121 +583,154 @@ this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem24}); this.layoutMx1.Location = new System.Drawing.Point(0, 0); + this.layoutMx1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.layoutMx1.Name = "layoutMx1"; this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1050, 249, 975, 600); this.layoutMx1.Root = this.Root; - this.layoutMx1.Size = new System.Drawing.Size(1408, 271); + this.layoutMx1.Size = new System.Drawing.Size(1126, 168); this.layoutMx1.TabIndex = 0; this.layoutMx1.Text = "layoutMx1"; // // txt_creatDate // - this.txt_creatDate.Location = new System.Drawing.Point(1137, 47); - this.txt_creatDate.Margin = new System.Windows.Forms.Padding(4); + this.txt_creatDate.Location = new System.Drawing.Point(911, 48); this.txt_creatDate.Name = "txt_creatDate"; this.txt_creatDate.Properties.Appearance.Options.UseFont = true; - this.txt_creatDate.Size = new System.Drawing.Size(259, 28); + this.txt_creatDate.Size = new System.Drawing.Size(205, 24); this.txt_creatDate.StyleController = this.layoutMx1; this.txt_creatDate.TabIndex = 222; this.txt_creatDate.Tag = "creatDate"; // // txt_itemDescription1 // - this.txt_itemDescription1.Location = new System.Drawing.Point(96, 83); - this.txt_itemDescription1.Margin = new System.Windows.Forms.Padding(4); + this.txt_itemDescription1.Location = new System.Drawing.Point(80, 86); this.txt_itemDescription1.Name = "txt_itemDescription1"; this.txt_itemDescription1.Properties.Appearance.Options.UseFont = true; - this.txt_itemDescription1.Size = new System.Drawing.Size(259, 28); + this.txt_itemDescription1.Size = new System.Drawing.Size(203, 24); this.txt_itemDescription1.StyleController = this.layoutMx1; this.txt_itemDescription1.TabIndex = 222; this.txt_itemDescription1.Tag = "itemDescription"; // // lbGuid // - this.lbGuid.Location = new System.Drawing.Point(725, 216); - this.lbGuid.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbGuid.Location = new System.Drawing.Point(580, 177); this.lbGuid.Name = "lbGuid"; - this.lbGuid.Size = new System.Drawing.Size(350, 37); + this.lbGuid.Size = new System.Drawing.Size(280, 30); this.lbGuid.TabIndex = 1; this.lbGuid.Text = "lbGuid"; this.lbGuid.Visible = false; // // txt_itemBarcode // - this.txt_itemBarcode.Location = new System.Drawing.Point(443, 12); - this.txt_itemBarcode.Margin = new System.Windows.Forms.Padding(4); + this.txt_itemBarcode.Location = new System.Drawing.Point(357, 10); this.txt_itemBarcode.Name = "txt_itemBarcode"; this.txt_itemBarcode.Properties.Appearance.Options.UseFont = true; - this.txt_itemBarcode.Size = new System.Drawing.Size(259, 28); + this.txt_itemBarcode.Size = new System.Drawing.Size(203, 24); this.txt_itemBarcode.StyleController = this.layoutMx1; this.txt_itemBarcode.TabIndex = 222; this.txt_itemBarcode.Tag = "itemBarcode"; // // txt_itemNo1 // - this.txt_itemNo1.Location = new System.Drawing.Point(790, 12); - this.txt_itemNo1.Margin = new System.Windows.Forms.Padding(4); + this.txt_itemNo1.Location = new System.Drawing.Point(634, 10); this.txt_itemNo1.Name = "txt_itemNo1"; this.txt_itemNo1.Properties.Appearance.Options.UseFont = true; - this.txt_itemNo1.Size = new System.Drawing.Size(259, 28); + this.txt_itemNo1.Size = new System.Drawing.Size(203, 24); this.txt_itemNo1.StyleController = this.layoutMx1; this.txt_itemNo1.TabIndex = 222; this.txt_itemNo1.Tag = "itemNo1"; // // txt_itemName // - this.txt_itemName.Location = new System.Drawing.Point(1137, 12); - this.txt_itemName.Margin = new System.Windows.Forms.Padding(4); + this.txt_itemName.Location = new System.Drawing.Point(911, 10); this.txt_itemName.Name = "txt_itemName"; this.txt_itemName.Properties.Appearance.Options.UseFont = true; - this.txt_itemName.Size = new System.Drawing.Size(259, 28); + this.txt_itemName.Size = new System.Drawing.Size(205, 24); this.txt_itemName.StyleController = this.layoutMx1; this.txt_itemName.TabIndex = 222; this.txt_itemName.Tag = "itemDescription"; // // txt_itemDescription6 // - this.txt_itemDescription6.Location = new System.Drawing.Point(96, 47); - this.txt_itemDescription6.Margin = new System.Windows.Forms.Padding(4); + this.txt_itemDescription6.Location = new System.Drawing.Point(80, 48); this.txt_itemDescription6.Name = "txt_itemDescription6"; this.txt_itemDescription6.Properties.Appearance.Options.UseFont = true; - this.txt_itemDescription6.Size = new System.Drawing.Size(259, 28); + this.txt_itemDescription6.Size = new System.Drawing.Size(203, 24); this.txt_itemDescription6.StyleController = this.layoutMx1; this.txt_itemDescription6.TabIndex = 222; this.txt_itemDescription6.Tag = "itemDescription"; // // txt_quantity // - this.txt_quantity.Location = new System.Drawing.Point(443, 47); - this.txt_quantity.Margin = new System.Windows.Forms.Padding(4); + this.txt_quantity.Location = new System.Drawing.Point(357, 48); this.txt_quantity.Name = "txt_quantity"; this.txt_quantity.Properties.Appearance.Options.UseFont = true; - this.txt_quantity.Size = new System.Drawing.Size(259, 28); + this.txt_quantity.Size = new System.Drawing.Size(203, 24); this.txt_quantity.StyleController = this.layoutMx1; this.txt_quantity.TabIndex = 222; this.txt_quantity.Tag = "quantity"; // // txt_description // - this.txt_description.Location = new System.Drawing.Point(790, 47); - this.txt_description.Margin = new System.Windows.Forms.Padding(4); + this.txt_description.Location = new System.Drawing.Point(634, 48); this.txt_description.Name = "txt_description"; this.txt_description.Properties.Appearance.Options.UseFont = true; - this.txt_description.Size = new System.Drawing.Size(259, 28); + this.txt_description.Size = new System.Drawing.Size(203, 24); this.txt_description.StyleController = this.layoutMx1; this.txt_description.TabIndex = 222; this.txt_description.Tag = "description"; // // txt_fromDepot // - this.txt_fromDepot.Location = new System.Drawing.Point(443, 83); - this.txt_fromDepot.Margin = new System.Windows.Forms.Padding(4); + this.txt_fromDepot.Location = new System.Drawing.Point(357, 86); this.txt_fromDepot.Name = "txt_fromDepot"; this.txt_fromDepot.Properties.Appearance.Options.UseFont = true; - this.txt_fromDepot.Size = new System.Drawing.Size(259, 28); + this.txt_fromDepot.Size = new System.Drawing.Size(203, 24); this.txt_fromDepot.StyleController = this.layoutMx1; this.txt_fromDepot.TabIndex = 222; this.txt_fromDepot.Tag = "fromDepot"; + // + // txt_invDepot + // + this.txt_invDepot.Location = new System.Drawing.Point(634, 86); + this.txt_invDepot.Name = "txt_invDepot"; + this.txt_invDepot.Properties.Appearance.Options.UseFont = true; + this.txt_invDepot.Size = new System.Drawing.Size(203, 24); + this.txt_invDepot.StyleController = this.layoutMx1; + this.txt_invDepot.TabIndex = 222; + this.txt_invDepot.Tag = "invDepot"; + // + // txt_name + // + this.txt_name.Location = new System.Drawing.Point(80, 124); + this.txt_name.Name = "txt_name"; + this.txt_name.Properties.Appearance.Options.UseFont = true; + this.txt_name.Size = new System.Drawing.Size(203, 24); + this.txt_name.StyleController = this.layoutMx1; + this.txt_name.TabIndex = 222; + this.txt_name.Tag = "itemDescription"; + // + // txt_billNo + // + this.txt_billNo.Location = new System.Drawing.Point(80, 10); + this.txt_billNo.Name = "txt_billNo"; + this.txt_billNo.Properties.Appearance.Options.UseFont = true; + this.txt_billNo.Size = new System.Drawing.Size(203, 24); + this.txt_billNo.StyleController = this.layoutMx1; + this.txt_billNo.TabIndex = 222; + this.txt_billNo.Tag = "billNo"; + // + // layoutControlItem24 + // + this.layoutControlItem24.Control = this.lbGuid; + this.layoutControlItem24.Location = new System.Drawing.Point(568, 165); + this.layoutControlItem24.Name = "layoutControlItem24"; + this.layoutControlItem24.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem24.OptionsTableLayoutItem.RowIndex = 5; + this.layoutControlItem24.Size = new System.Drawing.Size(284, 34); + this.layoutControlItem24.Text = "lbGuid"; + this.layoutControlItem24.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem24.TextVisible = false; // // Root // @@ -718,7 +748,8 @@ this.layoutControlItem21, this.layoutControlItem11, this.layoutControlItem20, - this.layoutControlItem5}); + this.layoutControlItem5, + this.layoutControlItem10}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; @@ -742,21 +773,12 @@ rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition4.Height = 100D; rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition5.Height = 100D; - rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition6.Height = 100D; - rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition7.Height = 100D; - rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2, rowDefinition3, - rowDefinition4, - rowDefinition5, - rowDefinition6, - rowDefinition7}); - this.Root.Size = new System.Drawing.Size(1408, 271); + rowDefinition4}); + this.Root.Size = new System.Drawing.Size(1126, 168); this.Root.TextVisible = false; // // layoutControlItem2 @@ -764,182 +786,137 @@ this.layoutControlItem2.Control = this.txt_itemBarcode; this.layoutControlItem2.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem2.CustomizationFormText = "鐗╂枡鏉$爜"; - this.layoutControlItem2.Location = new System.Drawing.Point(347, 0); + this.layoutControlItem2.Location = new System.Drawing.Point(277, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; - this.layoutControlItem2.Size = new System.Drawing.Size(347, 35); + this.layoutControlItem2.Size = new System.Drawing.Size(277, 38); this.layoutControlItem2.Text = "鐗╂枡鏉$爜"; - this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem3 // this.layoutControlItem3.Control = this.txt_itemNo1; this.layoutControlItem3.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem3.CustomizationFormText = "鐗╂枡缂栫爜"; - this.layoutControlItem3.Location = new System.Drawing.Point(694, 0); + this.layoutControlItem3.Location = new System.Drawing.Point(554, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2; - this.layoutControlItem3.Size = new System.Drawing.Size(347, 35); + this.layoutControlItem3.Size = new System.Drawing.Size(277, 38); this.layoutControlItem3.Text = "鐗╂枡缂栫爜"; - this.layoutControlItem3.TextSize = new System.Drawing.Size(72, 22); - // - // layoutControlItem24 - // - this.layoutControlItem24.Control = this.lbGuid; - this.layoutControlItem24.Location = new System.Drawing.Point(568, 165); - this.layoutControlItem24.Name = "layoutControlItem24"; - this.layoutControlItem24.OptionsTableLayoutItem.ColumnIndex = 2; - this.layoutControlItem24.OptionsTableLayoutItem.RowIndex = 5; - this.layoutControlItem24.Size = new System.Drawing.Size(284, 34); - this.layoutControlItem24.Text = "lbGuid"; - this.layoutControlItem24.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem24.TextVisible = false; - // - // txt_invDepot - // - this.txt_invDepot.Location = new System.Drawing.Point(790, 83); - this.txt_invDepot.Margin = new System.Windows.Forms.Padding(4); - this.txt_invDepot.Name = "txt_invDepot"; - this.txt_invDepot.Properties.Appearance.Options.UseFont = true; - this.txt_invDepot.Size = new System.Drawing.Size(259, 28); - this.txt_invDepot.StyleController = this.layoutMx1; - this.txt_invDepot.TabIndex = 222; - this.txt_invDepot.Tag = "invDepot"; - // - // txt_name - // - this.txt_name.Location = new System.Drawing.Point(96, 119); - this.txt_name.Margin = new System.Windows.Forms.Padding(4); - this.txt_name.Name = "txt_name"; - this.txt_name.Properties.Appearance.Options.UseFont = true; - this.txt_name.Size = new System.Drawing.Size(259, 28); - this.txt_name.StyleController = this.layoutMx1; - this.txt_name.TabIndex = 222; - this.txt_name.Tag = "itemDescription"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem6 // this.layoutControlItem6.Control = this.txt_itemName; this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem6.CustomizationFormText = "鐗╂枡鍚嶇О"; - this.layoutControlItem6.Location = new System.Drawing.Point(1041, 0); + this.layoutControlItem6.Location = new System.Drawing.Point(831, 0); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 3; - this.layoutControlItem6.Size = new System.Drawing.Size(347, 35); + this.layoutControlItem6.Size = new System.Drawing.Size(279, 38); this.layoutControlItem6.Text = "鐗╂枡鍚嶇О"; - this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem7 // this.layoutControlItem7.Control = this.txt_itemDescription6; this.layoutControlItem7.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem7.CustomizationFormText = "瑙勬牸鍨嬪彿"; - this.layoutControlItem7.Location = new System.Drawing.Point(0, 35); + this.layoutControlItem7.Location = new System.Drawing.Point(0, 38); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem7.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem7.Size = new System.Drawing.Size(277, 38); this.layoutControlItem7.Text = "瑙勬牸鍨嬪彿"; - this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem8 // this.layoutControlItem8.Control = this.txt_quantity; this.layoutControlItem8.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem8.CustomizationFormText = "鏁伴噺"; - this.layoutControlItem8.Location = new System.Drawing.Point(347, 35); + this.layoutControlItem8.Location = new System.Drawing.Point(277, 38); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem8.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem8.Size = new System.Drawing.Size(277, 38); this.layoutControlItem8.Text = "鏁伴噺"; - this.layoutControlItem8.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem9 // this.layoutControlItem9.Control = this.txt_description; this.layoutControlItem9.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem9.CustomizationFormText = "浜ゆ槗淇℃伅"; - this.layoutControlItem9.Location = new System.Drawing.Point(694, 35); + this.layoutControlItem9.Location = new System.Drawing.Point(554, 38); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 2; this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem9.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem9.Size = new System.Drawing.Size(277, 38); this.layoutControlItem9.Text = "浜ゆ槗淇℃伅"; - this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem9.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem4 // this.layoutControlItem4.Control = this.txt_creatDate; this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem4.CustomizationFormText = "鍒涘缓鏃堕棿"; - this.layoutControlItem4.Location = new System.Drawing.Point(1041, 35); + this.layoutControlItem4.Location = new System.Drawing.Point(831, 38); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 3; this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem4.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem4.Size = new System.Drawing.Size(279, 38); this.layoutControlItem4.Text = "鍒涘缓鏃堕棿"; - this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem1 // this.layoutControlItem1.Control = this.txt_itemDescription1; this.layoutControlItem1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem1.CustomizationFormText = "浜ゆ槗绫诲瀷"; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 71); + this.layoutControlItem1.Location = new System.Drawing.Point(0, 76); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem1.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem1.Size = new System.Drawing.Size(277, 38); this.layoutControlItem1.Text = "浜ゆ槗绫诲瀷"; - this.layoutControlItem1.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem21 // this.layoutControlItem21.Control = this.txt_name; this.layoutControlItem21.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem21.CustomizationFormText = "浣跨敤缁勭粐"; - this.layoutControlItem21.Location = new System.Drawing.Point(0, 107); + this.layoutControlItem21.Location = new System.Drawing.Point(0, 114); this.layoutControlItem21.Name = "layoutControlItem21"; this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 3; - this.layoutControlItem21.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem21.Size = new System.Drawing.Size(277, 38); this.layoutControlItem21.Text = "浣跨敤缁勭粐"; - this.layoutControlItem21.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem21.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem11 // this.layoutControlItem11.Control = this.txt_fromDepot; this.layoutControlItem11.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem11.CustomizationFormText = "鍑哄簱浠撳簱"; - this.layoutControlItem11.Location = new System.Drawing.Point(347, 71); + this.layoutControlItem11.Location = new System.Drawing.Point(277, 76); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem11.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem11.Size = new System.Drawing.Size(277, 38); this.layoutControlItem11.Text = "鍑哄簱浠撳簱"; - this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem11.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem20 // this.layoutControlItem20.Control = this.txt_invDepot; this.layoutControlItem20.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; this.layoutControlItem20.CustomizationFormText = "鍏ュ簱浠撳簱"; - this.layoutControlItem20.Location = new System.Drawing.Point(694, 71); + this.layoutControlItem20.Location = new System.Drawing.Point(554, 76); this.layoutControlItem20.Name = "layoutControlItem20"; this.layoutControlItem20.OptionsTableLayoutItem.ColumnIndex = 2; this.layoutControlItem20.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem20.Size = new System.Drawing.Size(347, 36); + this.layoutControlItem20.Size = new System.Drawing.Size(277, 38); this.layoutControlItem20.Text = "鍏ュ簱浠撳簱"; - this.layoutControlItem20.TextSize = new System.Drawing.Size(72, 22); - // - // txt_billNo - // - this.txt_billNo.Location = new System.Drawing.Point(96, 12); - this.txt_billNo.Margin = new System.Windows.Forms.Padding(4); - this.txt_billNo.Name = "txt_billNo"; - this.txt_billNo.Properties.Appearance.Options.UseFont = true; - this.txt_billNo.Size = new System.Drawing.Size(259, 28); - this.txt_billNo.StyleController = this.layoutMx1; - this.txt_billNo.TabIndex = 222; - this.txt_billNo.Tag = "billNo"; + this.layoutControlItem20.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem5 // @@ -948,19 +925,40 @@ this.layoutControlItem5.CustomizationFormText = "鍗曟嵁缂栫爜"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 0); this.layoutControlItem5.Name = "layoutControlItem5"; - this.layoutControlItem5.Size = new System.Drawing.Size(347, 35); + this.layoutControlItem5.Size = new System.Drawing.Size(277, 38); this.layoutControlItem5.Text = "鍗曟嵁缂栫爜"; - this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 22); + this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 18); + // + // ucBtnPrint101 + // + this.ucBtnPrint101.allClickKey = null; + this.ucBtnPrint101.guidKey = null; + this.ucBtnPrint101.Location = new System.Drawing.Point(287, 124); + this.ucBtnPrint101.Margin = new System.Windows.Forms.Padding(0); + this.ucBtnPrint101.Name = "ucBtnPrint101"; + this.ucBtnPrint101.rptParameter = null; + this.ucBtnPrint101.Size = new System.Drawing.Size(273, 34); + this.ucBtnPrint101.TabIndex = 223; + // + // layoutControlItem10 + // + this.layoutControlItem10.Control = this.ucBtnPrint101; + this.layoutControlItem10.Location = new System.Drawing.Point(277, 114); + this.layoutControlItem10.Name = "layoutControlItem10"; + this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 3; + this.layoutControlItem10.Size = new System.Drawing.Size(277, 38); + this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem10.TextVisible = false; // // BTDetails // - this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1410, 834); + this.ClientSize = new System.Drawing.Size(1128, 682); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; - this.Margin = new System.Windows.Forms.Padding(4); this.Name = "BTDetails"; this.Text = "鏉$爜浜ゆ槗鏄庣粏"; ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); @@ -990,12 +988,13 @@ ((System.ComponentModel.ISupportInitialize)(this.txt_quantity.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_description.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fromDepot.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_invDepot.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_invDepot.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); @@ -1005,8 +1004,8 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); this.ResumeLayout(false); } @@ -1074,5 +1073,7 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem20; private DevExpress.XtraEditors.TextEdit txt_billNo; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private UserControl.UcBtnPrint ucBtnPrint101; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs index 46ee421..2660475 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs @@ -35,6 +35,14 @@ }, lbGuid); getPageList(1); pageBar1.PagerEvent += PageBar1_PagerEvent; + + //杩欐槸浠撳簱鏍囪瘑鍗★紝浠呬粎鎵撳嵃 + this.ucBtnPrint101.SetPlButton(false); + this.ucBtnPrint101.btnPrintClick += (s, e) => + { + _print101(); + }; + } private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) { @@ -172,5 +180,30 @@ MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } } + + + /// <summary> + /// 杩欐槸浠撳簱 + /// </summary> + private void _print101() + { + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_itemBarcode, gridView1); + ucBtnPrint101.guidKey = rowGuid; + if (rowGuid.Length < 36) + { + Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨浣犺鎵撳嵃鐨勮锛�"); + this.ucBtnPrint101.rptParameter = "return false"; + return; + } + this.ucBtnPrint101.rptParameter = "rpt_cktm{" + + "" + + "," + "" + + "," + "" + + "," + "" + + "," + "" + + "}"; + } } } \ No newline at end of file -- Gitblit v1.9.3