|
|
|
@ -28,18 +28,19 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CarcassTakeOutForm)); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = 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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = 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 dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.workUnitSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.closeBtn = new WinFormControl.UButton(); |
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
this.uScanPanel1 = new WinFormControl.UScanPanel(); |
|
|
|
this.netStateWatch1 = new WinFormControl.NetStateWatch(); |
|
|
|
@ -47,23 +48,23 @@ |
|
|
|
this.uLabel1 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.historyDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.uLabel4 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.needSubmitGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.closeBtn = new WinFormControl.UButton(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.deleteBtn = new WinFormControl.UButton(); |
|
|
|
this.readBtn = new WinFormControl.UButton(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = 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.readBtn = new WinFormControl.UButton(); |
|
|
|
this.deleteBtn = new WinFormControl.UButton(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.needSubmitGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.U_ID = 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_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
@ -114,6 +115,27 @@ |
|
|
|
this.splitContainer1.SplitterDistance = 86; |
|
|
|
this.splitContainer1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.closeBtn.AsClicked = false; |
|
|
|
this.closeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("closeBtn.BackgroundImage"))); |
|
|
|
this.closeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.closeBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1046, 7); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.PlaySound = false; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.closeBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.closeBtn.TabIndex = 10; |
|
|
|
this.closeBtn.Text = "关 闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = true; |
|
|
|
this.closeBtn.WithStataHode = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// uTimerLabel1
|
|
|
|
//
|
|
|
|
this.uTimerLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
@ -185,35 +207,78 @@ |
|
|
|
this.historyDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
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; |
|
|
|
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle15.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
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, |
|
|
|
this.H_BarCode, |
|
|
|
this.H_Goods_Name, |
|
|
|
this.H_Weight, |
|
|
|
this.H_BeforeWeight}); |
|
|
|
this.H_BeforeWeight, |
|
|
|
this.H_Weight}); |
|
|
|
this.historyDataGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.historyDataGrid.Location = new System.Drawing.Point(5, 19); |
|
|
|
this.historyDataGrid.MultiSelect = false; |
|
|
|
this.historyDataGrid.Name = "historyDataGrid"; |
|
|
|
this.historyDataGrid.ReadOnly = true; |
|
|
|
this.historyDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
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(1130, 230); |
|
|
|
this.historyDataGrid.TabIndex = 2; |
|
|
|
//
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
this.H_ID.DataPropertyName = "ID"; |
|
|
|
this.H_ID.HeaderText = "序号"; |
|
|
|
this.H_ID.Name = "H_ID"; |
|
|
|
this.H_ID.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_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; |
|
|
|
//
|
|
|
|
// uLabel4
|
|
|
|
//
|
|
|
|
this.uLabel4.AutoSize = true; |
|
|
|
@ -241,117 +306,8 @@ |
|
|
|
this.groupBox1.TabIndex = 2; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
//
|
|
|
|
// needSubmitGrid
|
|
|
|
//
|
|
|
|
this.needSubmitGrid.AllowUserToAddRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToDeleteRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeColumns = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
this.needSubmitGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle11.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
this.needSubmitGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.needSubmitGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
this.U_BarCode, |
|
|
|
this.U_Goods_Name, |
|
|
|
this.U_BeforeWeight}); |
|
|
|
this.needSubmitGrid.Dock = System.Windows.Forms.DockStyle.Bottom; |
|
|
|
this.needSubmitGrid.Location = new System.Drawing.Point(5, 62); |
|
|
|
this.needSubmitGrid.MultiSelect = false; |
|
|
|
this.needSubmitGrid.Name = "needSubmitGrid"; |
|
|
|
this.needSubmitGrid.ReadOnly = true; |
|
|
|
this.needSubmitGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
this.needSubmitGrid.RowTemplate.Height = 23; |
|
|
|
this.needSubmitGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.needSubmitGrid.Size = new System.Drawing.Size(1130, 159); |
|
|
|
this.needSubmitGrid.TabIndex = 1; |
|
|
|
//
|
|
|
|
// uLabel3
|
|
|
|
//
|
|
|
|
this.uLabel3.AutoSize = true; |
|
|
|
this.uLabel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 13F); |
|
|
|
this.uLabel3.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.uLabel3.Name = "uLabel3"; |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(80, 18); |
|
|
|
this.uLabel3.TabIndex = 0; |
|
|
|
this.uLabel3.Text = "领料明细"; |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.closeBtn.AsClicked = false; |
|
|
|
this.closeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("closeBtn.BackgroundImage"))); |
|
|
|
this.closeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.closeBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1046, 7); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.PlaySound = false; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.closeBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.closeBtn.TabIndex = 10; |
|
|
|
this.closeBtn.Text = "关 闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = true; |
|
|
|
this.closeBtn.WithStataHode = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// submitBtn
|
|
|
|
//
|
|
|
|
this.submitBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.submitBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.submitBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.submitBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.submitBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.submitBtn.Location = new System.Drawing.Point(11, 20); |
|
|
|
this.submitBtn.Name = "submitBtn"; |
|
|
|
this.submitBtn.PlaySound = false; |
|
|
|
this.submitBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.submitBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.submitBtn.TabIndex = 11; |
|
|
|
this.submitBtn.Text = "提 交"; |
|
|
|
this.submitBtn.UseVisualStyleBackColor = true; |
|
|
|
this.submitBtn.WithStataHode = false; |
|
|
|
this.submitBtn.Click += new System.EventHandler(this.submitBtn_Click); |
|
|
|
//
|
|
|
|
// deleteBtn
|
|
|
|
//
|
|
|
|
this.deleteBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.deleteBtn.AsClicked = false; |
|
|
|
this.deleteBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("deleteBtn.BackgroundImage"))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.deleteBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(140, 20); |
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
this.deleteBtn.PlaySound = false; |
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.deleteBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.deleteBtn.TabIndex = 12; |
|
|
|
this.deleteBtn.Text = "删 除"; |
|
|
|
this.deleteBtn.UseVisualStyleBackColor = true; |
|
|
|
this.deleteBtn.WithStataHode = false; |
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
//
|
|
|
|
// readBtn
|
|
|
|
//
|
|
|
|
this.readBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.readBtn.AsClicked = false; |
|
|
|
this.readBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("readBtn.BackgroundImage"))); |
|
|
|
this.readBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
@ -370,48 +326,80 @@ |
|
|
|
this.readBtn.WithStataHode = false; |
|
|
|
this.readBtn.Click += new System.EventHandler(this.readBtn_Click); |
|
|
|
//
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
this.H_ID.DataPropertyName = "ID"; |
|
|
|
this.H_ID.HeaderText = "序号"; |
|
|
|
this.H_ID.Name = "H_ID"; |
|
|
|
this.H_ID.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
|
|
|
|
// deleteBtn
|
|
|
|
//
|
|
|
|
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; |
|
|
|
this.deleteBtn.AsClicked = false; |
|
|
|
this.deleteBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("deleteBtn.BackgroundImage"))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.deleteBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(140, 20); |
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
this.deleteBtn.PlaySound = false; |
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.deleteBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.deleteBtn.TabIndex = 12; |
|
|
|
this.deleteBtn.Text = "删 除"; |
|
|
|
this.deleteBtn.UseVisualStyleBackColor = true; |
|
|
|
this.deleteBtn.WithStataHode = false; |
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
// submitBtn
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle16.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle16; |
|
|
|
this.H_Weight.HeaderText = "领用重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
this.H_Weight.Width = 200; |
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.submitBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.submitBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.submitBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.submitBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.submitBtn.Location = new System.Drawing.Point(11, 20); |
|
|
|
this.submitBtn.Name = "submitBtn"; |
|
|
|
this.submitBtn.PlaySound = false; |
|
|
|
this.submitBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.submitBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.submitBtn.TabIndex = 11; |
|
|
|
this.submitBtn.Text = "提 交"; |
|
|
|
this.submitBtn.UseVisualStyleBackColor = true; |
|
|
|
this.submitBtn.WithStataHode = false; |
|
|
|
this.submitBtn.Click += new System.EventHandler(this.submitBtn_Click); |
|
|
|
//
|
|
|
|
// H_BeforeWeight
|
|
|
|
// needSubmitGrid
|
|
|
|
//
|
|
|
|
this.H_BeforeWeight.DataPropertyName = "BeforeWeight"; |
|
|
|
dataGridViewCellStyle17.Format = "#0.######"; |
|
|
|
this.H_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
this.H_BeforeWeight.HeaderText = "入库重量"; |
|
|
|
this.H_BeforeWeight.Name = "H_BeforeWeight"; |
|
|
|
this.H_BeforeWeight.ReadOnly = true; |
|
|
|
this.H_BeforeWeight.Width = 200; |
|
|
|
this.needSubmitGrid.AllowUserToAddRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToDeleteRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeColumns = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.needSubmitGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
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.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.needSubmitGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.needSubmitGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
this.U_BarCode, |
|
|
|
this.U_Goods_Name, |
|
|
|
this.U_BeforeWeight, |
|
|
|
this.U_Weight}); |
|
|
|
this.needSubmitGrid.Dock = System.Windows.Forms.DockStyle.Bottom; |
|
|
|
this.needSubmitGrid.Location = new System.Drawing.Point(5, 62); |
|
|
|
this.needSubmitGrid.MultiSelect = false; |
|
|
|
this.needSubmitGrid.Name = "needSubmitGrid"; |
|
|
|
this.needSubmitGrid.ReadOnly = true; |
|
|
|
this.needSubmitGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.needSubmitGrid.RowTemplate.Height = 23; |
|
|
|
this.needSubmitGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.needSubmitGrid.Size = new System.Drawing.Size(1130, 159); |
|
|
|
this.needSubmitGrid.TabIndex = 1; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
@ -439,12 +427,31 @@ |
|
|
|
// U_BeforeWeight
|
|
|
|
//
|
|
|
|
this.U_BeforeWeight.DataPropertyName = "BeforeWeight"; |
|
|
|
dataGridViewCellStyle12.Format = "#0.######"; |
|
|
|
this.U_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
dataGridViewCellStyle8.Format = "#0.######"; |
|
|
|
this.U_BeforeWeight.DefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.U_BeforeWeight.HeaderText = "入库重量"; |
|
|
|
this.U_BeforeWeight.Name = "U_BeforeWeight"; |
|
|
|
this.U_BeforeWeight.ReadOnly = true; |
|
|
|
this.U_BeforeWeight.Width = 200; |
|
|
|
this.U_BeforeWeight.Width = 150; |
|
|
|
//
|
|
|
|
// U_Weight
|
|
|
|
//
|
|
|
|
this.U_Weight.DataPropertyName = "Weight"; |
|
|
|
this.U_Weight.HeaderText = "重量"; |
|
|
|
this.U_Weight.Name = "U_Weight"; |
|
|
|
this.U_Weight.ReadOnly = true; |
|
|
|
this.U_Weight.Width = 150; |
|
|
|
//
|
|
|
|
// uLabel3
|
|
|
|
//
|
|
|
|
this.uLabel3.AutoSize = true; |
|
|
|
this.uLabel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 13F); |
|
|
|
this.uLabel3.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.uLabel3.Name = "uLabel3"; |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(80, 18); |
|
|
|
this.uLabel3.TabIndex = 0; |
|
|
|
this.uLabel3.Text = "领料明细"; |
|
|
|
//
|
|
|
|
// CarcassTakeOutForm
|
|
|
|
//
|
|
|
|
@ -493,12 +500,13 @@ |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BarCode; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BeforeWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_ID; |
|
|
|
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_Weight; |
|
|
|
|
|
|
|
} |
|
|
|
} |