|
|
|
@ -28,37 +28,21 @@ |
|
|
|
/// </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 dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = 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.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.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.dataGridViewSubmited = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.LossWeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.dataGridViewUnSubmit = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.U_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un编码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un单位 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.btnCommit = new System.Windows.Forms.Button(); |
|
|
|
this.btnDelete = new System.Windows.Forms.Button(); |
|
|
|
this.readBtn = new BWP.WinFormControl.UButton(); |
|
|
|
this.btnCommit = new BWP.WinFormControl.UButton(); |
|
|
|
this.btnDelete = new BWP.WinFormControl.UButton(); |
|
|
|
this.panel1 = new System.Windows.Forms.Panel(); |
|
|
|
this.btnEnableWeight = new System.Windows.Forms.Button(); |
|
|
|
this.picNetStatus = new System.Windows.Forms.PictureBox(); |
|
|
|
@ -85,20 +69,36 @@ |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.readBtn = new System.Windows.Forms.Button(); |
|
|
|
this.dataGridViewSubmited = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.LossWeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.dataGridViewUnSubmit = new BWP.WinFormControl.UDataGridView(); |
|
|
|
this.U_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un条码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un编码 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un名称 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un重量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un单位 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.un数量 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
this.splitContainer1.SuspendLayout(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewSubmited)).BeginInit(); |
|
|
|
this.groupBox1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewUnSubmit)).BeginInit(); |
|
|
|
this.panel1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.picNetStatus)).BeginInit(); |
|
|
|
this.panel3.SuspendLayout(); |
|
|
|
this.panel2.SuspendLayout(); |
|
|
|
this.panel4.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewSubmited)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewUnSubmit)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// splitContainer1
|
|
|
|
@ -136,113 +136,6 @@ |
|
|
|
this.groupBox2.TabStop = false; |
|
|
|
this.groupBox2.Text = "历史领料"; |
|
|
|
//
|
|
|
|
// dataGridViewSubmited
|
|
|
|
//
|
|
|
|
this.dataGridViewSubmited.AllowUserToAddRows = false; |
|
|
|
this.dataGridViewSubmited.AllowUserToDeleteRows = false; |
|
|
|
this.dataGridViewSubmited.AllowUserToResizeColumns = false; |
|
|
|
this.dataGridViewSubmited.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.dataGridViewSubmited.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle14; |
|
|
|
this.dataGridViewSubmited.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.dataGridViewSubmited.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.dataGridViewSubmited.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15; |
|
|
|
this.dataGridViewSubmited.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.dataGridViewSubmited.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.dataGridViewTextBoxColumn1, |
|
|
|
this.dataGridViewTextBoxColumn2, |
|
|
|
this.dataGridViewTextBoxColumn3, |
|
|
|
this.dataGridViewTextBoxColumn4, |
|
|
|
this.dataGridViewTextBoxColumn5, |
|
|
|
this.LossWeightColumn, |
|
|
|
this.dataGridViewTextBoxColumn6, |
|
|
|
this.dataGridViewTextBoxColumn7}); |
|
|
|
this.dataGridViewSubmited.Location = new System.Drawing.Point(6, 21); |
|
|
|
this.dataGridViewSubmited.MultiSelect = false; |
|
|
|
this.dataGridViewSubmited.Name = "dataGridViewSubmited"; |
|
|
|
this.dataGridViewSubmited.ReadOnly = true; |
|
|
|
this.dataGridViewSubmited.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.dataGridViewSubmited.RowsDefaultCellStyle = dataGridViewCellStyle18; |
|
|
|
this.dataGridViewSubmited.RowTemplate.Height = 23; |
|
|
|
this.dataGridViewSubmited.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.dataGridViewSubmited.Size = new System.Drawing.Size(761, 177); |
|
|
|
this.dataGridViewSubmited.TabIndex = 2; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn1
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "ID"; |
|
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "序号"; |
|
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; |
|
|
|
this.dataGridViewTextBoxColumn1.ReadOnly = true; |
|
|
|
this.dataGridViewTextBoxColumn1.Width = 80; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn2
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "BarCode"; |
|
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "条码"; |
|
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; |
|
|
|
this.dataGridViewTextBoxColumn2.ReadOnly = true; |
|
|
|
this.dataGridViewTextBoxColumn2.Width = 65; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn3
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "Goods_Code"; |
|
|
|
this.dataGridViewTextBoxColumn3.HeaderText = "编码"; |
|
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; |
|
|
|
this.dataGridViewTextBoxColumn3.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn4
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "Goods_Name"; |
|
|
|
this.dataGridViewTextBoxColumn4.HeaderText = "名称"; |
|
|
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; |
|
|
|
this.dataGridViewTextBoxColumn4.ReadOnly = true; |
|
|
|
this.dataGridViewTextBoxColumn4.Width = 65; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn5
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle16.Format = "#0.######"; |
|
|
|
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle16; |
|
|
|
this.dataGridViewTextBoxColumn5.HeaderText = "重量"; |
|
|
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; |
|
|
|
this.dataGridViewTextBoxColumn5.ReadOnly = true; |
|
|
|
//
|
|
|
|
// LossWeightColumn
|
|
|
|
//
|
|
|
|
this.LossWeightColumn.DataPropertyName = "LossWeight"; |
|
|
|
dataGridViewCellStyle17.Format = "#0.######"; |
|
|
|
this.LossWeightColumn.DefaultCellStyle = dataGridViewCellStyle17; |
|
|
|
this.LossWeightColumn.HeaderText = "损耗"; |
|
|
|
this.LossWeightColumn.Name = "LossWeightColumn"; |
|
|
|
this.LossWeightColumn.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn6
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "Goods_MainUnit"; |
|
|
|
this.dataGridViewTextBoxColumn6.HeaderText = "单位"; |
|
|
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; |
|
|
|
this.dataGridViewTextBoxColumn6.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn7
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "Number"; |
|
|
|
this.dataGridViewTextBoxColumn7.HeaderText = "数量"; |
|
|
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; |
|
|
|
this.dataGridViewTextBoxColumn7.ReadOnly = true; |
|
|
|
//
|
|
|
|
// groupBox1
|
|
|
|
//
|
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
@ -259,110 +152,23 @@ |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
this.groupBox1.Text = "领料明细"; |
|
|
|
//
|
|
|
|
// dataGridViewUnSubmit
|
|
|
|
//
|
|
|
|
this.dataGridViewUnSubmit.AllowUserToAddRows = false; |
|
|
|
this.dataGridViewUnSubmit.AllowUserToDeleteRows = false; |
|
|
|
this.dataGridViewUnSubmit.AllowUserToResizeColumns = false; |
|
|
|
this.dataGridViewUnSubmit.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.dataGridViewUnSubmit.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
this.dataGridViewUnSubmit.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.dataGridViewUnSubmit.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.dataGridViewUnSubmit.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
this.dataGridViewUnSubmit.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.dataGridViewUnSubmit.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
this.un条码, |
|
|
|
this.un编码, |
|
|
|
this.un名称, |
|
|
|
this.un重量, |
|
|
|
this.un单位, |
|
|
|
this.un数量}); |
|
|
|
this.dataGridViewUnSubmit.Location = new System.Drawing.Point(6, 63); |
|
|
|
this.dataGridViewUnSubmit.MultiSelect = false; |
|
|
|
this.dataGridViewUnSubmit.Name = "dataGridViewUnSubmit"; |
|
|
|
this.dataGridViewUnSubmit.ReadOnly = true; |
|
|
|
this.dataGridViewUnSubmit.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.dataGridViewUnSubmit.RowsDefaultCellStyle = dataGridViewCellStyle13; |
|
|
|
this.dataGridViewUnSubmit.RowTemplate.Height = 23; |
|
|
|
this.dataGridViewUnSubmit.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.dataGridViewUnSubmit.Size = new System.Drawing.Size(761, 189); |
|
|
|
this.dataGridViewUnSubmit.TabIndex = 1; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
this.U_ID.DataPropertyName = "ID"; |
|
|
|
this.U_ID.HeaderText = "序号"; |
|
|
|
this.U_ID.Name = "U_ID"; |
|
|
|
this.U_ID.ReadOnly = true; |
|
|
|
this.U_ID.Width = 80; |
|
|
|
//
|
|
|
|
// un条码
|
|
|
|
//
|
|
|
|
this.un条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.un条码.DataPropertyName = "BarCode"; |
|
|
|
this.un条码.HeaderText = "条码"; |
|
|
|
this.un条码.Name = "un条码"; |
|
|
|
this.un条码.ReadOnly = true; |
|
|
|
this.un条码.Width = 65; |
|
|
|
//
|
|
|
|
// un编码
|
|
|
|
//
|
|
|
|
this.un编码.DataPropertyName = "Goods_Code"; |
|
|
|
this.un编码.HeaderText = "编码"; |
|
|
|
this.un编码.Name = "un编码"; |
|
|
|
this.un编码.ReadOnly = true; |
|
|
|
//
|
|
|
|
// un名称
|
|
|
|
//
|
|
|
|
this.un名称.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.un名称.DataPropertyName = "Goods_Name"; |
|
|
|
this.un名称.HeaderText = "名称"; |
|
|
|
this.un名称.Name = "un名称"; |
|
|
|
this.un名称.ReadOnly = true; |
|
|
|
this.un名称.Width = 65; |
|
|
|
//
|
|
|
|
// un重量
|
|
|
|
//
|
|
|
|
this.un重量.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle12.Format = "#0.######"; |
|
|
|
this.un重量.DefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
this.un重量.HeaderText = "重量"; |
|
|
|
this.un重量.Name = "un重量"; |
|
|
|
this.un重量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// un单位
|
|
|
|
//
|
|
|
|
this.un单位.DataPropertyName = "Goods_MainUnit"; |
|
|
|
this.un单位.HeaderText = "单位"; |
|
|
|
this.un单位.Name = "un单位"; |
|
|
|
this.un单位.ReadOnly = true; |
|
|
|
//
|
|
|
|
// un数量
|
|
|
|
// readBtn
|
|
|
|
//
|
|
|
|
this.un数量.DataPropertyName = "Number"; |
|
|
|
this.un数量.HeaderText = "数量"; |
|
|
|
this.un数量.Name = "un数量"; |
|
|
|
this.un数量.ReadOnly = true; |
|
|
|
this.readBtn.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.readBtn.Location = new System.Drawing.Point(243, 14); |
|
|
|
this.readBtn.Name = "readBtn"; |
|
|
|
this.readBtn.Size = new System.Drawing.Size(75, 45); |
|
|
|
this.readBtn.TabIndex = 2; |
|
|
|
this.readBtn.Text = "读入"; |
|
|
|
this.readBtn.UseVisualStyleBackColor = true; |
|
|
|
this.readBtn.Click += new System.EventHandler(this.readBtn_Click); |
|
|
|
//
|
|
|
|
// btnCommit
|
|
|
|
//
|
|
|
|
this.btnCommit.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.btnCommit.Location = new System.Drawing.Point(6, 21); |
|
|
|
this.btnCommit.Location = new System.Drawing.Point(6, 14); |
|
|
|
this.btnCommit.Name = "btnCommit"; |
|
|
|
this.btnCommit.Size = new System.Drawing.Size(75, 35); |
|
|
|
this.btnCommit.Size = new System.Drawing.Size(75, 45); |
|
|
|
this.btnCommit.TabIndex = 0; |
|
|
|
this.btnCommit.Text = "提交"; |
|
|
|
this.btnCommit.UseVisualStyleBackColor = true; |
|
|
|
@ -371,9 +177,9 @@ |
|
|
|
// btnDelete
|
|
|
|
//
|
|
|
|
this.btnDelete.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.btnDelete.Location = new System.Drawing.Point(124, 21); |
|
|
|
this.btnDelete.Location = new System.Drawing.Point(124, 14); |
|
|
|
this.btnDelete.Name = "btnDelete"; |
|
|
|
this.btnDelete.Size = new System.Drawing.Size(75, 35); |
|
|
|
this.btnDelete.Size = new System.Drawing.Size(75, 45); |
|
|
|
this.btnDelete.TabIndex = 0; |
|
|
|
this.btnDelete.Text = "删除"; |
|
|
|
this.btnDelete.UseVisualStyleBackColor = true; |
|
|
|
@ -646,16 +452,210 @@ |
|
|
|
this.label1.TabIndex = 0; |
|
|
|
this.label1.Text = "条码"; |
|
|
|
//
|
|
|
|
// readBtn
|
|
|
|
// dataGridViewSubmited
|
|
|
|
//
|
|
|
|
this.readBtn.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
this.readBtn.Location = new System.Drawing.Point(243, 21); |
|
|
|
this.readBtn.Name = "readBtn"; |
|
|
|
this.readBtn.Size = new System.Drawing.Size(75, 35); |
|
|
|
this.readBtn.TabIndex = 2; |
|
|
|
this.readBtn.Text = "读入"; |
|
|
|
this.readBtn.UseVisualStyleBackColor = true; |
|
|
|
this.readBtn.Click += new System.EventHandler(this.readBtn_Click); |
|
|
|
this.dataGridViewSubmited.AllowUserToAddRows = false; |
|
|
|
this.dataGridViewSubmited.AllowUserToDeleteRows = false; |
|
|
|
this.dataGridViewSubmited.AllowUserToResizeColumns = false; |
|
|
|
this.dataGridViewSubmited.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.dataGridViewSubmited.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.dataGridViewSubmited.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.dataGridViewSubmited.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.dataGridViewSubmited.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.dataGridViewSubmited.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.dataGridViewSubmited.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.dataGridViewTextBoxColumn1, |
|
|
|
this.dataGridViewTextBoxColumn2, |
|
|
|
this.dataGridViewTextBoxColumn3, |
|
|
|
this.dataGridViewTextBoxColumn4, |
|
|
|
this.dataGridViewTextBoxColumn5, |
|
|
|
this.LossWeightColumn, |
|
|
|
this.dataGridViewTextBoxColumn6, |
|
|
|
this.dataGridViewTextBoxColumn7}); |
|
|
|
this.dataGridViewSubmited.Location = new System.Drawing.Point(6, 21); |
|
|
|
this.dataGridViewSubmited.MultiSelect = false; |
|
|
|
this.dataGridViewSubmited.Name = "dataGridViewSubmited"; |
|
|
|
this.dataGridViewSubmited.ReadOnly = true; |
|
|
|
this.dataGridViewSubmited.RowHeadersVisible = false; |
|
|
|
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.dataGridViewSubmited.RowsDefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.dataGridViewSubmited.RowTemplate.Height = 23; |
|
|
|
this.dataGridViewSubmited.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.dataGridViewSubmited.Size = new System.Drawing.Size(761, 177); |
|
|
|
this.dataGridViewSubmited.TabIndex = 2; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn1
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "ID"; |
|
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "序号"; |
|
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; |
|
|
|
this.dataGridViewTextBoxColumn1.ReadOnly = true; |
|
|
|
this.dataGridViewTextBoxColumn1.Width = 80; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn2
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "BarCode"; |
|
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "条码"; |
|
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; |
|
|
|
this.dataGridViewTextBoxColumn2.ReadOnly = true; |
|
|
|
this.dataGridViewTextBoxColumn2.Width = 65; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn3
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "Goods_Code"; |
|
|
|
this.dataGridViewTextBoxColumn3.HeaderText = "编码"; |
|
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; |
|
|
|
this.dataGridViewTextBoxColumn3.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn4
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "Goods_Name"; |
|
|
|
this.dataGridViewTextBoxColumn4.HeaderText = "名称"; |
|
|
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; |
|
|
|
this.dataGridViewTextBoxColumn4.ReadOnly = true; |
|
|
|
this.dataGridViewTextBoxColumn4.Width = 65; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn5
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.dataGridViewTextBoxColumn5.HeaderText = "重量"; |
|
|
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; |
|
|
|
this.dataGridViewTextBoxColumn5.ReadOnly = true; |
|
|
|
//
|
|
|
|
// LossWeightColumn
|
|
|
|
//
|
|
|
|
this.LossWeightColumn.DataPropertyName = "LossWeight"; |
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
this.LossWeightColumn.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.LossWeightColumn.HeaderText = "损耗"; |
|
|
|
this.LossWeightColumn.Name = "LossWeightColumn"; |
|
|
|
this.LossWeightColumn.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn6
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "Goods_MainUnit"; |
|
|
|
this.dataGridViewTextBoxColumn6.HeaderText = "单位"; |
|
|
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; |
|
|
|
this.dataGridViewTextBoxColumn6.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewTextBoxColumn7
|
|
|
|
//
|
|
|
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "Number"; |
|
|
|
this.dataGridViewTextBoxColumn7.HeaderText = "数量"; |
|
|
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; |
|
|
|
this.dataGridViewTextBoxColumn7.ReadOnly = true; |
|
|
|
//
|
|
|
|
// dataGridViewUnSubmit
|
|
|
|
//
|
|
|
|
this.dataGridViewUnSubmit.AllowUserToAddRows = false; |
|
|
|
this.dataGridViewUnSubmit.AllowUserToDeleteRows = false; |
|
|
|
this.dataGridViewUnSubmit.AllowUserToResizeColumns = false; |
|
|
|
this.dataGridViewUnSubmit.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.dataGridViewUnSubmit.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.dataGridViewUnSubmit.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.dataGridViewUnSubmit.BackgroundColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
|
|
|
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; |
|
|
|
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; |
|
|
|
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
|
|
|
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
|
|
|
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.dataGridViewUnSubmit.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
this.dataGridViewUnSubmit.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.dataGridViewUnSubmit.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.U_ID, |
|
|
|
this.un条码, |
|
|
|
this.un编码, |
|
|
|
this.un名称, |
|
|
|
this.un重量, |
|
|
|
this.un单位, |
|
|
|
this.un数量}); |
|
|
|
this.dataGridViewUnSubmit.Location = new System.Drawing.Point(6, 63); |
|
|
|
this.dataGridViewUnSubmit.MultiSelect = false; |
|
|
|
this.dataGridViewUnSubmit.Name = "dataGridViewUnSubmit"; |
|
|
|
this.dataGridViewUnSubmit.ReadOnly = true; |
|
|
|
this.dataGridViewUnSubmit.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.dataGridViewUnSubmit.RowsDefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
this.dataGridViewUnSubmit.RowTemplate.Height = 23; |
|
|
|
this.dataGridViewUnSubmit.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.dataGridViewUnSubmit.Size = new System.Drawing.Size(761, 189); |
|
|
|
this.dataGridViewUnSubmit.TabIndex = 1; |
|
|
|
//
|
|
|
|
// U_ID
|
|
|
|
//
|
|
|
|
this.U_ID.DataPropertyName = "ID"; |
|
|
|
this.U_ID.HeaderText = "序号"; |
|
|
|
this.U_ID.Name = "U_ID"; |
|
|
|
this.U_ID.ReadOnly = true; |
|
|
|
this.U_ID.Width = 80; |
|
|
|
//
|
|
|
|
// un条码
|
|
|
|
//
|
|
|
|
this.un条码.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.un条码.DataPropertyName = "BarCode"; |
|
|
|
this.un条码.HeaderText = "条码"; |
|
|
|
this.un条码.Name = "un条码"; |
|
|
|
this.un条码.ReadOnly = true; |
|
|
|
this.un条码.Width = 65; |
|
|
|
//
|
|
|
|
// un编码
|
|
|
|
//
|
|
|
|
this.un编码.DataPropertyName = "Goods_Code"; |
|
|
|
this.un编码.HeaderText = "编码"; |
|
|
|
this.un编码.Name = "un编码"; |
|
|
|
this.un编码.ReadOnly = true; |
|
|
|
//
|
|
|
|
// un名称
|
|
|
|
//
|
|
|
|
this.un名称.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; |
|
|
|
this.un名称.DataPropertyName = "Goods_Name"; |
|
|
|
this.un名称.HeaderText = "名称"; |
|
|
|
this.un名称.Name = "un名称"; |
|
|
|
this.un名称.ReadOnly = true; |
|
|
|
this.un名称.Width = 65; |
|
|
|
//
|
|
|
|
// un重量
|
|
|
|
//
|
|
|
|
this.un重量.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle8.Format = "#0.######"; |
|
|
|
this.un重量.DefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
this.un重量.HeaderText = "重量"; |
|
|
|
this.un重量.Name = "un重量"; |
|
|
|
this.un重量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// un单位
|
|
|
|
//
|
|
|
|
this.un单位.DataPropertyName = "Goods_MainUnit"; |
|
|
|
this.un单位.HeaderText = "单位"; |
|
|
|
this.un单位.Name = "un单位"; |
|
|
|
this.un单位.ReadOnly = true; |
|
|
|
//
|
|
|
|
// un数量
|
|
|
|
//
|
|
|
|
this.un数量.DataPropertyName = "Number"; |
|
|
|
this.un数量.HeaderText = "数量"; |
|
|
|
this.un数量.Name = "un数量"; |
|
|
|
this.un数量.ReadOnly = true; |
|
|
|
//
|
|
|
|
// MaterialRequisitionForm
|
|
|
|
//
|
|
|
|
@ -675,9 +675,7 @@ |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
|
|
|
this.splitContainer1.ResumeLayout(false); |
|
|
|
this.groupBox2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewSubmited)).EndInit(); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewUnSubmit)).EndInit(); |
|
|
|
this.panel1.ResumeLayout(false); |
|
|
|
this.panel1.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.picNetStatus)).EndInit(); |
|
|
|
@ -687,6 +685,8 @@ |
|
|
|
this.panel2.PerformLayout(); |
|
|
|
this.panel4.ResumeLayout(false); |
|
|
|
this.panel4.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewSubmited)).EndInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridViewUnSubmit)).EndInit(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
} |
|
|
|
@ -708,8 +708,8 @@ |
|
|
|
private System.Windows.Forms.Label lblChengZhong; |
|
|
|
private System.Windows.Forms.Button btnWeightSet; |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private System.Windows.Forms.Button btnDelete; |
|
|
|
private System.Windows.Forms.Button btnCommit; |
|
|
|
private BWP.WinFormControl.UButton btnDelete; |
|
|
|
private BWP.WinFormControl.UButton btnCommit; |
|
|
|
private BWP.WinFormControl.UDataGridView dataGridViewUnSubmit; |
|
|
|
private System.Windows.Forms.GroupBox groupBox2; |
|
|
|
private BWP.WinFormControl.UDataGridView dataGridViewSubmited; |
|
|
|
@ -742,7 +742,7 @@ |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn un重量; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn un单位; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn un数量; |
|
|
|
private System.Windows.Forms.Button readBtn; |
|
|
|
private BWP.WinFormControl.UButton readBtn; |
|
|
|
} |
|
|
|
} |
|
|
|
|