|
|
|
@ -28,28 +28,29 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = 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 dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WeightCountForm)); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = 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 dataGridViewCellStyle11 = 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 dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.historyDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.H_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.uLabel4 = new WinFormControl.ULabel(); |
|
|
|
this.storeSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
this.uLabel5 = new WinFormControl.ULabel(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.discontBtn = new WinFormControl.UButton(); |
|
|
|
this.typeBtn = new WinFormControl.UButton(); |
|
|
|
this.uLabel7 = new WinFormControl.ULabel(); |
|
|
|
this.uLabel6 = new WinFormControl.ULabel(); |
|
|
|
this.numSetBtn = new WinFormControl.UButton(); |
|
|
|
this.productBatchSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
@ -62,14 +63,23 @@ |
|
|
|
this.uLabel1 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.needSubmitGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.numFlowPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.U_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_GrossWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Discont = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.U_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.numFlowPanel = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
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_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_GrossWeight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Discont = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.historyDataGrid)).BeginInit(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
@ -80,59 +90,29 @@ |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.needSubmitGrid)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle17.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.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_RowIndex
|
|
|
|
//
|
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// 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; |
|
|
|
//
|
|
|
|
// historyDataGrid
|
|
|
|
//
|
|
|
|
this.historyDataGrid.AllowUserToAddRows = false; |
|
|
|
this.historyDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
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; |
|
|
|
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle19.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19; |
|
|
|
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_RowIndex, |
|
|
|
this.H_Goods_Name, |
|
|
|
this.H_Number, |
|
|
|
this.H_GrossWeight, |
|
|
|
this.H_Discont, |
|
|
|
this.H_Weight}); |
|
|
|
this.historyDataGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.historyDataGrid.Location = new System.Drawing.Point(5, 19); |
|
|
|
@ -140,30 +120,23 @@ |
|
|
|
this.historyDataGrid.Name = "historyDataGrid"; |
|
|
|
this.historyDataGrid.ReadOnly = true; |
|
|
|
this.historyDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle20; |
|
|
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.historyDataGrid.RowTemplate.Height = 23; |
|
|
|
this.historyDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.historyDataGrid.Size = new System.Drawing.Size(590, 158); |
|
|
|
this.historyDataGrid.Size = new System.Drawing.Size(683, 158); |
|
|
|
this.historyDataGrid.TabIndex = 2; |
|
|
|
//
|
|
|
|
// H_Number
|
|
|
|
//
|
|
|
|
this.H_Number.DataPropertyName = "Number"; |
|
|
|
this.H_Number.HeaderText = "数量"; |
|
|
|
this.H_Number.Name = "H_Number"; |
|
|
|
this.H_Number.ReadOnly = true; |
|
|
|
//
|
|
|
|
// flowLayoutPanel1
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.flowLayoutPanel1.AutoScroll = true; |
|
|
|
this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(627, -1); |
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(710, -1); |
|
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(680, 521); |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(597, 521); |
|
|
|
this.flowLayoutPanel1.TabIndex = 4; |
|
|
|
//
|
|
|
|
// groupBox2
|
|
|
|
@ -176,7 +149,7 @@ |
|
|
|
this.groupBox2.Location = new System.Drawing.Point(11, 324); |
|
|
|
this.groupBox2.Name = "groupBox2"; |
|
|
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(5); |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(600, 182); |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(693, 182); |
|
|
|
this.groupBox2.TabIndex = 3; |
|
|
|
this.groupBox2.TabStop = false; |
|
|
|
//
|
|
|
|
@ -189,7 +162,7 @@ |
|
|
|
this.uLabel4.Name = "uLabel4"; |
|
|
|
this.uLabel4.Size = new System.Drawing.Size(80, 18); |
|
|
|
this.uLabel4.TabIndex = 1; |
|
|
|
this.uLabel4.Text = "历史领料"; |
|
|
|
this.uLabel4.Text = "历史明细"; |
|
|
|
//
|
|
|
|
// storeSelect
|
|
|
|
//
|
|
|
|
@ -227,7 +200,9 @@ |
|
|
|
// splitContainer1.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.discontBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.typeBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel7); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel6); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.storeSelect); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel5); |
|
|
|
@ -250,6 +225,29 @@ |
|
|
|
this.splitContainer1.SplitterDistance = 86; |
|
|
|
this.splitContainer1.TabIndex = 3; |
|
|
|
//
|
|
|
|
// discontBtn
|
|
|
|
//
|
|
|
|
this.discontBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.discontBtn.AsClicked = false; |
|
|
|
this.discontBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("discontBtn.BackgroundImage"))); |
|
|
|
this.discontBtn.EnableGroup = false; |
|
|
|
this.discontBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.discontBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.discontBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.discontBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.discontBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.discontBtn.Location = new System.Drawing.Point(540, 46); |
|
|
|
this.discontBtn.Name = "discontBtn"; |
|
|
|
this.discontBtn.PlaySound = false; |
|
|
|
this.discontBtn.SelfControlEnable = false; |
|
|
|
this.discontBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.discontBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.discontBtn.TabIndex = 25; |
|
|
|
this.discontBtn.Text = "0"; |
|
|
|
this.discontBtn.UseVisualStyleBackColor = true; |
|
|
|
this.discontBtn.WithStataHode = false; |
|
|
|
this.discontBtn.Click += new System.EventHandler(this.discontBtn_Click); |
|
|
|
//
|
|
|
|
// typeBtn
|
|
|
|
//
|
|
|
|
this.typeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
@ -261,7 +259,7 @@ |
|
|
|
this.typeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.typeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.typeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.typeBtn.Location = new System.Drawing.Point(696, 46); |
|
|
|
this.typeBtn.Location = new System.Drawing.Point(758, 46); |
|
|
|
this.typeBtn.Name = "typeBtn"; |
|
|
|
this.typeBtn.PlaySound = false; |
|
|
|
this.typeBtn.SelfControlEnable = false; |
|
|
|
@ -272,13 +270,25 @@ |
|
|
|
this.typeBtn.WithStataHode = false; |
|
|
|
this.typeBtn.Click += new System.EventHandler(this.typeBtn_Click); |
|
|
|
//
|
|
|
|
// uLabel7
|
|
|
|
//
|
|
|
|
this.uLabel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uLabel7.AutoSize = true; |
|
|
|
this.uLabel7.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uLabel7.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uLabel7.Location = new System.Drawing.Point(475, 53); |
|
|
|
this.uLabel7.Name = "uLabel7"; |
|
|
|
this.uLabel7.Size = new System.Drawing.Size(69, 20); |
|
|
|
this.uLabel7.TabIndex = 24; |
|
|
|
this.uLabel7.Text = "扣重:"; |
|
|
|
//
|
|
|
|
// uLabel6
|
|
|
|
//
|
|
|
|
this.uLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uLabel6.AutoSize = true; |
|
|
|
this.uLabel6.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uLabel6.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uLabel6.Location = new System.Drawing.Point(595, 53); |
|
|
|
this.uLabel6.Location = new System.Drawing.Point(657, 53); |
|
|
|
this.uLabel6.Name = "uLabel6"; |
|
|
|
this.uLabel6.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.uLabel6.TabIndex = 24; |
|
|
|
@ -414,7 +424,7 @@ |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(11, 13); |
|
|
|
this.groupBox1.Name = "groupBox1"; |
|
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(5); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(600, 305); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(693, 305); |
|
|
|
this.groupBox1.TabIndex = 2; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
//
|
|
|
|
@ -424,37 +434,81 @@ |
|
|
|
this.needSubmitGrid.AllowUserToDeleteRows = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeColumns = false; |
|
|
|
this.needSubmitGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21; |
|
|
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.needSubmitGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.needSubmitGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.needSubmitGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle22.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle22.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22; |
|
|
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.needSubmitGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.needSubmitGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
this.U_RowIndex, |
|
|
|
this.U_Goods_Name, |
|
|
|
this.U_Number, |
|
|
|
this.U_GrossWeight, |
|
|
|
this.U_Discont, |
|
|
|
this.U_Weight}); |
|
|
|
this.needSubmitGrid.Location = new System.Drawing.Point(5, 57); |
|
|
|
this.needSubmitGrid.MultiSelect = false; |
|
|
|
this.needSubmitGrid.Name = "needSubmitGrid"; |
|
|
|
this.needSubmitGrid.ReadOnly = true; |
|
|
|
this.needSubmitGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle24.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle24; |
|
|
|
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(590, 240); |
|
|
|
this.needSubmitGrid.Size = new System.Drawing.Size(683, 240); |
|
|
|
this.needSubmitGrid.TabIndex = 16; |
|
|
|
//
|
|
|
|
// 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(143, 13); |
|
|
|
this.numFlowPanel.Name = "numFlowPanel"; |
|
|
|
this.numFlowPanel.Size = new System.Drawing.Size(545, 41); |
|
|
|
this.numFlowPanel.TabIndex = 15; |
|
|
|
//
|
|
|
|
// submitBtn
|
|
|
|
//
|
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.EnableGroup = false; |
|
|
|
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.SelfControlEnable = 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); |
|
|
|
//
|
|
|
|
// 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 = "称重明细"; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
this.U_ID.DataPropertyName = "ID"; |
|
|
|
@ -485,56 +539,89 @@ |
|
|
|
this.U_Number.Name = "U_Number"; |
|
|
|
this.U_Number.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_GrossWeight
|
|
|
|
//
|
|
|
|
this.U_GrossWeight.DataPropertyName = "GrossWeight"; |
|
|
|
dataGridViewCellStyle9.Format = "#0.######"; |
|
|
|
this.U_GrossWeight.DefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.U_GrossWeight.HeaderText = "毛重"; |
|
|
|
this.U_GrossWeight.Name = "U_GrossWeight"; |
|
|
|
this.U_GrossWeight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_Discont
|
|
|
|
//
|
|
|
|
this.U_Discont.DataPropertyName = "Discont"; |
|
|
|
dataGridViewCellStyle10.Format = "#0.######"; |
|
|
|
this.U_Discont.DefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
this.U_Discont.HeaderText = "扣重"; |
|
|
|
this.U_Discont.Name = "U_Discont"; |
|
|
|
this.U_Discont.ReadOnly = true; |
|
|
|
//
|
|
|
|
// U_Weight
|
|
|
|
//
|
|
|
|
this.U_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle23.Format = "#0.######"; |
|
|
|
this.U_Weight.DefaultCellStyle = dataGridViewCellStyle23; |
|
|
|
this.U_Weight.HeaderText = "重量"; |
|
|
|
dataGridViewCellStyle11.Format = "#0.######"; |
|
|
|
this.U_Weight.DefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
this.U_Weight.HeaderText = "净重"; |
|
|
|
this.U_Weight.Name = "U_Weight"; |
|
|
|
this.U_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// numFlowPanel
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
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(143, 13); |
|
|
|
this.numFlowPanel.Name = "numFlowPanel"; |
|
|
|
this.numFlowPanel.Size = new System.Drawing.Size(452, 41); |
|
|
|
this.numFlowPanel.TabIndex = 15; |
|
|
|
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; |
|
|
|
//
|
|
|
|
// submitBtn
|
|
|
|
// H_RowIndex
|
|
|
|
//
|
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.EnableGroup = false; |
|
|
|
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.SelfControlEnable = 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); |
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uLabel3
|
|
|
|
// H_Goods_Name
|
|
|
|
//
|
|
|
|
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 = "领料明细"; |
|
|
|
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_Number
|
|
|
|
//
|
|
|
|
this.H_Number.DataPropertyName = "Number"; |
|
|
|
this.H_Number.HeaderText = "数量"; |
|
|
|
this.H_Number.Name = "H_Number"; |
|
|
|
this.H_Number.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_GrossWeight
|
|
|
|
//
|
|
|
|
this.H_GrossWeight.DataPropertyName = "GrossWeight"; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.H_GrossWeight.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.H_GrossWeight.HeaderText = "毛重"; |
|
|
|
this.H_GrossWeight.Name = "H_GrossWeight"; |
|
|
|
this.H_GrossWeight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Discont
|
|
|
|
//
|
|
|
|
this.H_Discont.DataPropertyName = "Discont"; |
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
this.H_Discont.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.H_Discont.HeaderText = "扣重"; |
|
|
|
this.H_Discont.Name = "H_Discont"; |
|
|
|
this.H_Discont.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle5.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// WeightCountForm
|
|
|
|
//
|
|
|
|
@ -564,12 +651,7 @@ |
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_RowIndex; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private WinFormControl.UDataGridView historyDataGrid; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Number; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
|
|
|
private System.Windows.Forms.GroupBox groupBox2; |
|
|
|
private WinFormControl.ULabel uLabel4; |
|
|
|
@ -587,15 +669,26 @@ |
|
|
|
private WinFormControl.ULabel uLabel1; |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private WinFormControl.UDataGridView needSubmitGrid; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_RowIndex; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Weight; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel numFlowPanel; |
|
|
|
private WinFormControl.UButton submitBtn; |
|
|
|
private WinFormControl.ULabel uLabel3; |
|
|
|
private WinFormControl.ULabel uLabel6; |
|
|
|
private WinFormControl.UButton typeBtn; |
|
|
|
private WinFormControl.UButton discontBtn; |
|
|
|
private WinFormControl.ULabel uLabel7; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_RowIndex; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_GrossWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Discont; |
|
|
|
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_Goods_Name; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Number; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_GrossWeight; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Discont; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn U_Weight; |
|
|
|
} |
|
|
|
} |