From fcbd3be5b8cff86da965eaee5f17bd3831cb9a80 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期四, 11 九月 2025 17:47:11 +0800
Subject: [PATCH] bug
---
DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs | 315 ++++++++++++++++++++--------------------------------
DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs | 2
DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx | 3
3 files changed, 127 insertions(+), 193 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs
index 2e52155..5336f0f 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs
@@ -29,6 +29,7 @@
/// </summary>
private void InitializeComponent()
{
+ this.components = new System.ComponentModel.Container();
DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition();
DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition();
@@ -44,31 +45,24 @@
this.gcMain1 = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.billNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.description = new DevExpress.XtraGrid.Columns.GridColumn();
this.itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
this.itemNo1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.itemName = new DevExpress.XtraGrid.Columns.GridColumn();
this.itemModel = new DevExpress.XtraGrid.Columns.GridColumn();
this.quantity = new DevExpress.XtraGrid.Columns.GridColumn();
- this.description = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.fname = new DevExpress.XtraGrid.Columns.GridColumn();
this.createBy = new DevExpress.XtraGrid.Columns.GridColumn();
this.creatDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.businessType = new DevExpress.XtraGrid.Columns.GridColumn();
- this.fromDepot = new DevExpress.XtraGrid.Columns.GridColumn();
- this.fromDepotCode = new DevExpress.XtraGrid.Columns.GridColumn();
- this.fromInvDepotSectionsCode = new DevExpress.XtraGrid.Columns.GridColumn();
- this.invDepot = new DevExpress.XtraGrid.Columns.GridColumn();
- this.invDepotCode = new DevExpress.XtraGrid.Columns.GridColumn();
- this.toInvDepotSectionsCode = new DevExpress.XtraGrid.Columns.GridColumn();
- this.itemId = new DevExpress.XtraGrid.Columns.GridColumn();
- this.remarks = new DevExpress.XtraGrid.Columns.GridColumn();
- this.billNo1 = new DevExpress.XtraGrid.Columns.GridColumn();
- this.colorName = new DevExpress.XtraGrid.Columns.GridColumn();
- this.transactionName = new DevExpress.XtraGrid.Columns.GridColumn();
- this.createDate1 = new DevExpress.XtraGrid.Columns.GridColumn();
- this.lastupdateBy = new DevExpress.XtraGrid.Columns.GridColumn();
- this.lastupdateDate = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.depot = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.depotCode = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.depotCodeSection = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.workNo = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.name = new DevExpress.XtraGrid.Columns.GridColumn();
this.fromDepotId = new DevExpress.XtraGrid.Columns.GridColumn();
this.invDepotId = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.itemId = new DevExpress.XtraGrid.Columns.GridColumn();
this.pageBar1 = new UserControls.Data.UcPageBar();
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
@@ -100,6 +94,7 @@
this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+ this.tips = new DevExpress.Utils.ToolTipController(this.components);
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
this.xtraTabControl1.SuspendLayout();
this.xtraTabPage1.SuspendLayout();
@@ -217,34 +212,29 @@
//
// 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.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.billNo,
+ this.description,
this.itemBarcode,
this.itemNo1,
this.itemName,
this.itemModel,
this.quantity,
- this.description,
+ this.fname,
this.createBy,
this.creatDate,
this.businessType,
- this.fromDepot,
- this.fromDepotCode,
- this.fromInvDepotSectionsCode,
- this.invDepot,
- this.invDepotCode,
- this.toInvDepotSectionsCode,
- this.itemId,
- this.remarks,
- this.billNo1,
- this.colorName,
- this.transactionName,
- this.createDate1,
- this.lastupdateBy,
- this.lastupdateDate,
+ this.depot,
+ this.depotCode,
+ this.depotCodeSection,
+ this.workNo,
+ this.name,
this.fromDepotId,
- this.invDepotId});
+ this.invDepotId,
+ this.itemId});
this.gridView1.GridControl = this.gcMain1;
this.gridView1.IndicatorWidth = 50;
this.gridView1.Name = "gridView1";
@@ -254,7 +244,7 @@
//
// billNo
//
- this.billNo.Caption = "鍗曟嵁缂栫爜";
+ this.billNo.Caption = "涓氬姟鍗曞彿";
this.billNo.FieldName = "billNo";
this.billNo.MinWidth = 24;
this.billNo.Name = "billNo";
@@ -262,6 +252,21 @@
this.billNo.Visible = true;
this.billNo.VisibleIndex = 0;
this.billNo.Width = 90;
+ //
+ // description
+ //
+ this.description.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.description.AppearanceCell.Options.UseForeColor = true;
+ this.description.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.description.AppearanceHeader.Options.UseForeColor = true;
+ this.description.Caption = "涓氬姟绫诲瀷";
+ this.description.FieldName = "description";
+ this.description.MinWidth = 24;
+ this.description.Name = "description";
+ this.description.Tag = "description";
+ this.description.Visible = true;
+ this.description.VisibleIndex = 1;
+ this.description.Width = 90;
//
// itemBarcode
//
@@ -271,7 +276,7 @@
this.itemBarcode.Name = "itemBarcode";
this.itemBarcode.Tag = "itemBarcode";
this.itemBarcode.Visible = true;
- this.itemBarcode.VisibleIndex = 1;
+ this.itemBarcode.VisibleIndex = 2;
this.itemBarcode.Width = 90;
//
// itemNo1
@@ -282,7 +287,7 @@
this.itemNo1.Name = "itemNo1";
this.itemNo1.Tag = "itemNo1";
this.itemNo1.Visible = true;
- this.itemNo1.VisibleIndex = 2;
+ this.itemNo1.VisibleIndex = 3;
this.itemNo1.Width = 90;
//
// itemName
@@ -293,7 +298,7 @@
this.itemName.Name = "itemName";
this.itemName.Tag = "itemName";
this.itemName.Visible = true;
- this.itemName.VisibleIndex = 3;
+ this.itemName.VisibleIndex = 4;
this.itemName.Width = 90;
//
// itemModel
@@ -304,7 +309,7 @@
this.itemModel.Name = "itemModel";
this.itemModel.Tag = "itemModel";
this.itemModel.Visible = true;
- this.itemModel.VisibleIndex = 4;
+ this.itemModel.VisibleIndex = 5;
this.itemModel.Width = 90;
//
// quantity
@@ -315,19 +320,19 @@
this.quantity.Name = "quantity";
this.quantity.Tag = "quantity";
this.quantity.Visible = true;
- this.quantity.VisibleIndex = 5;
+ this.quantity.VisibleIndex = 6;
this.quantity.Width = 90;
//
- // description
+ // fname
//
- this.description.Caption = "浜ゆ槗淇℃伅";
- this.description.FieldName = "description";
- this.description.MinWidth = 24;
- this.description.Name = "description";
- this.description.Tag = "description";
- this.description.Visible = true;
- this.description.VisibleIndex = 6;
- this.description.Width = 90;
+ this.fname.Caption = "鍗曚綅";
+ this.fname.FieldName = "fname";
+ this.fname.MinWidth = 24;
+ this.fname.Name = "fname";
+ this.fname.Tag = "fname";
+ this.fname.Visible = true;
+ this.fname.VisibleIndex = 7;
+ this.fname.Width = 90;
//
// createBy
//
@@ -337,7 +342,7 @@
this.createBy.Name = "createBy";
this.createBy.Tag = "createBy";
this.createBy.Visible = true;
- this.createBy.VisibleIndex = 7;
+ this.createBy.VisibleIndex = 8;
this.createBy.Width = 90;
//
// creatDate
@@ -348,157 +353,80 @@
this.creatDate.Name = "creatDate";
this.creatDate.Tag = "creatDate";
this.creatDate.Visible = true;
- this.creatDate.VisibleIndex = 8;
+ this.creatDate.VisibleIndex = 9;
this.creatDate.Width = 90;
//
// businessType
//
+ this.businessType.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.businessType.AppearanceCell.Options.UseForeColor = true;
+ this.businessType.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.businessType.AppearanceHeader.Options.UseForeColor = true;
this.businessType.Caption = "浜ゆ槗绫诲瀷";
this.businessType.FieldName = "businessType";
this.businessType.MinWidth = 24;
this.businessType.Name = "businessType";
this.businessType.Tag = "businessType";
this.businessType.Visible = true;
- this.businessType.VisibleIndex = 9;
- this.businessType.Width = 90;
+ this.businessType.VisibleIndex = 10;
//
- // fromDepot
+ // depot
//
- this.fromDepot.Caption = "鍑哄簱浠撳簱";
- this.fromDepot.FieldName = "fromDepot";
- this.fromDepot.MinWidth = 24;
- this.fromDepot.Name = "fromDepot";
- this.fromDepot.Tag = "fromDepot";
- this.fromDepot.Visible = true;
- this.fromDepot.VisibleIndex = 10;
- this.fromDepot.Width = 90;
+ this.depot.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
+ this.depot.AppearanceCell.Options.UseForeColor = true;
+ this.depot.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
+ this.depot.AppearanceHeader.Options.UseForeColor = true;
+ this.depot.Caption = "浠撳簱";
+ this.depot.FieldName = "depot";
+ this.depot.MinWidth = 24;
+ this.depot.Name = "depot";
+ this.depot.Tag = "depot";
+ this.depot.Visible = true;
+ this.depot.VisibleIndex = 11;
+ this.depot.Width = 90;
//
- // fromDepotCode
+ // depotCode
//
- this.fromDepotCode.Caption = "鍑哄簱浠撳簱缂栫爜";
- this.fromDepotCode.FieldName = "fromDepotCode";
- this.fromDepotCode.MinWidth = 24;
- this.fromDepotCode.Name = "fromDepotCode";
- this.fromDepotCode.Tag = "fromDepotCode";
- this.fromDepotCode.Visible = true;
- this.fromDepotCode.VisibleIndex = 11;
- this.fromDepotCode.Width = 90;
+ this.depotCode.Caption = "浠撳簱缂栫爜";
+ this.depotCode.FieldName = "depotCode";
+ this.depotCode.MinWidth = 24;
+ this.depotCode.Name = "depotCode";
+ this.depotCode.Tag = "depotCode";
+ this.depotCode.Visible = true;
+ this.depotCode.VisibleIndex = 12;
+ this.depotCode.Width = 90;
//
- // fromInvDepotSectionsCode
+ // depotCodeSection
//
- this.fromInvDepotSectionsCode.Caption = "鍑哄簱璐т綅";
- this.fromInvDepotSectionsCode.FieldName = "fromInvDepotSectionsCode";
- this.fromInvDepotSectionsCode.MinWidth = 24;
- this.fromInvDepotSectionsCode.Name = "fromInvDepotSectionsCode";
- this.fromInvDepotSectionsCode.Tag = "fromInvDepotSectionsCode";
- this.fromInvDepotSectionsCode.Visible = true;
- this.fromInvDepotSectionsCode.VisibleIndex = 12;
- this.fromInvDepotSectionsCode.Width = 90;
+ this.depotCodeSection.Caption = "璐т綅";
+ this.depotCodeSection.FieldName = "depotCodeSection";
+ this.depotCodeSection.MinWidth = 24;
+ this.depotCodeSection.Name = "depotCodeSection";
+ this.depotCodeSection.Tag = "depotCodeSection";
+ this.depotCodeSection.Visible = true;
+ this.depotCodeSection.VisibleIndex = 13;
+ this.depotCodeSection.Width = 90;
//
- // invDepot
+ // workNo
//
- this.invDepot.Caption = "鍏ュ簱浠撳簱";
- this.invDepot.FieldName = "invDepot";
- this.invDepot.MinWidth = 24;
- this.invDepot.Name = "invDepot";
- this.invDepot.Tag = "invDepot";
- this.invDepot.Visible = true;
- this.invDepot.VisibleIndex = 13;
- this.invDepot.Width = 90;
+ this.workNo.Caption = "鐢宠鍗曞彿";
+ this.workNo.FieldName = "workNo";
+ this.workNo.MinWidth = 24;
+ this.workNo.Name = "workNo";
+ this.workNo.Tag = "workNo";
+ this.workNo.Visible = true;
+ this.workNo.VisibleIndex = 14;
//
- // invDepotCode
+ // name
//
- this.invDepotCode.Caption = "鍏ュ簱浠撳簱缂栫爜";
- this.invDepotCode.FieldName = "invDepotCode";
- this.invDepotCode.MinWidth = 24;
- this.invDepotCode.Name = "invDepotCode";
- this.invDepotCode.Tag = "invDepotCode";
- this.invDepotCode.Visible = true;
- this.invDepotCode.VisibleIndex = 14;
- this.invDepotCode.Width = 90;
- //
- // toInvDepotSectionsCode
- //
- this.toInvDepotSectionsCode.Caption = "鍏ュ簱璐т綅";
- this.toInvDepotSectionsCode.FieldName = "toInvDepotSectionsCode";
- this.toInvDepotSectionsCode.MinWidth = 24;
- this.toInvDepotSectionsCode.Name = "toInvDepotSectionsCode";
- this.toInvDepotSectionsCode.Tag = "toInvDepotSectionsCode";
- this.toInvDepotSectionsCode.Visible = true;
- this.toInvDepotSectionsCode.VisibleIndex = 15;
- this.toInvDepotSectionsCode.Width = 90;
- //
- // itemId
- //
- this.itemId.Caption = "鐗╂枡ID";
- this.itemId.FieldName = "itemId";
- this.itemId.MinWidth = 24;
- this.itemId.Name = "itemId";
- this.itemId.Tag = "itemId";
- this.itemId.Width = 90;
- //
- // remarks
- //
- this.remarks.Caption = "鐗╂枡鍒嗙粍";
- this.remarks.FieldName = "remarks";
- this.remarks.MinWidth = 24;
- this.remarks.Name = "remarks";
- this.remarks.Tag = "remarks";
- this.remarks.Width = 90;
- //
- // billNo1
- //
- this.billNo1.Caption = "棰嗘枡缂栧彿";
- this.billNo1.FieldName = "billNo1";
- this.billNo1.MinWidth = 24;
- this.billNo1.Name = "billNo1";
- this.billNo1.Tag = "billNo1";
- this.billNo1.Width = 90;
- //
- // colorName
- //
- this.colorName.Caption = "棰滆壊";
- this.colorName.FieldName = "colorName";
- this.colorName.MinWidth = 24;
- this.colorName.Name = "colorName";
- this.colorName.Tag = "colorName";
- this.colorName.Width = 90;
- //
- // transactionName
- //
- this.transactionName.Caption = "浜嬪姟绫诲瀷";
- this.transactionName.FieldName = "transactionName";
- this.transactionName.MinWidth = 24;
- this.transactionName.Name = "transactionName";
- this.transactionName.Tag = "transactionName";
- this.transactionName.Width = 90;
- //
- // createDate1
- //
- this.createDate1.Caption = "鍒涘缓鏃堕棿";
- this.createDate1.FieldName = "createDate1";
- this.createDate1.MinWidth = 24;
- this.createDate1.Name = "createDate1";
- this.createDate1.Tag = "createDate1";
- this.createDate1.Width = 90;
- //
- // lastupdateBy
- //
- this.lastupdateBy.Caption = "鏇存柊浜�";
- this.lastupdateBy.FieldName = "lastupdateBy";
- this.lastupdateBy.MinWidth = 24;
- this.lastupdateBy.Name = "lastupdateBy";
- this.lastupdateBy.Tag = "lastupdateBy";
- this.lastupdateBy.Width = 90;
- //
- // lastupdateDate
- //
- this.lastupdateDate.Caption = "鏈�鍚庢洿鏂版椂闂�";
- this.lastupdateDate.FieldName = "lastupdateDate";
- this.lastupdateDate.MinWidth = 24;
- this.lastupdateDate.Name = "lastupdateDate";
- this.lastupdateDate.Tag = "lastupdateDate";
- this.lastupdateDate.Width = 90;
+ this.name.Caption = "浣跨敤缁勭粐";
+ this.name.FieldName = "name";
+ this.name.MinWidth = 24;
+ this.name.Name = "name";
+ this.name.Tag = "name";
+ this.name.Visible = true;
+ this.name.VisibleIndex = 15;
+ this.name.Width = 90;
//
// fromDepotId
//
@@ -517,6 +445,15 @@
this.invDepotId.Name = "invDepotId";
this.invDepotId.Tag = "invDepotId";
this.invDepotId.Width = 90;
+ //
+ // itemId
+ //
+ this.itemId.Caption = "鐗╂枡ID";
+ this.itemId.FieldName = "itemId";
+ this.itemId.MinWidth = 24;
+ this.itemId.Name = "itemId";
+ this.itemId.Tag = "itemId";
+ this.itemId.Width = 90;
//
// pageBar1
//
@@ -995,21 +932,7 @@
private DevExpress.XtraGrid.Columns.GridColumn itemModel;
private DevExpress.XtraGrid.Columns.GridColumn quantity;
private DevExpress.XtraGrid.Columns.GridColumn creatDate;
- private DevExpress.XtraGrid.Columns.GridColumn businessType;
- private DevExpress.XtraGrid.Columns.GridColumn fromDepot;
- private DevExpress.XtraGrid.Columns.GridColumn invDepot;
- private DevExpress.XtraGrid.Columns.GridColumn fromDepotCode;
- private DevExpress.XtraGrid.Columns.GridColumn fromInvDepotSectionsCode;
- private DevExpress.XtraGrid.Columns.GridColumn invDepotCode;
- private DevExpress.XtraGrid.Columns.GridColumn toInvDepotSectionsCode;
- private DevExpress.XtraGrid.Columns.GridColumn billNo1;
- private DevExpress.XtraGrid.Columns.GridColumn transactionName;
- private DevExpress.XtraGrid.Columns.GridColumn colorName;
- private DevExpress.XtraGrid.Columns.GridColumn remarks;
private DevExpress.XtraGrid.Columns.GridColumn createBy;
- private DevExpress.XtraGrid.Columns.GridColumn createDate1;
- private DevExpress.XtraGrid.Columns.GridColumn lastupdateBy;
- private DevExpress.XtraGrid.Columns.GridColumn lastupdateDate;
private DevExpress.XtraGrid.Columns.GridColumn itemNo1;
private DevExpress.XtraGrid.Columns.GridColumn description;
private DevExpress.XtraGrid.Columns.GridColumn fromDepotId;
@@ -1044,5 +967,13 @@
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem20;
private DevExpress.XtraEditors.TextEdit txt_billNo;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+ private DevExpress.XtraGrid.Columns.GridColumn workNo;
+ private DevExpress.XtraGrid.Columns.GridColumn businessType;
+ private DevExpress.XtraGrid.Columns.GridColumn depot;
+ private DevExpress.XtraGrid.Columns.GridColumn depotCode;
+ private DevExpress.XtraGrid.Columns.GridColumn depotCodeSection;
+ private DevExpress.XtraGrid.Columns.GridColumn name;
+ private DevExpress.XtraGrid.Columns.GridColumn fname;
+ private DevExpress.Utils.ToolTipController tips;
}
}
\ 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 661abe1..8911700 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs
@@ -25,7 +25,7 @@
Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, "", "", (value) =>
{
Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
- });
+ }, tips);
Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
{
getModel(value);
diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx
index d58980a..a4826a3 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx
@@ -117,4 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
+ <metadata name="tips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
</root>
\ No newline at end of file
--
Gitblit v1.9.3