|
@@ -52,19 +52,8 @@ namespace lqnet.Forms
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.prodtDesig_sel = new System.Windows.Forms.TextBox();
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
- this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.numDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.proceNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.taskListBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.CheckItemComboBox = new System.Windows.Forms.ComboBox();
|
|
|
this.slectBt = new System.Windows.Forms.Button();
|
|
@@ -93,6 +82,15 @@ namespace lqnet.Forms
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
+ this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.numDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.proceNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskListBindingSource)).BeginInit();
|
|
|
this.groupBox1.SuspendLayout();
|
|
@@ -117,30 +115,20 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
|
this.dataGridView1.AutoGenerateColumns = false;
|
|
|
- this.dataGridView1.BackgroundColor = System.Drawing.Color.SkyBlue;
|
|
|
+ this.dataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
|
|
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
- this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.Index,
|
|
|
this.idDataGridViewTextBoxColumn,
|
|
|
this.prodtDesigDataGridViewTextBoxColumn,
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn,
|
|
|
this.numDataGridViewTextBoxColumn,
|
|
|
this.groupOrderCodeDataGridViewTextBoxColumn,
|
|
|
this.proceNameDataGridViewTextBoxColumn,
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn,
|
|
|
this.groupProceIdDataGridViewTextBoxColumn,
|
|
|
this.groupProceCodeDataGridViewTextBoxColumn});
|
|
|
this.dataGridView1.DataSource = this.taskListBindingSource;
|
|
|
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
|
|
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 14F);
|
|
|
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(8, 81);
|
|
|
this.dataGridView1.MultiSelect = false;
|
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
@@ -153,90 +141,6 @@ namespace lqnet.Forms
|
|
|
this.dataGridView1.TabIndex = 2;
|
|
|
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellClick);
|
|
|
//
|
|
|
- // Index
|
|
|
- //
|
|
|
- this.Index.DataPropertyName = "Index";
|
|
|
- this.Index.HeaderText = "序号";
|
|
|
- this.Index.MinimumWidth = 10;
|
|
|
- this.Index.Name = "Index";
|
|
|
- this.Index.ReadOnly = true;
|
|
|
- this.Index.Width = 110;
|
|
|
- //
|
|
|
- // idDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.idDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderId";
|
|
|
- this.idDataGridViewTextBoxColumn.HeaderText = "调度单id";
|
|
|
- this.idDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn";
|
|
|
- this.idDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.idDataGridViewTextBoxColumn.Visible = false;
|
|
|
- this.idDataGridViewTextBoxColumn.Width = 150;
|
|
|
- //
|
|
|
- // prodtDesigDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn.DataPropertyName = "ProdtDesig";
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn.HeaderText = "产品代号";
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn.Name = "prodtDesigDataGridViewTextBoxColumn";
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.prodtDesigDataGridViewTextBoxColumn.Width = 180;
|
|
|
- //
|
|
|
- // numDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.numDataGridViewTextBoxColumn.DataPropertyName = "PlanAmt";
|
|
|
- this.numDataGridViewTextBoxColumn.HeaderText = "数量";
|
|
|
- this.numDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.numDataGridViewTextBoxColumn.Name = "numDataGridViewTextBoxColumn";
|
|
|
- this.numDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.numDataGridViewTextBoxColumn.Width = 130;
|
|
|
- //
|
|
|
- // groupOrderCodeDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderCode";
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.HeaderText = "调度单号";
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.Name = "groupOrderCodeDataGridViewTextBoxColumn";
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.Width = 220;
|
|
|
- //
|
|
|
- // proceNameDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.proceNameDataGridViewTextBoxColumn.DataPropertyName = "ProceName";
|
|
|
- this.proceNameDataGridViewTextBoxColumn.HeaderText = "工序名称";
|
|
|
- this.proceNameDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.proceNameDataGridViewTextBoxColumn.Name = "proceNameDataGridViewTextBoxColumn";
|
|
|
- this.proceNameDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.proceNameDataGridViewTextBoxColumn.Width = 220;
|
|
|
- //
|
|
|
- // prodtBatchDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.DataPropertyName = "ProdtBatch";
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.HeaderText = "生产批次";
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.Name = "prodtBatchDataGridViewTextBoxColumn";
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.Width = 180;
|
|
|
- //
|
|
|
- // groupProceIdDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.DataPropertyName = "GroupProceId";
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.HeaderText = "工序id";
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.Name = "groupProceIdDataGridViewTextBoxColumn";
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.Visible = false;
|
|
|
- this.groupProceIdDataGridViewTextBoxColumn.Width = 150;
|
|
|
- //
|
|
|
- // groupProceCodeDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.DataPropertyName = "ProceCode";
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.HeaderText = "工序编号";
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.Name = "groupProceCodeDataGridViewTextBoxColumn";
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.Visible = false;
|
|
|
- this.groupProceCodeDataGridViewTextBoxColumn.Width = 150;
|
|
|
- //
|
|
|
// taskListBindingSource
|
|
|
//
|
|
|
this.taskListBindingSource.DataSource = typeof(lqnet.Entities.Tasks);
|
|
@@ -244,13 +148,14 @@ namespace lqnet.Forms
|
|
|
// CheckItemComboBox
|
|
|
//
|
|
|
this.CheckItemComboBox.DisplayMember = "checkName";
|
|
|
+ this.CheckItemComboBox.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
this.CheckItemComboBox.FormattingEnabled = true;
|
|
|
this.CheckItemComboBox.Items.AddRange(new object[] {
|
|
|
"绝缘介电强度",
|
|
|
"外观/尺寸"});
|
|
|
this.CheckItemComboBox.Location = new System.Drawing.Point(13, 72);
|
|
|
this.CheckItemComboBox.Name = "CheckItemComboBox";
|
|
|
- this.CheckItemComboBox.Size = new System.Drawing.Size(240, 26);
|
|
|
+ this.CheckItemComboBox.Size = new System.Drawing.Size(240, 32);
|
|
|
this.CheckItemComboBox.TabIndex = 5;
|
|
|
this.CheckItemComboBox.Text = "请选择";
|
|
|
this.CheckItemComboBox.SelectionChangeCommitted += new System.EventHandler(this.CheckItemComboBox_SelectionChangeCommitted);
|
|
@@ -311,44 +216,49 @@ namespace lqnet.Forms
|
|
|
// checkLabel
|
|
|
//
|
|
|
this.checkLabel.AutoSize = true;
|
|
|
- this.checkLabel.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
+ this.checkLabel.Font = new System.Drawing.Font("宋体", 11F);
|
|
|
+ this.checkLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(121)))), ((int)(((byte)(147)))));
|
|
|
this.checkLabel.Location = new System.Drawing.Point(17, 36);
|
|
|
this.checkLabel.Name = "checkLabel";
|
|
|
- this.checkLabel.Size = new System.Drawing.Size(69, 20);
|
|
|
+ this.checkLabel.Size = new System.Drawing.Size(76, 22);
|
|
|
this.checkLabel.TabIndex = 25;
|
|
|
this.checkLabel.Text = "检验项";
|
|
|
//
|
|
|
// startIdxLabel
|
|
|
//
|
|
|
this.startIdxLabel.AutoSize = true;
|
|
|
- this.startIdxLabel.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
+ this.startIdxLabel.Font = new System.Drawing.Font("宋体", 11F);
|
|
|
+ this.startIdxLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(121)))), ((int)(((byte)(147)))));
|
|
|
this.startIdxLabel.Location = new System.Drawing.Point(292, 71);
|
|
|
this.startIdxLabel.Name = "startIdxLabel";
|
|
|
- this.startIdxLabel.Size = new System.Drawing.Size(89, 20);
|
|
|
+ this.startIdxLabel.Size = new System.Drawing.Size(98, 22);
|
|
|
this.startIdxLabel.TabIndex = 28;
|
|
|
this.startIdxLabel.Text = "开始坐标";
|
|
|
//
|
|
|
// startIdxTextbox
|
|
|
//
|
|
|
this.startIdxTextbox.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
+ this.startIdxTextbox.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
this.startIdxTextbox.Location = new System.Drawing.Point(395, 72);
|
|
|
this.startIdxTextbox.Name = "startIdxTextbox";
|
|
|
- this.startIdxTextbox.Size = new System.Drawing.Size(165, 21);
|
|
|
+ this.startIdxTextbox.Size = new System.Drawing.Size(165, 28);
|
|
|
this.startIdxTextbox.TabIndex = 29;
|
|
|
//
|
|
|
// mergeCountLabel
|
|
|
//
|
|
|
this.mergeCountLabel.AutoSize = true;
|
|
|
- this.mergeCountLabel.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
+ this.mergeCountLabel.Font = new System.Drawing.Font("宋体", 11F);
|
|
|
+ this.mergeCountLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(121)))), ((int)(((byte)(147)))));
|
|
|
this.mergeCountLabel.Location = new System.Drawing.Point(600, 71);
|
|
|
this.mergeCountLabel.Name = "mergeCountLabel";
|
|
|
- this.mergeCountLabel.Size = new System.Drawing.Size(129, 20);
|
|
|
+ this.mergeCountLabel.Size = new System.Drawing.Size(142, 22);
|
|
|
this.mergeCountLabel.TabIndex = 30;
|
|
|
this.mergeCountLabel.Text = "产品合并行数";
|
|
|
//
|
|
|
// groupBox1
|
|
|
//
|
|
|
this.groupBox1.Controls.Add(this.dataGridView2);
|
|
|
+ this.groupBox1.Font = new System.Drawing.Font("宋体", 9F);
|
|
|
this.groupBox1.Location = new System.Drawing.Point(286, 119);
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
this.groupBox1.Size = new System.Drawing.Size(1020, 420);
|
|
@@ -360,10 +270,10 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
this.dataGridView2.AllowUserToAddRows = false;
|
|
|
this.dataGridView2.AutoGenerateColumns = false;
|
|
|
- this.dataGridView2.BackgroundColor = System.Drawing.Color.SkyBlue;
|
|
|
+ this.dataGridView2.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
|
|
this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 14F);
|
|
|
- this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
|
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 14F);
|
|
|
+ this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.dataGridView2.ColumnHeadersHeight = 30;
|
|
|
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.indexDataGridViewTextBoxColumn,
|
|
@@ -380,7 +290,7 @@ namespace lqnet.Forms
|
|
|
this.dataGridView2.RowTemplate.Height = 50;
|
|
|
this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.dataGridView2.ShowCellToolTips = false;
|
|
|
- this.dataGridView2.Size = new System.Drawing.Size(1010, 400);
|
|
|
+ this.dataGridView2.Size = new System.Drawing.Size(1010, 430);
|
|
|
this.dataGridView2.TabIndex = 34;
|
|
|
//
|
|
|
// indexDataGridViewTextBoxColumn
|
|
@@ -390,7 +300,7 @@ namespace lqnet.Forms
|
|
|
this.indexDataGridViewTextBoxColumn.MinimumWidth = 8;
|
|
|
this.indexDataGridViewTextBoxColumn.Name = "indexDataGridViewTextBoxColumn";
|
|
|
this.indexDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.indexDataGridViewTextBoxColumn.Width = 150;
|
|
|
+ this.indexDataGridViewTextBoxColumn.Width = 60;
|
|
|
//
|
|
|
// importColLabelDataGridViewTextBoxColumn
|
|
|
//
|
|
@@ -434,10 +344,11 @@ namespace lqnet.Forms
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Font = new System.Drawing.Font("宋体", 10.5F);
|
|
|
+ this.label1.Font = new System.Drawing.Font("宋体", 11F);
|
|
|
+ this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(121)))), ((int)(((byte)(147)))));
|
|
|
this.label1.Location = new System.Drawing.Point(17, 41);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(94, 21);
|
|
|
+ this.label1.Size = new System.Drawing.Size(98, 22);
|
|
|
this.label1.TabIndex = 35;
|
|
|
this.label1.Text = "产品代号";
|
|
|
//
|
|
@@ -453,23 +364,25 @@ namespace lqnet.Forms
|
|
|
// choosedFileLabel
|
|
|
//
|
|
|
this.choosedFileLabel.AutoSize = true;
|
|
|
- this.choosedFileLabel.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
+ this.choosedFileLabel.Font = new System.Drawing.Font("宋体", 11F);
|
|
|
+ this.choosedFileLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(121)))), ((int)(((byte)(147)))));
|
|
|
this.choosedFileLabel.Location = new System.Drawing.Point(17, 119);
|
|
|
this.choosedFileLabel.Name = "choosedFileLabel";
|
|
|
- this.choosedFileLabel.Size = new System.Drawing.Size(169, 20);
|
|
|
+ this.choosedFileLabel.Size = new System.Drawing.Size(186, 22);
|
|
|
this.choosedFileLabel.TabIndex = 27;
|
|
|
this.choosedFileLabel.Text = "当前选择数据文件";
|
|
|
//
|
|
|
// groupBox2
|
|
|
//
|
|
|
+ this.groupBox2.Controls.Add(this.dataGridView1);
|
|
|
this.groupBox2.Controls.Add(this.label1);
|
|
|
this.groupBox2.Controls.Add(this.pageHelper2);
|
|
|
this.groupBox2.Controls.Add(this.prodtDesig_sel);
|
|
|
- this.groupBox2.Controls.Add(this.dataGridView1);
|
|
|
this.groupBox2.Controls.Add(this.slectBt);
|
|
|
- this.groupBox2.Location = new System.Drawing.Point(3, 0);
|
|
|
+ this.groupBox2.Font = new System.Drawing.Font("宋体", 9F);
|
|
|
+ this.groupBox2.Location = new System.Drawing.Point(3, 5);
|
|
|
this.groupBox2.Name = "groupBox2";
|
|
|
- this.groupBox2.Size = new System.Drawing.Size(1306, 538);
|
|
|
+ this.groupBox2.Size = new System.Drawing.Size(1306, 557);
|
|
|
this.groupBox2.TabIndex = 0;
|
|
|
this.groupBox2.TabStop = false;
|
|
|
this.groupBox2.Text = "选择调度单";
|
|
@@ -478,12 +391,13 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
this.pageHelper2.AllPage = 1;
|
|
|
this.pageHelper2.AutoScroll = true;
|
|
|
- this.pageHelper2.Location = new System.Drawing.Point(464, 484);
|
|
|
+ this.pageHelper2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.pageHelper2.Location = new System.Drawing.Point(494, 482);
|
|
|
this.pageHelper2.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.pageHelper2.Name = "pageHelper2";
|
|
|
this.pageHelper2.NowPage = 1;
|
|
|
this.pageHelper2.PageSize = 5;
|
|
|
- this.pageHelper2.Size = new System.Drawing.Size(829, 56);
|
|
|
+ this.pageHelper2.Size = new System.Drawing.Size(815, 51);
|
|
|
this.pageHelper2.TabIndex = 20;
|
|
|
this.pageHelper2.Total = 0;
|
|
|
this.pageHelper2.Load += new System.EventHandler(this.PageHelper2_Load);
|
|
@@ -502,7 +416,8 @@ namespace lqnet.Forms
|
|
|
this.groupBox3.Controls.Add(this.startIdxTextbox);
|
|
|
this.groupBox3.Controls.Add(this.mergeCountLabel);
|
|
|
this.groupBox3.Controls.Add(this.checkLabel);
|
|
|
- this.groupBox3.Location = new System.Drawing.Point(3, 545);
|
|
|
+ this.groupBox3.Font = new System.Drawing.Font("宋体", 9F);
|
|
|
+ this.groupBox3.Location = new System.Drawing.Point(3, 565);
|
|
|
this.groupBox3.Name = "groupBox3";
|
|
|
this.groupBox3.Size = new System.Drawing.Size(1309, 548);
|
|
|
this.groupBox3.TabIndex = 39;
|
|
@@ -512,9 +427,10 @@ namespace lqnet.Forms
|
|
|
// mergeCountTextbox
|
|
|
//
|
|
|
this.mergeCountTextbox.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
+ this.mergeCountTextbox.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
this.mergeCountTextbox.Location = new System.Drawing.Point(752, 70);
|
|
|
this.mergeCountTextbox.Name = "mergeCountTextbox";
|
|
|
- this.mergeCountTextbox.Size = new System.Drawing.Size(165, 21);
|
|
|
+ this.mergeCountTextbox.Size = new System.Drawing.Size(165, 28);
|
|
|
this.mergeCountTextbox.TabIndex = 37;
|
|
|
this.mergeCountTextbox.Text = "1";
|
|
|
//
|
|
@@ -525,7 +441,7 @@ namespace lqnet.Forms
|
|
|
this.panel1.Controls.Add(this.label3);
|
|
|
this.panel1.Controls.Add(this.label2);
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
- this.panel1.Location = new System.Drawing.Point(0, 1093);
|
|
|
+ this.panel1.Location = new System.Drawing.Point(0, 1113);
|
|
|
this.panel1.Name = "panel1";
|
|
|
this.panel1.Size = new System.Drawing.Size(1312, 59);
|
|
|
this.panel1.TabIndex = 40;
|
|
@@ -533,7 +449,7 @@ namespace lqnet.Forms
|
|
|
// linkLabel1
|
|
|
//
|
|
|
this.linkLabel1.AutoSize = true;
|
|
|
- this.linkLabel1.Location = new System.Drawing.Point(1094, 21);
|
|
|
+ this.linkLabel1.Location = new System.Drawing.Point(1166, 21);
|
|
|
this.linkLabel1.Name = "linkLabel1";
|
|
|
this.linkLabel1.Size = new System.Drawing.Size(80, 18);
|
|
|
this.linkLabel1.TabIndex = 2;
|
|
@@ -546,7 +462,7 @@ namespace lqnet.Forms
|
|
|
this.label3.AutoSize = true;
|
|
|
this.label3.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
|
|
this.label3.ForeColor = System.Drawing.Color.White;
|
|
|
- this.label3.Location = new System.Drawing.Point(585, 15);
|
|
|
+ this.label3.Location = new System.Drawing.Point(639, 15);
|
|
|
this.label3.Name = "label3";
|
|
|
this.label3.Size = new System.Drawing.Size(133, 27);
|
|
|
this.label3.TabIndex = 1;
|
|
@@ -566,20 +482,105 @@ namespace lqnet.Forms
|
|
|
// panel2
|
|
|
//
|
|
|
this.panel2.AutoScroll = true;
|
|
|
- this.panel2.Controls.Add(this.groupBox2);
|
|
|
this.panel2.Controls.Add(this.panel1);
|
|
|
this.panel2.Controls.Add(this.groupBox3);
|
|
|
+ this.panel2.Controls.Add(this.groupBox2);
|
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
|
this.panel2.Name = "panel2";
|
|
|
this.panel2.Size = new System.Drawing.Size(1338, 894);
|
|
|
this.panel2.TabIndex = 41;
|
|
|
//
|
|
|
+ // Index
|
|
|
+ //
|
|
|
+ this.Index.DataPropertyName = "Index";
|
|
|
+ this.Index.HeaderText = "序号";
|
|
|
+ this.Index.MinimumWidth = 10;
|
|
|
+ this.Index.Name = "Index";
|
|
|
+ this.Index.ReadOnly = true;
|
|
|
+ this.Index.Width = 60;
|
|
|
+ //
|
|
|
+ // idDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.idDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderId";
|
|
|
+ this.idDataGridViewTextBoxColumn.HeaderText = "调度单id";
|
|
|
+ this.idDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn";
|
|
|
+ this.idDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.idDataGridViewTextBoxColumn.Visible = false;
|
|
|
+ this.idDataGridViewTextBoxColumn.Width = 80;
|
|
|
+ //
|
|
|
+ // prodtDesigDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn.DataPropertyName = "ProdtDesig";
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn.HeaderText = "产品代号";
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn.Name = "prodtDesigDataGridViewTextBoxColumn";
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn.Width = 120;
|
|
|
+ //
|
|
|
+ // prodtBatchDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.DataPropertyName = "ProdtBatch";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.HeaderText = "生产批次";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.Name = "prodtBatchDataGridViewTextBoxColumn";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.Width = 120;
|
|
|
+ //
|
|
|
+ // numDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.numDataGridViewTextBoxColumn.DataPropertyName = "PlanAmt";
|
|
|
+ this.numDataGridViewTextBoxColumn.HeaderText = "数量";
|
|
|
+ this.numDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.numDataGridViewTextBoxColumn.Name = "numDataGridViewTextBoxColumn";
|
|
|
+ this.numDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.numDataGridViewTextBoxColumn.Width = 80;
|
|
|
+ //
|
|
|
+ // groupOrderCodeDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderCode";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.HeaderText = "调度单号";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.Name = "groupOrderCodeDataGridViewTextBoxColumn";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.Width = 130;
|
|
|
+ //
|
|
|
+ // proceNameDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.proceNameDataGridViewTextBoxColumn.DataPropertyName = "ProceName";
|
|
|
+ this.proceNameDataGridViewTextBoxColumn.HeaderText = "工序名称";
|
|
|
+ this.proceNameDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.proceNameDataGridViewTextBoxColumn.Name = "proceNameDataGridViewTextBoxColumn";
|
|
|
+ this.proceNameDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.proceNameDataGridViewTextBoxColumn.Width = 130;
|
|
|
+ //
|
|
|
+ // groupProceIdDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.DataPropertyName = "GroupProceId";
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.HeaderText = "工序id";
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.Name = "groupProceIdDataGridViewTextBoxColumn";
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.Visible = false;
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn.Width = 150;
|
|
|
+ //
|
|
|
+ // groupProceCodeDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.DataPropertyName = "ProceCode";
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.HeaderText = "工序编号";
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.Name = "groupProceCodeDataGridViewTextBoxColumn";
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.Visible = false;
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn.Width = 150;
|
|
|
+ //
|
|
|
// MainForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
this.AutoScroll = true;
|
|
|
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
|
|
this.ClientSize = new System.Drawing.Size(1338, 894);
|
|
|
this.Controls.Add(this.panel2);
|
|
|
this.Icon = global::lqnet.Properties.Resources.favicon;
|
|
@@ -611,7 +612,7 @@ namespace lqnet.Forms
|
|
|
#endregion
|
|
|
private BindingSource taskListBindingSource;
|
|
|
private TextBox prodtDesig_sel;
|
|
|
- private DataGridView dataGridView1;
|
|
|
+ protected DataGridView dataGridView1;
|
|
|
private ComboBox CheckItemComboBox;
|
|
|
private Button slectBt;
|
|
|
private Button selectFileBt;
|
|
@@ -622,7 +623,7 @@ namespace lqnet.Forms
|
|
|
private TextBox startIdxTextbox;
|
|
|
private Label mergeCountLabel;
|
|
|
private GroupBox groupBox1;
|
|
|
- private DataGridView dataGridView2;
|
|
|
+ protected DataGridView dataGridView2;
|
|
|
private Button parseReportBtn;
|
|
|
private BindingSource reportColListBindingSource;
|
|
|
private Label label1;
|
|
@@ -635,18 +636,18 @@ namespace lqnet.Forms
|
|
|
private Label label3;
|
|
|
private Label label2;
|
|
|
private Panel panel2;
|
|
|
+ private TextBox mergeCountTextbox;
|
|
|
+ private DataGridViewTextBoxColumn indexDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn importColLabelDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewComboBoxColumn lineColLabelDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn Index;
|
|
|
private DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn prodtDesigDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn prodtBatchDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn numDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn groupOrderCodeDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn proceNameDataGridViewTextBoxColumn;
|
|
|
- private DataGridViewTextBoxColumn prodtBatchDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn groupProceIdDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn groupProceCodeDataGridViewTextBoxColumn;
|
|
|
- private TextBox mergeCountTextbox;
|
|
|
- private DataGridViewTextBoxColumn indexDataGridViewTextBoxColumn;
|
|
|
- private DataGridViewTextBoxColumn importColLabelDataGridViewTextBoxColumn;
|
|
|
- private DataGridViewComboBoxColumn lineColLabelDataGridViewTextBoxColumn;
|
|
|
}
|
|
|
}
|