From 39ff39b240e2751b608d8264381104c2093b6fb9 Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期四, 21 八月 2025 08:29:07 +0800
Subject: [PATCH] 条码交易明细 -- 黄昱昕
---
DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs | 526 +++++++++++++++++++++++++++++++++++++
DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs | 132 +++++++++
DevApp/Gs.DevApp/Gs.DevApp.csproj | 9
DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx | 120 ++++++++
4 files changed, 787 insertions(+), 0 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs
new file mode 100644
index 0000000..cc7b164
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.Designer.cs
@@ -0,0 +1,526 @@
+/* Create By GS EasyCode */
+namespace Gs.DevApp.DevFrm
+{
+ partial class BTDetails
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
+ this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
+ this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
+ this.split1 = new DevExpress.XtraEditors.SplitContainerControl();
+ this.gcMain1 = new DevExpress.XtraGrid.GridControl();
+ this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+ this.billNo = 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.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.pageBar1 = new UserControls.Data.UcPageBar();
+ this.description = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.fromDepotId = new DevExpress.XtraGrid.Columns.GridColumn();
+ this.invDepotId = new DevExpress.XtraGrid.Columns.GridColumn();
+ ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
+ this.xtraTabControl1.SuspendLayout();
+ this.xtraTabPage1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.split1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).BeginInit();
+ this.split1.Panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).BeginInit();
+ this.split1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // toolBarMenu1
+ //
+ this.toolBarMenu1.chkParameter = null;
+ this.toolBarMenu1.currentAction = null;
+ this.toolBarMenu1.defaultActions = "鏌ヨ";
+ this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.toolBarMenu1.guidKey = null;
+ this.toolBarMenu1.isSetBtn = false;
+ this.toolBarMenu1.Location = new System.Drawing.Point(0, 0);
+ this.toolBarMenu1.Margin = new System.Windows.Forms.Padding(5);
+ this.toolBarMenu1.Name = "toolBarMenu1";
+ this.toolBarMenu1.rptParameter = null;
+ this.toolBarMenu1.Size = new System.Drawing.Size(1410, 98);
+ this.toolBarMenu1.TabIndex = 0;
+ this.toolBarMenu1.xlsInService = null;
+ this.toolBarMenu1.xlsOutParameter = null;
+ //
+ // 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.Name = "xtraTabControl1";
+ this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
+ this.xtraTabControl1.Size = new System.Drawing.Size(1410, 736);
+ this.xtraTabControl1.TabIndex = 3;
+ this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+ this.xtraTabPage1});
+ //
+ // 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.Text = "鏁版嵁鍒楄〃";
+ //
+ // split1
+ //
+ this.split1.Dock = System.Windows.Forms.DockStyle.Fill;
+ 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
+ //
+ this.split1.Panel1.Controls.Add(this.gcMain1);
+ this.split1.Panel1.Controls.Add(this.pageBar1);
+ this.split1.Panel1.Text = "Panel1";
+ //
+ // split1.Panel2
+ //
+ this.split1.Panel2.Text = "Panel2";
+ this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
+ this.split1.Size = new System.Drawing.Size(1408, 698);
+ 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.TabIndex = 2;
+ this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+ this.gridView1});
+ //
+ // gridView1
+ //
+ this.gridView1.Appearance.Row.Options.UseFont = true;
+ this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.billNo,
+ this.itemBarcode,
+ this.itemNo1,
+ this.itemName,
+ this.itemModel,
+ this.quantity,
+ this.description,
+ 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.fromDepotId,
+ this.invDepotId});
+ this.gridView1.DetailHeight = 428;
+ this.gridView1.GridControl = this.gcMain1;
+ this.gridView1.IndicatorWidth = 62;
+ this.gridView1.Name = "gridView1";
+ this.gridView1.OptionsFind.ShowSearchNavButtons = false;
+ this.gridView1.OptionsView.ShowAutoFilterRow = true;
+ this.gridView1.OptionsView.ShowFooter = true;
+ this.gridView1.OptionsView.ShowGroupPanel = false;
+ //
+ // billNo
+ //
+ this.billNo.Caption = "鍗曟嵁缂栫爜";
+ this.billNo.FieldName = "billNo";
+ this.billNo.MinWidth = 30;
+ this.billNo.Name = "billNo";
+ this.billNo.Tag = "billNo";
+ this.billNo.Visible = true;
+ this.billNo.VisibleIndex = 0;
+ this.billNo.Width = 112;
+ //
+ // itemBarcode
+ //
+ this.itemBarcode.Caption = "鐗╂枡鏉$爜";
+ this.itemBarcode.FieldName = "itemBarcode";
+ this.itemBarcode.MinWidth = 30;
+ this.itemBarcode.Name = "itemBarcode";
+ this.itemBarcode.Tag = "itemBarcode";
+ this.itemBarcode.Visible = true;
+ this.itemBarcode.VisibleIndex = 1;
+ this.itemBarcode.Width = 112;
+ //
+ // itemNo1
+ //
+ this.itemNo1.Caption = "鐗╂枡缂栫爜";
+ this.itemNo1.FieldName = "itemNo1";
+ this.itemNo1.MinWidth = 30;
+ this.itemNo1.Name = "itemNo1";
+ this.itemNo1.Tag = "itemNo1";
+ this.itemNo1.Visible = true;
+ this.itemNo1.VisibleIndex = 2;
+ this.itemNo1.Width = 112;
+ //
+ // itemName
+ //
+ this.itemName.Caption = "鐗╂枡鍚嶇О";
+ this.itemName.FieldName = "itemName";
+ this.itemName.MinWidth = 30;
+ this.itemName.Name = "itemName";
+ this.itemName.Tag = "itemName";
+ this.itemName.Visible = true;
+ this.itemName.VisibleIndex = 3;
+ this.itemName.Width = 112;
+ //
+ // itemModel
+ //
+ this.itemModel.Caption = "瑙勬牸鍨嬪彿";
+ this.itemModel.FieldName = "itemModel";
+ this.itemModel.MinWidth = 30;
+ this.itemModel.Name = "itemModel";
+ this.itemModel.Tag = "itemModel";
+ this.itemModel.Visible = true;
+ this.itemModel.VisibleIndex = 4;
+ this.itemModel.Width = 112;
+ //
+ // quantity
+ //
+ this.quantity.Caption = "鏁伴噺";
+ this.quantity.FieldName = "quantity";
+ this.quantity.MinWidth = 30;
+ this.quantity.Name = "quantity";
+ this.quantity.Tag = "quantity";
+ this.quantity.Visible = true;
+ this.quantity.VisibleIndex = 5;
+ this.quantity.Width = 112;
+ //
+ // createBy
+ //
+ this.createBy.Caption = "鍒涘缓浜�";
+ this.createBy.FieldName = "createBy";
+ this.createBy.MinWidth = 30;
+ this.createBy.Name = "createBy";
+ this.createBy.Tag = "createBy";
+ this.createBy.Visible = true;
+ this.createBy.VisibleIndex = 7;
+ this.createBy.Width = 112;
+ //
+ // creatDate
+ //
+ this.creatDate.Caption = "鍒涘缓鏃堕棿";
+ this.creatDate.FieldName = "creatDate";
+ this.creatDate.MinWidth = 30;
+ this.creatDate.Name = "creatDate";
+ this.creatDate.Tag = "creatDate";
+ this.creatDate.Visible = true;
+ this.creatDate.VisibleIndex = 8;
+ this.creatDate.Width = 112;
+ //
+ // businessType
+ //
+ this.businessType.Caption = "浜ゆ槗绫诲瀷";
+ this.businessType.FieldName = "businessType";
+ this.businessType.MinWidth = 30;
+ this.businessType.Name = "businessType";
+ this.businessType.Tag = "businessType";
+ this.businessType.Visible = true;
+ this.businessType.VisibleIndex = 9;
+ this.businessType.Width = 112;
+ //
+ // fromDepot
+ //
+ this.fromDepot.Caption = "鍑哄簱浠撳簱";
+ this.fromDepot.FieldName = "fromDepot";
+ this.fromDepot.MinWidth = 30;
+ this.fromDepot.Name = "fromDepot";
+ this.fromDepot.Tag = "fromDepot";
+ this.fromDepot.Visible = true;
+ this.fromDepot.VisibleIndex = 10;
+ this.fromDepot.Width = 112;
+ //
+ // fromDepotCode
+ //
+ this.fromDepotCode.Caption = "鍑哄簱浠撳簱缂栫爜";
+ this.fromDepotCode.FieldName = "fromDepotCode";
+ this.fromDepotCode.MinWidth = 30;
+ this.fromDepotCode.Name = "fromDepotCode";
+ this.fromDepotCode.Tag = "fromDepotCode";
+ this.fromDepotCode.Visible = true;
+ this.fromDepotCode.VisibleIndex = 11;
+ this.fromDepotCode.Width = 112;
+ //
+ // fromInvDepotSectionsCode
+ //
+ this.fromInvDepotSectionsCode.Caption = "鍑哄簱璐т綅";
+ this.fromInvDepotSectionsCode.FieldName = "fromInvDepotSectionsCode";
+ this.fromInvDepotSectionsCode.MinWidth = 30;
+ this.fromInvDepotSectionsCode.Name = "fromInvDepotSectionsCode";
+ this.fromInvDepotSectionsCode.Tag = "fromInvDepotSectionsCode";
+ this.fromInvDepotSectionsCode.Visible = true;
+ this.fromInvDepotSectionsCode.VisibleIndex = 12;
+ this.fromInvDepotSectionsCode.Width = 112;
+ //
+ // invDepot
+ //
+ this.invDepot.Caption = "鍏ュ簱浠撳簱";
+ this.invDepot.FieldName = "invDepot";
+ this.invDepot.MinWidth = 30;
+ this.invDepot.Name = "invDepot";
+ this.invDepot.Tag = "invDepot";
+ this.invDepot.Visible = true;
+ this.invDepot.VisibleIndex = 13;
+ this.invDepot.Width = 112;
+ //
+ // invDepotCode
+ //
+ this.invDepotCode.Caption = "鍏ュ簱浠撳簱缂栫爜";
+ this.invDepotCode.FieldName = "invDepotCode";
+ this.invDepotCode.MinWidth = 30;
+ this.invDepotCode.Name = "invDepotCode";
+ this.invDepotCode.Tag = "invDepotCode";
+ this.invDepotCode.Visible = true;
+ this.invDepotCode.VisibleIndex = 14;
+ this.invDepotCode.Width = 112;
+ //
+ // toInvDepotSectionsCode
+ //
+ this.toInvDepotSectionsCode.Caption = "鍏ュ簱璐т綅";
+ this.toInvDepotSectionsCode.FieldName = "toInvDepotSectionsCode";
+ this.toInvDepotSectionsCode.MinWidth = 30;
+ this.toInvDepotSectionsCode.Name = "toInvDepotSectionsCode";
+ this.toInvDepotSectionsCode.Tag = "toInvDepotSectionsCode";
+ this.toInvDepotSectionsCode.Visible = true;
+ this.toInvDepotSectionsCode.VisibleIndex = 15;
+ this.toInvDepotSectionsCode.Width = 112;
+ //
+ // itemId
+ //
+ this.itemId.Caption = "鐗╂枡ID";
+ this.itemId.FieldName = "itemId";
+ this.itemId.MinWidth = 30;
+ this.itemId.Name = "itemId";
+ this.itemId.Tag = "itemId";
+ this.itemId.Width = 112;
+ //
+ // remarks
+ //
+ this.remarks.Caption = "鐗╂枡鍒嗙粍";
+ this.remarks.FieldName = "remarks";
+ this.remarks.MinWidth = 30;
+ this.remarks.Name = "remarks";
+ this.remarks.Tag = "remarks";
+ this.remarks.Width = 112;
+ //
+ // billNo1
+ //
+ this.billNo1.Caption = "棰嗘枡缂栧彿";
+ this.billNo1.FieldName = "billNo1";
+ this.billNo1.MinWidth = 30;
+ this.billNo1.Name = "billNo1";
+ this.billNo1.Tag = "billNo1";
+ this.billNo1.Width = 112;
+ //
+ // colorName
+ //
+ this.colorName.Caption = "棰滆壊";
+ this.colorName.FieldName = "colorName";
+ this.colorName.MinWidth = 30;
+ this.colorName.Name = "colorName";
+ this.colorName.Tag = "colorName";
+ this.colorName.Width = 112;
+ //
+ // transactionName
+ //
+ this.transactionName.Caption = "浜嬪姟绫诲瀷";
+ this.transactionName.FieldName = "transactionName";
+ this.transactionName.MinWidth = 30;
+ this.transactionName.Name = "transactionName";
+ this.transactionName.Tag = "transactionName";
+ this.transactionName.Width = 112;
+ //
+ // createDate1
+ //
+ this.createDate1.Caption = "鍒涘缓鏃堕棿";
+ this.createDate1.FieldName = "createDate1";
+ this.createDate1.MinWidth = 30;
+ this.createDate1.Name = "createDate1";
+ this.createDate1.Tag = "createDate1";
+ this.createDate1.Width = 112;
+ //
+ // lastupdateBy
+ //
+ this.lastupdateBy.Caption = "鏇存柊浜�";
+ this.lastupdateBy.FieldName = "lastupdateBy";
+ this.lastupdateBy.MinWidth = 30;
+ this.lastupdateBy.Name = "lastupdateBy";
+ this.lastupdateBy.Tag = "lastupdateBy";
+ this.lastupdateBy.Width = 112;
+ //
+ // lastupdateDate
+ //
+ this.lastupdateDate.Caption = "鏈�鍚庢洿鏂版椂闂�";
+ this.lastupdateDate.FieldName = "lastupdateDate";
+ this.lastupdateDate.MinWidth = 30;
+ this.lastupdateDate.Name = "lastupdateDate";
+ this.lastupdateDate.Tag = "lastupdateDate";
+ this.lastupdateDate.Width = 112;
+ //
+ // 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.Name = "pageBar1";
+ this.pageBar1.RecordCount = 0;
+ this.pageBar1.Size = new System.Drawing.Size(1408, 48);
+ this.pageBar1.TabIndex = 4;
+ this.pageBar1.TotalPages = 0;
+ //
+ // description
+ //
+ this.description.Caption = "浜ゆ槗淇℃伅";
+ this.description.FieldName = "description";
+ this.description.MinWidth = 30;
+ this.description.Name = "description";
+ this.description.Tag = "description";
+ this.description.Visible = true;
+ this.description.VisibleIndex = 6;
+ this.description.Width = 112;
+ //
+ // fromDepotId
+ //
+ this.fromDepotId.Caption = "婧愪粨搴揑D";
+ this.fromDepotId.FieldName = "fromDepotId";
+ this.fromDepotId.MinWidth = 30;
+ this.fromDepotId.Name = "fromDepotId";
+ this.fromDepotId.Tag = "fromDepotId";
+ this.fromDepotId.Width = 112;
+ //
+ // invDepotId
+ //
+ this.invDepotId.Caption = "鐩殑浠撳簱ID";
+ this.invDepotId.FieldName = "invDepotId";
+ this.invDepotId.MinWidth = 30;
+ this.invDepotId.Name = "invDepotId";
+ this.invDepotId.Tag = "invDepotId";
+ this.invDepotId.Width = 112;
+ //
+ // BTDetails
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1410, 834);
+ 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();
+ this.xtraTabControl1.ResumeLayout(false);
+ this.xtraTabPage1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).EndInit();
+ this.split1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.split1)).EndInit();
+ this.split1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+ #endregion
+ private UserControl.UcToolBarMenu toolBarMenu1;
+ private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
+ private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
+ private DevExpress.XtraEditors.SplitContainerControl split1;
+ private DevExpress.XtraGrid.GridControl gcMain1;
+ private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
+ private UserControls.Data.UcPageBar pageBar1;
+ private DevExpress.XtraGrid.Columns.GridColumn billNo;
+ private DevExpress.XtraGrid.Columns.GridColumn itemBarcode;
+ private DevExpress.XtraGrid.Columns.GridColumn itemId;
+ private DevExpress.XtraGrid.Columns.GridColumn itemName;
+ 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;
+ private DevExpress.XtraGrid.Columns.GridColumn invDepotId;
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs
new file mode 100644
index 0000000..327c597
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.cs
@@ -0,0 +1,132 @@
+using Gs.DevApp.Entity;
+using Gs.DevApp.ToolBox;
+using Gs.DevApp.UserControl;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Gs.DevApp.DevFrm
+{
+ public partial class BTDetails : DevExpress.XtraEditors.XtraForm
+ {
+ //鏉$爜浜ゆ槗鏄庣粏
+ string _webServiceName = "BTDetails/";
+ List<FilterEntity> _filterList = new List<FilterEntity>();
+ public BTDetails()
+ {
+ InitializeComponent();
+ this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
+ this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
+ this.toolBarMenu1.getXmlConfig();
+ Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, "", "", (value) =>
+ {
+
+ });
+ Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
+ {
+ }, (value) =>
+ {
+ getPageList(this.pageBar1.CurrentPage);
+ });
+ getPageList(1);
+ pageBar1.PagerEvent += PageBar1_PagerEvent;
+ }
+ private async void GridView1_ColumnFilterChanged(object sender, EventArgs e)
+ {
+ _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1);
+ await Task.Delay(100);
+ getPageList(1);
+ }
+
+ /// <summary>
+ /// 鍒嗛〉浜嬩欢
+ /// </summary>
+ /// <param name="curPage"></param>
+ /// <param name="pageSize"></param>
+ private void PageBar1_PagerEvent(int curPage, int pageSize)
+ {
+ getPageList(curPage);
+ }
+ /// <summary>
+ /// 鏌ヨ浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e)
+ {
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ gridView1.ActiveFilter.Clear();
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ var frm = new ShowFilter(gridView1.Columns, _filterList, this.GetType().FullName);
+ frm.UpdateParent += Frm_UpdateParent;
+ frm.ShowDialog();
+ }
+ /// <summary>
+ /// 鏌ヨ鍥炶皟
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void Frm_UpdateParent(object sender, UpdateParentEventArgs e)
+ {
+ _filterList = e.FilterList;
+ getPageList(1);
+ }
+
+ /// <summary>
+ /// 鍒锋柊浜嬩欢
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
+ {
+ getPageList(this.pageBar1.CurrentPage);
+ }
+
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="curPage">绗嚑椤�</param>
+ /// <param name="pageSize">姣忛〉鍑犳潯</param>
+ private void getPageList(int curPage)
+ {
+ gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
+ PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.INDEP_DATE", "asc", "", _sbSqlWhere.ToString());
+ string json = JsonConvert.SerializeObject(pgq);
+ try
+ {
+ var strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json);
+ ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn);
+ if (dd.rtnCode > 0)
+ {
+ DataTable dt = dd.rtnData.list;
+ gcMain1.BindingContext = new BindingContext();
+ gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged;
+ if (dt.Rows.Count > 0)
+ {
+ gcMain1.DataSource = dt;
+ gcMain1.ForceInitialize();
+ gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
+
+ }
+ else
+ UtilityHelper.SetDefaultTable(gcMain1, gridView1);
+ gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged;
+ pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉
+ pageBar1.CurrentPage = curPage;//褰撳墠椤�
+ pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟
+ }
+ else
+ {
+ ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg);
+ }
+ }
+ catch (Exception ex)
+ {
+ ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx
new file mode 100644
index 0000000..d58980a
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Rpt/BTDetails.resx
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj
index cfe3e40..40f1898 100644
--- a/DevApp/Gs.DevApp/Gs.DevApp.csproj
+++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -737,6 +737,12 @@
<Compile Include="DevFrm\Rk\HistoryDhmxcs.Designer.cs">
<DependentUpon>HistoryDhmxcs.cs</DependentUpon>
</Compile>
+ <Compile Include="DevFrm\Rpt\BTDetails.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="DevFrm\Rpt\BTDetails.Designer.cs">
+ <DependentUpon>BTDetails.cs</DependentUpon>
+ </Compile>
<Compile Include="DevFrm\Rpt\Ckcgmx.cs">
<SubType>Form</SubType>
</Compile>
@@ -1792,6 +1798,9 @@
<EmbeddedResource Include="DevFrm\Rk\HistoryDhmxcs.resx">
<DependentUpon>HistoryDhmxcs.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="DevFrm\Rpt\BTDetails.resx">
+ <DependentUpon>BTDetails.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="DevFrm\Rpt\Ckcgmx.resx">
<DependentUpon>Ckcgmx.cs</DependentUpon>
</EmbeddedResource>
--
Gitblit v1.9.3