|
|
|
@ -29,20 +29,23 @@ |
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CarcassTakeOutForm)); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.workUnitSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.numSetBtn = new WinFormControl.UButton(); |
|
|
|
this.carcassBtn = new WinFormControl.UButton(); |
|
|
|
this.sectionBtn = new WinFormControl.UButton(); |
|
|
|
this.productBatchSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
this.uLabel2 = new WinFormControl.ULabel(); |
|
|
|
this.closeBtn = new WinFormControl.UButton(); |
|
|
|
@ -54,28 +57,31 @@ |
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.historyDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_BeforeWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uLabel4 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.numFlowPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.weightGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.W_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.W_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.needSubmitGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.readBtn = new WinFormControl.UButton(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_BeforeWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_BeforeWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.readBtn = new WinFormControl.UButton(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
@ -115,6 +121,9 @@ |
|
|
|
// splitContainer1.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.numSetBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.carcassBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.sectionBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.productBatchSelect); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel2); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.closeBtn); |
|
|
|
@ -134,6 +143,74 @@ |
|
|
|
this.splitContainer1.SplitterDistance = 86; |
|
|
|
this.splitContainer1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// numSetBtn
|
|
|
|
//
|
|
|
|
this.numSetBtn.AsClicked = false; |
|
|
|
this.numSetBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("numSetBtn.BackgroundImage"))); |
|
|
|
this.numSetBtn.EnableGroup = false; |
|
|
|
this.numSetBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.numSetBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.numSetBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.numSetBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.numSetBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.numSetBtn.Location = new System.Drawing.Point(358, 46); |
|
|
|
this.numSetBtn.Name = "numSetBtn"; |
|
|
|
this.numSetBtn.PlaySound = false; |
|
|
|
this.numSetBtn.SelfControlEnable = false; |
|
|
|
this.numSetBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.numSetBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.numSetBtn.TabIndex = 21; |
|
|
|
this.numSetBtn.Text = "数量设置"; |
|
|
|
this.numSetBtn.UseVisualStyleBackColor = true; |
|
|
|
this.numSetBtn.WithStataHode = false; |
|
|
|
this.numSetBtn.Click += new System.EventHandler(this.numSetBtn_Click); |
|
|
|
//
|
|
|
|
// carcassBtn
|
|
|
|
//
|
|
|
|
this.carcassBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.carcassBtn.AsClicked = false; |
|
|
|
this.carcassBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("carcassBtn.BackgroundImage"))); |
|
|
|
this.carcassBtn.EnableGroup = false; |
|
|
|
this.carcassBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.carcassBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.carcassBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.carcassBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.carcassBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.carcassBtn.Location = new System.Drawing.Point(768, 46); |
|
|
|
this.carcassBtn.Name = "carcassBtn"; |
|
|
|
this.carcassBtn.PlaySound = false; |
|
|
|
this.carcassBtn.SelfControlEnable = true; |
|
|
|
this.carcassBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.carcassBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.carcassBtn.TabIndex = 20; |
|
|
|
this.carcassBtn.Text = "白 条"; |
|
|
|
this.carcassBtn.UseVisualStyleBackColor = true; |
|
|
|
this.carcassBtn.WithStataHode = false; |
|
|
|
this.carcassBtn.Click += new System.EventHandler(this.carcassBtn_Click); |
|
|
|
//
|
|
|
|
// sectionBtn
|
|
|
|
//
|
|
|
|
this.sectionBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.sectionBtn.AsClicked = false; |
|
|
|
this.sectionBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("sectionBtn.BackgroundImage"))); |
|
|
|
this.sectionBtn.EnableGroup = false; |
|
|
|
this.sectionBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.sectionBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.sectionBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.sectionBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.sectionBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.sectionBtn.Location = new System.Drawing.Point(644, 46); |
|
|
|
this.sectionBtn.Name = "sectionBtn"; |
|
|
|
this.sectionBtn.PlaySound = false; |
|
|
|
this.sectionBtn.SelfControlEnable = true; |
|
|
|
this.sectionBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.sectionBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.sectionBtn.TabIndex = 19; |
|
|
|
this.sectionBtn.Text = "条 段"; |
|
|
|
this.sectionBtn.UseVisualStyleBackColor = true; |
|
|
|
this.sectionBtn.WithStataHode = false; |
|
|
|
this.sectionBtn.Click += new System.EventHandler(this.sectionBtn_Click); |
|
|
|
//
|
|
|
|
// productBatchSelect
|
|
|
|
//
|
|
|
|
this.productBatchSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
@ -261,15 +338,15 @@ |
|
|
|
this.historyDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle25; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.historyDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.historyDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle26.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle26.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle26; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.historyDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.historyDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.H_ID, |
|
|
|
@ -277,6 +354,7 @@ |
|
|
|
this.H_BarCode, |
|
|
|
this.H_Goods_Name, |
|
|
|
this.H_BeforeWeight, |
|
|
|
this.H_Number, |
|
|
|
this.H_Weight}); |
|
|
|
this.historyDataGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.historyDataGrid.Location = new System.Drawing.Point(5, 19); |
|
|
|
@ -284,65 +362,14 @@ |
|
|
|
this.historyDataGrid.Name = "historyDataGrid"; |
|
|
|
this.historyDataGrid.ReadOnly = true; |
|
|
|
this.historyDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle29.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle29.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle29; |
|
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.historyDataGrid.RowTemplate.Height = 23; |
|
|
|
this.historyDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.historyDataGrid.Size = new System.Drawing.Size(766, 198); |
|
|
|
this.historyDataGrid.TabIndex = 2; |
|
|
|
//
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
this.H_ID.DataPropertyName = "ID"; |
|
|
|
this.H_ID.HeaderText = "ID"; |
|
|
|
this.H_ID.Name = "H_ID"; |
|
|
|
this.H_ID.ReadOnly = true; |
|
|
|
this.H_ID.Visible = false; |
|
|
|
//
|
|
|
|
// H_RowIndex
|
|
|
|
//
|
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_BarCode
|
|
|
|
//
|
|
|
|
this.H_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_BarCode.DataPropertyName = "BarCode"; |
|
|
|
this.H_BarCode.HeaderText = "条码"; |
|
|
|
this.H_BarCode.Name = "H_BarCode"; |
|
|
|
this.H_BarCode.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Goods_Name
|
|
|
|
//
|
|
|
|
this.H_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.H_Goods_Name.HeaderText = "产品名称"; |
|
|
|
this.H_Goods_Name.Name = "H_Goods_Name"; |
|
|
|
this.H_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_BeforeWeight
|
|
|
|
//
|
|
|
|
this.H_BeforeWeight.DataPropertyName = "BeforeWeight"; |
|
|
|
dataGridViewCellStyle27.Format = "#0.######"; |
|
|
|
this.H_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle27; |
|
|
|
this.H_BeforeWeight.HeaderText = "入库重量"; |
|
|
|
this.H_BeforeWeight.Name = "H_BeforeWeight"; |
|
|
|
this.H_BeforeWeight.ReadOnly = true; |
|
|
|
this.H_BeforeWeight.Width = 150; |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle28.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle28; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
this.H_Weight.Width = 150; |
|
|
|
//
|
|
|
|
// uLabel4
|
|
|
|
//
|
|
|
|
this.uLabel4.AutoSize = true; |
|
|
|
@ -358,6 +385,7 @@ |
|
|
|
//
|
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.groupBox1.Controls.Add(this.numFlowPanel); |
|
|
|
this.groupBox1.Controls.Add(this.splitContainer2); |
|
|
|
this.groupBox1.Controls.Add(this.readBtn); |
|
|
|
this.groupBox1.Controls.Add(this.submitBtn); |
|
|
|
@ -369,6 +397,15 @@ |
|
|
|
this.groupBox1.TabIndex = 2; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
//
|
|
|
|
// numFlowPanel
|
|
|
|
//
|
|
|
|
this.numFlowPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.numFlowPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; |
|
|
|
this.numFlowPanel.Location = new System.Drawing.Point(265, 14); |
|
|
|
this.numFlowPanel.Name = "numFlowPanel"; |
|
|
|
this.numFlowPanel.Size = new System.Drawing.Size(506, 41); |
|
|
|
this.numFlowPanel.TabIndex = 15; |
|
|
|
//
|
|
|
|
// splitContainer2
|
|
|
|
//
|
|
|
|
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Bottom; |
|
|
|
@ -394,15 +431,15 @@ |
|
|
|
this.weightGrid.AllowUserToDeleteRows = false; |
|
|
|
this.weightGrid.AllowUserToResizeColumns = false; |
|
|
|
this.weightGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.weightGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle30; |
|
|
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.weightGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.weightGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.weightGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle31.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle31.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.weightGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31; |
|
|
|
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle7.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.weightGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.weightGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.weightGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.W_ID, |
|
|
|
@ -413,9 +450,9 @@ |
|
|
|
this.weightGrid.Name = "weightGrid"; |
|
|
|
this.weightGrid.ReadOnly = true; |
|
|
|
this.weightGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle32.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle32.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.weightGrid.RowsDefaultCellStyle = dataGridViewCellStyle32; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.weightGrid.RowsDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.weightGrid.RowTemplate.Height = 23; |
|
|
|
this.weightGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.weightGrid.Size = new System.Drawing.Size(254, 200); |
|
|
|
@ -442,15 +479,15 @@ |
|
|
|
this.needSubmitGrid.AllowUserToDeleteRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeColumns = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle33; |
|
|
|
dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.needSubmitGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.needSubmitGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle34.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle34.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle34; |
|
|
|
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle10.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
this.needSubmitGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.needSubmitGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
@ -458,6 +495,7 @@ |
|
|
|
this.U_BarCode, |
|
|
|
this.U_Goods_Name, |
|
|
|
this.U_BeforeWeight, |
|
|
|
this.U_Number, |
|
|
|
this.U_Weight}); |
|
|
|
this.needSubmitGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.needSubmitGrid.Location = new System.Drawing.Point(0, 0); |
|
|
|
@ -465,61 +503,14 @@ |
|
|
|
this.needSubmitGrid.Name = "needSubmitGrid"; |
|
|
|
this.needSubmitGrid.ReadOnly = true; |
|
|
|
this.needSubmitGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle36.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle36.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle36; |
|
|
|
this.needSubmitGrid.RowTemplate.Height = 23; |
|
|
|
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
this.needSubmitGrid.RowTemplate.Height = 30; |
|
|
|
this.needSubmitGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.needSubmitGrid.Size = new System.Drawing.Size(508, 200); |
|
|
|
this.needSubmitGrid.TabIndex = 1; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
this.U_ID.DataPropertyName = "ID"; |
|
|
|
this.U_ID.HeaderText = "ID"; |
|
|
|
this.U_ID.Name = "U_ID"; |
|
|
|
this.U_ID.ReadOnly = true; |
|
|
|
this.U_ID.Visible = false; |
|
|
|
//
|
|
|
|
// U_RowIndex
|
|
|
|
//
|
|
|
|
this.U_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.U_RowIndex.HeaderText = "序号"; |
|
|
|
this.U_RowIndex.Name = "U_RowIndex"; |
|
|
|
this.U_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_BarCode
|
|
|
|
//
|
|
|
|
this.U_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.U_BarCode.DataPropertyName = "BarCode"; |
|
|
|
this.U_BarCode.HeaderText = "条码"; |
|
|
|
this.U_BarCode.Name = "U_BarCode"; |
|
|
|
this.U_BarCode.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_Goods_Name
|
|
|
|
//
|
|
|
|
this.U_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.U_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.U_Goods_Name.HeaderText = "产品名称"; |
|
|
|
this.U_Goods_Name.Name = "U_Goods_Name"; |
|
|
|
this.U_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_BeforeWeight
|
|
|
|
//
|
|
|
|
this.U_BeforeWeight.DataPropertyName = "BeforeWeight"; |
|
|
|
dataGridViewCellStyle35.Format = "#0.######"; |
|
|
|
this.U_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle35; |
|
|
|
this.U_BeforeWeight.HeaderText = "入库重量"; |
|
|
|
this.U_BeforeWeight.Name = "U_BeforeWeight"; |
|
|
|
this.U_BeforeWeight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_Weight
|
|
|
|
//
|
|
|
|
this.U_Weight.DataPropertyName = "Weight"; |
|
|
|
this.U_Weight.HeaderText = "重量"; |
|
|
|
this.U_Weight.Name = "U_Weight"; |
|
|
|
this.U_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// readBtn
|
|
|
|
//
|
|
|
|
this.readBtn.AsClicked = false; |
|
|
|
@ -575,6 +566,121 @@ |
|
|
|
this.uLabel3.TabIndex = 0; |
|
|
|
this.uLabel3.Text = "领料明细"; |
|
|
|
//
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
this.H_ID.DataPropertyName = "ID"; |
|
|
|
this.H_ID.HeaderText = "ID"; |
|
|
|
this.H_ID.Name = "H_ID"; |
|
|
|
this.H_ID.ReadOnly = true; |
|
|
|
this.H_ID.Visible = false; |
|
|
|
//
|
|
|
|
// H_RowIndex
|
|
|
|
//
|
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_BarCode
|
|
|
|
//
|
|
|
|
this.H_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_BarCode.DataPropertyName = "BarCode"; |
|
|
|
this.H_BarCode.HeaderText = "条码"; |
|
|
|
this.H_BarCode.Name = "H_BarCode"; |
|
|
|
this.H_BarCode.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Goods_Name
|
|
|
|
//
|
|
|
|
this.H_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.H_Goods_Name.HeaderText = "产品名称"; |
|
|
|
this.H_Goods_Name.Name = "H_Goods_Name"; |
|
|
|
this.H_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_BeforeWeight
|
|
|
|
//
|
|
|
|
this.H_BeforeWeight.DataPropertyName = "BeforeWeight"; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.H_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.H_BeforeWeight.HeaderText = "入库重量"; |
|
|
|
this.H_BeforeWeight.Name = "H_BeforeWeight"; |
|
|
|
this.H_BeforeWeight.ReadOnly = true; |
|
|
|
this.H_BeforeWeight.Width = 150; |
|
|
|
//
|
|
|
|
// H_Number
|
|
|
|
//
|
|
|
|
this.H_Number.DataPropertyName = "Number"; |
|
|
|
this.H_Number.HeaderText = "头数"; |
|
|
|
this.H_Number.Name = "H_Number"; |
|
|
|
this.H_Number.ReadOnly = true; |
|
|
|
this.H_Number.Width = 65; |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
this.H_Weight.Width = 150; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
this.U_ID.DataPropertyName = "ID"; |
|
|
|
this.U_ID.HeaderText = "ID"; |
|
|
|
this.U_ID.Name = "U_ID"; |
|
|
|
this.U_ID.ReadOnly = true; |
|
|
|
this.U_ID.Visible = false; |
|
|
|
//
|
|
|
|
// U_RowIndex
|
|
|
|
//
|
|
|
|
this.U_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.U_RowIndex.HeaderText = "序号"; |
|
|
|
this.U_RowIndex.Name = "U_RowIndex"; |
|
|
|
this.U_RowIndex.ReadOnly = true; |
|
|
|
this.U_RowIndex.Width = 70; |
|
|
|
//
|
|
|
|
// U_BarCode
|
|
|
|
//
|
|
|
|
this.U_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.U_BarCode.DataPropertyName = "BarCode"; |
|
|
|
this.U_BarCode.HeaderText = "条码"; |
|
|
|
this.U_BarCode.Name = "U_BarCode"; |
|
|
|
this.U_BarCode.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_Goods_Name
|
|
|
|
//
|
|
|
|
this.U_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.U_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.U_Goods_Name.HeaderText = "产品名称"; |
|
|
|
this.U_Goods_Name.Name = "U_Goods_Name"; |
|
|
|
this.U_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_BeforeWeight
|
|
|
|
//
|
|
|
|
this.U_BeforeWeight.DataPropertyName = "BeforeWeight"; |
|
|
|
dataGridViewCellStyle11.Format = "#0.######"; |
|
|
|
this.U_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
this.U_BeforeWeight.HeaderText = "入库重量"; |
|
|
|
this.U_BeforeWeight.Name = "U_BeforeWeight"; |
|
|
|
this.U_BeforeWeight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_Number
|
|
|
|
//
|
|
|
|
this.U_Number.DataPropertyName = "Number"; |
|
|
|
this.U_Number.HeaderText = "头数"; |
|
|
|
this.U_Number.Name = "U_Number"; |
|
|
|
this.U_Number.ReadOnly = true; |
|
|
|
this.U_Number.Width = 65; |
|
|
|
//
|
|
|
|
// U_Weight
|
|
|
|
//
|
|
|
|
this.U_Weight.DataPropertyName = "Weight"; |
|
|
|
this.U_Weight.HeaderText = "重量"; |
|
|
|
this.U_Weight.Name = "U_Weight"; |
|
|
|
this.U_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// CarcassTakeOutForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
@ -623,25 +729,31 @@ |
|
|
|
private WinFormControl.UButton closeBtn; |
|
|
|
private WinFormControl.UButton readBtn; |
|
|
|
private WinFormControl.UButton submitBtn; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_RowIndex; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BarCode; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BeforeWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private WinFormControl.UDataGridView weightGrid; |
|
|
|
private System.Windows.Forms.SplitContainer splitContainer2; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn W_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn W_Weight; |
|
|
|
private System.Windows.Forms.ComboBox productBatchSelect; |
|
|
|
private WinFormControl.ULabel uLabel2; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
|
|
|
private WinFormControl.UButton carcassBtn; |
|
|
|
private WinFormControl.UButton sectionBtn; |
|
|
|
private WinFormControl.UButton numSetBtn; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel numFlowPanel; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_RowIndex; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BarCode; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BeforeWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_RowIndex; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_BarCode; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_BeforeWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Weight; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
|
|
|
|
|
|
|
} |
|
|
|
} |