|
@@ -1,4 +1,5 @@
|
|
|
-using System.Windows.Forms;
|
|
|
+using System.Drawing;
|
|
|
+using System.Windows.Forms;
|
|
|
|
|
|
namespace lqnet.Forms
|
|
|
{
|
|
@@ -52,33 +53,48 @@ namespace lqnet.Forms
|
|
|
this.prodtBatch_sel = new System.Windows.Forms.TextBox();
|
|
|
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
+ 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.prodtGroupTypeDataGridViewTextBoxColumn = 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.reLogin = new System.Windows.Forms.Button();
|
|
|
this.slectBt = new System.Windows.Forms.Button();
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
this.selectFileBt = new System.Windows.Forms.Button();
|
|
|
this.currentFilePath = new System.Windows.Forms.TextBox();
|
|
|
- this.button2 = new System.Windows.Forms.Button();
|
|
|
- this.button3 = new System.Windows.Forms.Button();
|
|
|
- this.currentCheckItem = new System.Windows.Forms.TextBox();
|
|
|
this.uploadTrueBt = new System.Windows.Forms.Button();
|
|
|
this.version = new System.Windows.Forms.Button();
|
|
|
+ this.prodtIndexLabel = new System.Windows.Forms.Label();
|
|
|
+ this.checkLabel = new System.Windows.Forms.Label();
|
|
|
+ this.prodtIdxTextbox = new System.Windows.Forms.TextBox();
|
|
|
+ this.choosedFileLabel = new System.Windows.Forms.Label();
|
|
|
+ this.startIdxLabel = new System.Windows.Forms.Label();
|
|
|
+ this.startIdxTextbox = new System.Windows.Forms.TextBox();
|
|
|
+ this.mergeCountLabel = new System.Windows.Forms.Label();
|
|
|
+ this.mergeCountTextbox = new System.Windows.Forms.NumericUpDown();
|
|
|
this.pageHelper2 = new lqnet.Utils.PageHelper();
|
|
|
- this.numDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.taskListBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskListBindingSource)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.mergeCountTextbox)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// prodtBatch_sel
|
|
|
//
|
|
|
this.prodtBatch_sel.Location = new System.Drawing.Point(156, 26);
|
|
|
this.prodtBatch_sel.Name = "prodtBatch_sel";
|
|
|
- this.prodtBatch_sel.Size = new System.Drawing.Size(247, 35);
|
|
|
+ this.prodtBatch_sel.Size = new System.Drawing.Size(247, 28);
|
|
|
this.prodtBatch_sel.TabIndex = 1;
|
|
|
+
|
|
|
+ DataGridViewCellStyle style = new DataGridViewCellStyle();
|
|
|
+ //style.Alignment =
|
|
|
+ // DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ style.Font = new Font("宋体", 12);
|
|
|
//
|
|
|
// Index
|
|
|
//
|
|
@@ -91,15 +107,21 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
// dataGridView1
|
|
|
//
|
|
|
+ this.dataGridView1.AllowUserToAddRows= false;
|
|
|
this.dataGridView1.AutoGenerateColumns = false;
|
|
|
this.dataGridView1.BackgroundColor = System.Drawing.Color.SkyBlue;
|
|
|
+ this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.Index,
|
|
|
+ this.idDataGridViewTextBoxColumn,
|
|
|
+ this.prodtDesigDataGridViewTextBoxColumn,
|
|
|
this.numDataGridViewTextBoxColumn,
|
|
|
this.groupOrderCodeDataGridViewTextBoxColumn,
|
|
|
this.prodtGroupTypeDataGridViewTextBoxColumn,
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn});
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn,
|
|
|
+ this.groupProceIdDataGridViewTextBoxColumn,
|
|
|
+ this.groupProceCodeDataGridViewTextBoxColumn});
|
|
|
this.dataGridView1.DataSource = this.taskListBindingSource;
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(11, 67);
|
|
|
this.dataGridView1.MultiSelect = false;
|
|
@@ -107,12 +129,92 @@ namespace lqnet.Forms
|
|
|
this.dataGridView1.ReadOnly = true;
|
|
|
this.dataGridView1.RowHeadersVisible = false;
|
|
|
this.dataGridView1.RowHeadersWidth = 82;
|
|
|
- this.dataGridView1.RowTemplate.Height = 37;
|
|
|
+ this.dataGridView1.ColumnHeadersDefaultCellStyle = style;
|
|
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.dataGridView1.ShowCellToolTips = false;
|
|
|
this.dataGridView1.Size = new System.Drawing.Size(1088, 266);
|
|
|
this.dataGridView1.TabIndex = 2;
|
|
|
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellClick);
|
|
|
+
|
|
|
+ //
|
|
|
+ // 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 = 290;
|
|
|
+ //
|
|
|
+ // numDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.numDataGridViewTextBoxColumn.DataPropertyName = "PlanAmt";
|
|
|
+ this.numDataGridViewTextBoxColumn.HeaderText = "数量";
|
|
|
+ this.numDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.numDataGridViewTextBoxColumn.Name = "numDataGridViewTextBoxColumn";
|
|
|
+ this.numDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.numDataGridViewTextBoxColumn.Width = 110;
|
|
|
+ //
|
|
|
+ // groupOrderCodeDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderCode";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.HeaderText = "调度单号";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.Name = "groupOrderCodeDataGridViewTextBoxColumn";
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.groupOrderCodeDataGridViewTextBoxColumn.Width = 290;
|
|
|
+ //
|
|
|
+ // prodtGroupTypeDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.DataPropertyName = "ProdtGroupType";
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.HeaderText = "任务组";
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.Name = "prodtGroupTypeDataGridViewTextBoxColumn";
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.prodtGroupTypeDataGridViewTextBoxColumn.Width = 290;
|
|
|
+ //
|
|
|
+ // prodtBatchDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.DataPropertyName = "ProdtBatch";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.HeaderText = "生产批次";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.Name = "prodtBatchDataGridViewTextBoxColumn";
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.prodtBatchDataGridViewTextBoxColumn.Width = 290;
|
|
|
+ //
|
|
|
+ // 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);
|
|
|
//
|
|
|
// CheckItemComboBox
|
|
|
//
|
|
@@ -121,17 +223,17 @@ namespace lqnet.Forms
|
|
|
this.CheckItemComboBox.Items.AddRange(new object[] {
|
|
|
"绝缘介电强度",
|
|
|
"外观/尺寸"});
|
|
|
- this.CheckItemComboBox.Location = new System.Drawing.Point(19, 357);
|
|
|
+ this.CheckItemComboBox.Location = new System.Drawing.Point(19, 438);
|
|
|
this.CheckItemComboBox.Name = "CheckItemComboBox";
|
|
|
- this.CheckItemComboBox.Size = new System.Drawing.Size(240, 32);
|
|
|
+ this.CheckItemComboBox.Size = new System.Drawing.Size(240, 26);
|
|
|
this.CheckItemComboBox.TabIndex = 5;
|
|
|
this.CheckItemComboBox.SelectionChangeCommitted += new System.EventHandler(this.CheckItemComboBox_SelectionChangeCommitted);
|
|
|
//
|
|
|
// reLogin
|
|
|
//
|
|
|
- this.reLogin.Location = new System.Drawing.Point(940, 6);
|
|
|
+ this.reLogin.Location = new System.Drawing.Point(947, 12);
|
|
|
this.reLogin.Name = "reLogin";
|
|
|
- this.reLogin.Size = new System.Drawing.Size(120, 59);
|
|
|
+ this.reLogin.Size = new System.Drawing.Size(120, 48);
|
|
|
this.reLogin.TabIndex = 6;
|
|
|
this.reLogin.Text = "重新登录";
|
|
|
this.reLogin.UseVisualStyleBackColor = true;
|
|
@@ -139,7 +241,7 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
// slectBt
|
|
|
//
|
|
|
- this.slectBt.Location = new System.Drawing.Point(409, 26);
|
|
|
+ this.slectBt.Location = new System.Drawing.Point(409, 19);
|
|
|
this.slectBt.Name = "slectBt";
|
|
|
this.slectBt.Size = new System.Drawing.Size(91, 39);
|
|
|
this.slectBt.TabIndex = 7;
|
|
@@ -149,7 +251,7 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
- this.button1.Location = new System.Drawing.Point(12, 26);
|
|
|
+ this.button1.Location = new System.Drawing.Point(12, 22);
|
|
|
this.button1.Name = "button1";
|
|
|
this.button1.Size = new System.Drawing.Size(126, 39);
|
|
|
this.button1.TabIndex = 8;
|
|
@@ -158,7 +260,7 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
// selectFileBt
|
|
|
//
|
|
|
- this.selectFileBt.Location = new System.Drawing.Point(19, 400);
|
|
|
+ this.selectFileBt.Location = new System.Drawing.Point(19, 515);
|
|
|
this.selectFileBt.Name = "selectFileBt";
|
|
|
this.selectFileBt.Size = new System.Drawing.Size(240, 66);
|
|
|
this.selectFileBt.TabIndex = 9;
|
|
@@ -170,41 +272,15 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
this.currentFilePath.Enabled = false;
|
|
|
this.currentFilePath.Font = new System.Drawing.Font("宋体", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.currentFilePath.Location = new System.Drawing.Point(300, 486);
|
|
|
+ this.currentFilePath.Location = new System.Drawing.Point(300, 580);
|
|
|
this.currentFilePath.Multiline = true;
|
|
|
this.currentFilePath.Name = "currentFilePath";
|
|
|
this.currentFilePath.Size = new System.Drawing.Size(799, 63);
|
|
|
this.currentFilePath.TabIndex = 10;
|
|
|
//
|
|
|
- // button2
|
|
|
- //
|
|
|
- this.button2.Location = new System.Drawing.Point(300, 358);
|
|
|
- this.button2.Name = "button2";
|
|
|
- this.button2.Size = new System.Drawing.Size(247, 35);
|
|
|
- this.button2.TabIndex = 15;
|
|
|
- this.button2.Text = "当前已选中检验项:";
|
|
|
- this.button2.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // button3
|
|
|
- //
|
|
|
- this.button3.Location = new System.Drawing.Point(300, 441);
|
|
|
- this.button3.Name = "button3";
|
|
|
- this.button3.Size = new System.Drawing.Size(247, 39);
|
|
|
- this.button3.TabIndex = 16;
|
|
|
- this.button3.Text = "当前选择数据文件:";
|
|
|
- this.button3.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // currentCheckItem
|
|
|
- //
|
|
|
- this.currentCheckItem.Enabled = false;
|
|
|
- this.currentCheckItem.Location = new System.Drawing.Point(300, 400);
|
|
|
- this.currentCheckItem.Name = "currentCheckItem";
|
|
|
- this.currentCheckItem.Size = new System.Drawing.Size(326, 35);
|
|
|
- this.currentCheckItem.TabIndex = 17;
|
|
|
- //
|
|
|
// uploadTrueBt
|
|
|
//
|
|
|
- this.uploadTrueBt.Location = new System.Drawing.Point(18, 483);
|
|
|
+ this.uploadTrueBt.Location = new System.Drawing.Point(18, 598);
|
|
|
this.uploadTrueBt.Name = "uploadTrueBt";
|
|
|
this.uploadTrueBt.Size = new System.Drawing.Size(240, 66);
|
|
|
this.uploadTrueBt.TabIndex = 19;
|
|
@@ -214,17 +290,100 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
// version
|
|
|
//
|
|
|
- this.version.Location = new System.Drawing.Point(918, 546);
|
|
|
+ this.version.Location = new System.Drawing.Point(925, 648);
|
|
|
this.version.Name = "version";
|
|
|
this.version.Size = new System.Drawing.Size(181, 41);
|
|
|
this.version.TabIndex = 21;
|
|
|
this.version.Text = "version 1.0.0";
|
|
|
this.version.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
+ // prodtIndexLabel
|
|
|
+ //
|
|
|
+ this.prodtIndexLabel.AutoSize = true;
|
|
|
+ this.prodtIndexLabel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.prodtIndexLabel.Location = new System.Drawing.Point(314, 402);
|
|
|
+ this.prodtIndexLabel.Name = "prodtIndexLabel";
|
|
|
+ this.prodtIndexLabel.Size = new System.Drawing.Size(115, 21);
|
|
|
+ this.prodtIndexLabel.TabIndex = 24;
|
|
|
+ this.prodtIndexLabel.Text = "产品索引列";
|
|
|
+ //
|
|
|
+ // checkLabel
|
|
|
+ //
|
|
|
+ this.checkLabel.AutoSize = true;
|
|
|
+ this.checkLabel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.checkLabel.Location = new System.Drawing.Point(23, 402);
|
|
|
+ this.checkLabel.Name = "checkLabel";
|
|
|
+ this.checkLabel.Size = new System.Drawing.Size(73, 21);
|
|
|
+ this.checkLabel.TabIndex = 25;
|
|
|
+ this.checkLabel.Text = "检验项";
|
|
|
+ //
|
|
|
+ // prodtIdxTextbox
|
|
|
+ //
|
|
|
+ this.prodtIdxTextbox.Location = new System.Drawing.Point(318, 438);
|
|
|
+ this.prodtIdxTextbox.Name = "prodtIdxTextbox";
|
|
|
+ this.prodtIdxTextbox.Size = new System.Drawing.Size(763, 28);
|
|
|
+ this.prodtIdxTextbox.TabIndex = 26;
|
|
|
+ //
|
|
|
+ // choosedFileLabel
|
|
|
+ //
|
|
|
+ this.choosedFileLabel.AutoSize = true;
|
|
|
+ this.choosedFileLabel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.choosedFileLabel.Location = new System.Drawing.Point(305, 545);
|
|
|
+ this.choosedFileLabel.Name = "choosedFileLabel";
|
|
|
+ this.choosedFileLabel.Size = new System.Drawing.Size(178, 21);
|
|
|
+ this.choosedFileLabel.TabIndex = 27;
|
|
|
+ this.choosedFileLabel.Text = "当前选择数据文件";
|
|
|
+ //
|
|
|
+ // startIdxLabel
|
|
|
+ //
|
|
|
+ this.startIdxLabel.AutoSize = true;
|
|
|
+ this.startIdxLabel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.startIdxLabel.Location = new System.Drawing.Point(314, 497);
|
|
|
+ this.startIdxLabel.Name = "startIdxLabel";
|
|
|
+ this.startIdxLabel.Size = new System.Drawing.Size(94, 21);
|
|
|
+ this.startIdxLabel.TabIndex = 28;
|
|
|
+ this.startIdxLabel.Text = "开始坐标";
|
|
|
+ //
|
|
|
+ // startIdxTextbox
|
|
|
+ //
|
|
|
+ this.startIdxTextbox.Location = new System.Drawing.Point(418, 495);
|
|
|
+ this.startIdxTextbox.Name = "startIdxTextbox";
|
|
|
+ this.startIdxTextbox.Size = new System.Drawing.Size(141, 28);
|
|
|
+ this.startIdxTextbox.TabIndex = 29;
|
|
|
+ //
|
|
|
+ // mergeCountLabel
|
|
|
+ //
|
|
|
+ this.mergeCountLabel.AutoSize = true;
|
|
|
+ this.mergeCountLabel.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.mergeCountLabel.Location = new System.Drawing.Point(600, 497);
|
|
|
+ this.mergeCountLabel.Name = "mergeCountLabel";
|
|
|
+ this.mergeCountLabel.Size = new System.Drawing.Size(136, 21);
|
|
|
+ this.mergeCountLabel.TabIndex = 30;
|
|
|
+ this.mergeCountLabel.Text = "产品合并行数";
|
|
|
+ //
|
|
|
+ // mergeCountTextbox
|
|
|
+ //
|
|
|
+ this.mergeCountTextbox.Location = new System.Drawing.Point(763, 490);
|
|
|
+ this.mergeCountTextbox.Minimum = new decimal(new int[] {
|
|
|
+ 1,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ this.mergeCountTextbox.Name = "mergeCountTextbox";
|
|
|
+ this.mergeCountTextbox.Size = new System.Drawing.Size(120, 28);
|
|
|
+ this.mergeCountTextbox.TabIndex = 32;
|
|
|
+ this.mergeCountTextbox.UseWaitCursor = true;
|
|
|
+ this.mergeCountTextbox.Value = new decimal(new int[] {
|
|
|
+ 1,
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ 0});
|
|
|
+ //
|
|
|
// pageHelper2
|
|
|
//
|
|
|
this.pageHelper2.AllPage = 1;
|
|
|
- this.pageHelper2.Location = new System.Drawing.Point(11, 296);
|
|
|
+ this.pageHelper2.Location = new System.Drawing.Point(11, 341);
|
|
|
+ this.pageHelper2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.pageHelper2.Name = "pageHelper2";
|
|
|
this.pageHelper2.NowPage = 1;
|
|
|
this.pageHelper2.PageSize = 5;
|
|
@@ -233,56 +392,21 @@ namespace lqnet.Forms
|
|
|
this.pageHelper2.Total = 0;
|
|
|
this.pageHelper2.Load += new System.EventHandler(this.PageHelper2_Load);
|
|
|
//
|
|
|
- // numDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.numDataGridViewTextBoxColumn.DataPropertyName = "Num";
|
|
|
- this.numDataGridViewTextBoxColumn.HeaderText = "数量";
|
|
|
- this.numDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.numDataGridViewTextBoxColumn.Name = "numDataGridViewTextBoxColumn";
|
|
|
- this.numDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.numDataGridViewTextBoxColumn.Width = 110;
|
|
|
- //
|
|
|
- // groupOrderCodeDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.DataPropertyName = "GroupOrderCode";
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.HeaderText = "调度单号";
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.Name = "groupOrderCodeDataGridViewTextBoxColumn";
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.groupOrderCodeDataGridViewTextBoxColumn.Width = 290;
|
|
|
- //
|
|
|
- // prodtGroupTypeDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn.DataPropertyName = "ProdtGroupType";
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn.HeaderText = "任务组";
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn.Name = "prodtGroupTypeDataGridViewTextBoxColumn";
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.prodtGroupTypeDataGridViewTextBoxColumn.Width = 290;
|
|
|
- //
|
|
|
- // prodtBatchDataGridViewTextBoxColumn
|
|
|
- //
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.DataPropertyName = "ProdtBatch";
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.HeaderText = "生产批次";
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.MinimumWidth = 10;
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.Name = "prodtBatchDataGridViewTextBoxColumn";
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
- this.prodtBatchDataGridViewTextBoxColumn.Width = 290;
|
|
|
- //
|
|
|
- // taskListBindingSource
|
|
|
- //
|
|
|
- this.taskListBindingSource.DataSource = typeof(lqnet.Entities.Tasks);
|
|
|
- //
|
|
|
// MainForm
|
|
|
//
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
|
|
- this.ClientSize = new System.Drawing.Size(1114, 599);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1114, 694);
|
|
|
+ this.Controls.Add(this.mergeCountTextbox);
|
|
|
+ this.Controls.Add(this.mergeCountLabel);
|
|
|
+ this.Controls.Add(this.startIdxTextbox);
|
|
|
+ this.Controls.Add(this.startIdxLabel);
|
|
|
+ this.Controls.Add(this.choosedFileLabel);
|
|
|
+ this.Controls.Add(this.prodtIdxTextbox);
|
|
|
+ this.Controls.Add(this.checkLabel);
|
|
|
+ this.Controls.Add(this.prodtIndexLabel);
|
|
|
this.Controls.Add(this.version);
|
|
|
this.Controls.Add(this.pageHelper2);
|
|
|
this.Controls.Add(this.uploadTrueBt);
|
|
|
- this.Controls.Add(this.currentCheckItem);
|
|
|
- this.Controls.Add(this.button3);
|
|
|
- this.Controls.Add(this.button2);
|
|
|
this.Controls.Add(this.currentFilePath);
|
|
|
this.Controls.Add(this.selectFileBt);
|
|
|
this.Controls.Add(this.button1);
|
|
@@ -300,6 +424,7 @@ namespace lqnet.Forms
|
|
|
this.Paint += new System.Windows.Forms.PaintEventHandler(this.Boder_Paint);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskListBindingSource)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.mergeCountTextbox)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
@@ -308,10 +433,14 @@ namespace lqnet.Forms
|
|
|
#endregion
|
|
|
private BindingSource taskListBindingSource;
|
|
|
private TextBox prodtBatch_sel;
|
|
|
+ private DataGridViewTextBoxColumn groupProceCodeDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn groupProceIdDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn prodtBatchDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn prodtGroupTypeDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn groupOrderCodeDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn numDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
|
|
|
+ private DataGridViewTextBoxColumn prodtDesigDataGridViewTextBoxColumn;
|
|
|
private DataGridViewTextBoxColumn Index;
|
|
|
private DataGridView dataGridView1;
|
|
|
private ComboBox CheckItemComboBox;
|
|
@@ -320,11 +449,16 @@ namespace lqnet.Forms
|
|
|
private Button button1;
|
|
|
private Button selectFileBt;
|
|
|
private TextBox currentFilePath;
|
|
|
- private Button button2;
|
|
|
- private Button button3;
|
|
|
- private TextBox currentCheckItem;
|
|
|
private Button uploadTrueBt;
|
|
|
private Utils.PageHelper pageHelper2;
|
|
|
private Button version;
|
|
|
+ private Label prodtIndexLabel;
|
|
|
+ private Label checkLabel;
|
|
|
+ private TextBox prodtIdxTextbox;
|
|
|
+ private Label choosedFileLabel;
|
|
|
+ private Label startIdxLabel;
|
|
|
+ private TextBox startIdxTextbox;
|
|
|
+ private Label mergeCountLabel;
|
|
|
+ private NumericUpDown mergeCountTextbox;
|
|
|
}
|
|
|
}
|