结果数据重传

This commit is contained in:
liming 蔡
2026-07-20 09:53:53 +08:00
parent 1ff8f70bcb
commit b297ef0add
3 changed files with 137 additions and 99 deletions
+42 -28
View File
@@ -49,9 +49,10 @@
//
// btnSelect
//
this.btnSelect.Location = new System.Drawing.Point(578, 26);
this.btnSelect.Location = new System.Drawing.Point(771, 32);
this.btnSelect.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(75, 23);
this.btnSelect.Size = new System.Drawing.Size(100, 29);
this.btnSelect.TabIndex = 12;
this.btnSelect.Text = "查询";
this.btnSelect.UseSelectable = true;
@@ -60,9 +61,10 @@
// metroLabel2
//
this.metroLabel2.AutoSize = true;
this.metroLabel2.Location = new System.Drawing.Point(1062, 31);
this.metroLabel2.Location = new System.Drawing.Point(1416, 39);
this.metroLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.metroLabel2.Name = "metroLabel2";
this.metroLabel2.Size = new System.Drawing.Size(18, 19);
this.metroLabel2.Size = new System.Drawing.Size(19, 20);
this.metroLabel2.TabIndex = 11;
this.metroLabel2.Text = "~";
this.metroLabel2.Visible = false;
@@ -70,9 +72,10 @@
// metroLabel1
//
this.metroLabel1.AutoSize = true;
this.metroLabel1.Location = new System.Drawing.Point(928, 37);
this.metroLabel1.Location = new System.Drawing.Point(1237, 46);
this.metroLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.metroLabel1.Name = "metroLabel1";
this.metroLabel1.Size = new System.Drawing.Size(79, 19);
this.metroLabel1.Size = new System.Drawing.Size(84, 20);
this.metroLabel1.TabIndex = 10;
this.metroLabel1.Text = "查询时间:";
this.metroLabel1.Visible = false;
@@ -81,10 +84,11 @@
//
this.dtEndTime.CustomFormat = "yyyy-MM-dd";
this.dtEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtEndTime.Location = new System.Drawing.Point(1086, 26);
this.dtEndTime.MinimumSize = new System.Drawing.Size(4, 29);
this.dtEndTime.Location = new System.Drawing.Point(1448, 32);
this.dtEndTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dtEndTime.MinimumSize = new System.Drawing.Size(0, 30);
this.dtEndTime.Name = "dtEndTime";
this.dtEndTime.Size = new System.Drawing.Size(106, 29);
this.dtEndTime.Size = new System.Drawing.Size(140, 30);
this.dtEndTime.TabIndex = 9;
this.dtEndTime.Value = new System.DateTime(2022, 3, 5, 0, 0, 0, 0);
this.dtEndTime.Visible = false;
@@ -93,10 +97,11 @@
//
this.dtStartTime.CustomFormat = "yyyy-MM-dd";
this.dtStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtStartTime.Location = new System.Drawing.Point(1008, 32);
this.dtStartTime.MinimumSize = new System.Drawing.Size(4, 29);
this.dtStartTime.Location = new System.Drawing.Point(1344, 40);
this.dtStartTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dtStartTime.MinimumSize = new System.Drawing.Size(0, 30);
this.dtStartTime.Name = "dtStartTime";
this.dtStartTime.Size = new System.Drawing.Size(104, 29);
this.dtStartTime.Size = new System.Drawing.Size(137, 30);
this.dtStartTime.TabIndex = 8;
this.dtStartTime.Value = new System.DateTime(2022, 3, 5, 0, 0, 0, 0);
this.dtStartTime.Visible = false;
@@ -104,9 +109,10 @@
// lblSelectStures
//
this.lblSelectStures.AutoSize = true;
this.lblSelectStures.Location = new System.Drawing.Point(833, 32);
this.lblSelectStures.Location = new System.Drawing.Point(1111, 40);
this.lblSelectStures.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblSelectStures.Name = "lblSelectStures";
this.lblSelectStures.Size = new System.Drawing.Size(0, 12);
this.lblSelectStures.Size = new System.Drawing.Size(0, 15);
this.lblSelectStures.TabIndex = 14;
//
// dgvData
@@ -139,7 +145,8 @@
this.dgvData.EnableHeadersVisualStyles = false;
this.dgvData.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.dgvData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.dgvData.Location = new System.Drawing.Point(3, 3);
this.dgvData.Location = new System.Drawing.Point(4, 4);
this.dgvData.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dgvData.Name = "dgvData";
this.dgvData.ReadOnly = true;
this.dgvData.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
@@ -156,7 +163,7 @@
this.dgvData.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
this.dgvData.RowTemplate.Height = 23;
this.dgvData.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvData.Size = new System.Drawing.Size(1371, 174);
this.dgvData.Size = new System.Drawing.Size(1828, 217);
this.dgvData.TabIndex = 15;
//
// txtOrderNum
@@ -165,9 +172,10 @@
//
//
this.txtOrderNum.CustomButton.Image = null;
this.txtOrderNum.CustomButton.Location = new System.Drawing.Point(130, 1);
this.txtOrderNum.CustomButton.Location = new System.Drawing.Point(233, 1);
this.txtOrderNum.CustomButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.txtOrderNum.CustomButton.Name = "";
this.txtOrderNum.CustomButton.Size = new System.Drawing.Size(21, 21);
this.txtOrderNum.CustomButton.Size = new System.Drawing.Size(36, 34);
this.txtOrderNum.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
this.txtOrderNum.CustomButton.TabIndex = 1;
this.txtOrderNum.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
@@ -175,7 +183,8 @@
this.txtOrderNum.CustomButton.Visible = false;
this.txtOrderNum.FontSize = MetroFramework.MetroTextBoxSize.Medium;
this.txtOrderNum.Lines = new string[0];
this.txtOrderNum.Location = new System.Drawing.Point(378, 29);
this.txtOrderNum.Location = new System.Drawing.Point(504, 36);
this.txtOrderNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.txtOrderNum.MaxLength = 32767;
this.txtOrderNum.Name = "txtOrderNum";
this.txtOrderNum.PasswordChar = '\0';
@@ -185,7 +194,7 @@
this.txtOrderNum.SelectionLength = 0;
this.txtOrderNum.SelectionStart = 0;
this.txtOrderNum.ShortcutsEnabled = true;
this.txtOrderNum.Size = new System.Drawing.Size(152, 23);
this.txtOrderNum.Size = new System.Drawing.Size(203, 29);
this.txtOrderNum.TabIndex = 16;
this.txtOrderNum.UseSelectable = true;
this.txtOrderNum.WaterMark = "输入要查询的工单";
@@ -195,17 +204,19 @@
// metroLabel8
//
this.metroLabel8.AutoSize = true;
this.metroLabel8.Location = new System.Drawing.Point(331, 30);
this.metroLabel8.Location = new System.Drawing.Point(441, 38);
this.metroLabel8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.metroLabel8.Name = "metroLabel8";
this.metroLabel8.Size = new System.Drawing.Size(51, 19);
this.metroLabel8.Size = new System.Drawing.Size(54, 20);
this.metroLabel8.TabIndex = 17;
this.metroLabel8.Text = "工单:";
//
// btnExcel
//
this.btnExcel.Location = new System.Drawing.Point(695, 26);
this.btnExcel.Location = new System.Drawing.Point(927, 32);
this.btnExcel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnExcel.Name = "btnExcel";
this.btnExcel.Size = new System.Drawing.Size(75, 23);
this.btnExcel.Size = new System.Drawing.Size(100, 29);
this.btnExcel.TabIndex = 18;
this.btnExcel.Text = "导出";
this.btnExcel.UseSelectable = true;
@@ -219,19 +230,20 @@
this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Controls.Add(this.dgvData, 0, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 72);
this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 90);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.45455F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 74.54546F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1377, 708);
this.tableLayoutPanel1.Size = new System.Drawing.Size(1836, 885);
this.tableLayoutPanel1.TabIndex = 19;
//
// FrmCCDQuery
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1386, 788);
this.ClientSize = new System.Drawing.Size(1848, 985);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.lblSelectStures);
this.Controls.Add(this.btnExcel);
@@ -243,7 +255,9 @@
this.Controls.Add(this.dtEndTime);
this.Controls.Add(this.dtStartTime);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "FrmCCDQuery";
this.Padding = new System.Windows.Forms.Padding(27, 75, 27, 25);
this.Resizable = false;
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.SystemShadow;
this.Text = "CCD统计数据查询";