chenxy 6 سال پیش
والد
کامیت
75814eed80
2فایلهای تغییر یافته به همراه159 افزوده شده و 24 حذف شده
  1. 127 22
      DK.Client/PCModule/F_PC_0101_1_4.Designer.cs
  2. 32 2
      DK.Client/PCModule/F_PC_0101_1_4.cs

+ 127 - 22
DK.Client/PCModule/F_PC_0101_1_4.Designer.cs

@@ -71,6 +71,11 @@
             this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
             this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
             this.lblGoods = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.lblGoods = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtStandardGroutingCount = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
+            this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtGroutingCount = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
+            this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.btnSetCount = new Dongke.WinForm.Controls.BtnButton();
             ((System.ComponentModel.ISupportInitialize)(this.dgvGroutingLineDetail)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvGroutingLineDetail)).BeginInit();
             this.SuspendLayout();
             this.SuspendLayout();
             // 
             // 
@@ -80,7 +85,7 @@
             this.lblTimes.BackColor = System.Drawing.Color.Transparent;
             this.lblTimes.BackColor = System.Drawing.Color.Transparent;
             this.lblTimes.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblTimes.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblTimes.ForeColor = System.Drawing.SystemColors.ControlText;
             this.lblTimes.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblTimes.Location = new System.Drawing.Point(207, 18);
+            this.lblTimes.Location = new System.Drawing.Point(187, 18);
             this.lblTimes.Name = "lblTimes";
             this.lblTimes.Name = "lblTimes";
             this.lblTimes.Size = new System.Drawing.Size(53, 12);
             this.lblTimes.Size = new System.Drawing.Size(53, 12);
             this.lblTimes.TabIndex = 2;
             this.lblTimes.TabIndex = 2;
@@ -92,7 +97,7 @@
             this.txtDateStart.Enabled = false;
             this.txtDateStart.Enabled = false;
             this.txtDateStart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtDateStart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtDateStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
             this.txtDateStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
-            this.txtDateStart.Location = new System.Drawing.Point(266, 14);
+            this.txtDateStart.Location = new System.Drawing.Point(246, 14);
             this.txtDateStart.Name = "txtDateStart";
             this.txtDateStart.Name = "txtDateStart";
             this.txtDateStart.Size = new System.Drawing.Size(100, 21);
             this.txtDateStart.Size = new System.Drawing.Size(100, 21);
             this.txtDateStart.TabIndex = 3;
             this.txtDateStart.TabIndex = 3;
@@ -178,9 +183,9 @@
             dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.dgvGroutingLineDetail.RowsDefaultCellStyle = dataGridViewCellStyle7;
             this.dgvGroutingLineDetail.RowsDefaultCellStyle = dataGridViewCellStyle7;
             this.dgvGroutingLineDetail.RowTemplate.Height = 21;
             this.dgvGroutingLineDetail.RowTemplate.Height = 21;
-            this.dgvGroutingLineDetail.Size = new System.Drawing.Size(1035, 358);
+            this.dgvGroutingLineDetail.Size = new System.Drawing.Size(1198, 358);
             this.dgvGroutingLineDetail.SortOrderColumnName = null;
             this.dgvGroutingLineDetail.SortOrderColumnName = null;
-            this.dgvGroutingLineDetail.TabIndex = 10;
+            this.dgvGroutingLineDetail.TabIndex = 999;
             this.dgvGroutingLineDetail.Tag = true;
             this.dgvGroutingLineDetail.Tag = true;
             this.dgvGroutingLineDetail.TotalSumColumns = null;
             this.dgvGroutingLineDetail.TotalSumColumns = null;
             this.dgvGroutingLineDetail.ViewRowFilter = "";
             this.dgvGroutingLineDetail.ViewRowFilter = "";
@@ -377,7 +382,7 @@
             this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
             this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
             this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnCancel.ForeColor = System.Drawing.Color.White;
             this.btnCancel.ForeColor = System.Drawing.Color.White;
-            this.btnCancel.Location = new System.Drawing.Point(963, 410);
+            this.btnCancel.Location = new System.Drawing.Point(1126, 410);
             this.btnCancel.Name = "btnCancel";
             this.btnCancel.Name = "btnCancel";
             this.btnCancel.Size = new System.Drawing.Size(85, 30);
             this.btnCancel.Size = new System.Drawing.Size(85, 30);
             this.btnCancel.TabIndex = 13;
             this.btnCancel.TabIndex = 13;
@@ -392,7 +397,7 @@
             this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
             this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
             this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnSave.ForeColor = System.Drawing.Color.White;
             this.btnSave.ForeColor = System.Drawing.Color.White;
-            this.btnSave.Location = new System.Drawing.Point(874, 410);
+            this.btnSave.Location = new System.Drawing.Point(1037, 410);
             this.btnSave.Name = "btnSave";
             this.btnSave.Name = "btnSave";
             this.btnSave.Size = new System.Drawing.Size(85, 30);
             this.btnSave.Size = new System.Drawing.Size(85, 30);
             this.btnSave.TabIndex = 12;
             this.btnSave.TabIndex = 12;
@@ -410,7 +415,7 @@
             this.txtGroutingLineCode.MaxLength = 200;
             this.txtGroutingLineCode.MaxLength = 200;
             this.txtGroutingLineCode.Name = "txtGroutingLineCode";
             this.txtGroutingLineCode.Name = "txtGroutingLineCode";
             this.txtGroutingLineCode.ReadOnly = true;
             this.txtGroutingLineCode.ReadOnly = true;
-            this.txtGroutingLineCode.Size = new System.Drawing.Size(120, 21);
+            this.txtGroutingLineCode.Size = new System.Drawing.Size(100, 21);
             this.txtGroutingLineCode.TabIndex = 1;
             this.txtGroutingLineCode.TabIndex = 1;
             this.txtGroutingLineCode.TextValue = "";
             this.txtGroutingLineCode.TextValue = "";
             // 
             // 
@@ -443,7 +448,7 @@
             // 
             // 
             // lblLabel1
             // lblLabel1
             // 
             // 
-            this.lblLabel1.Location = new System.Drawing.Point(558, 18);
+            this.lblLabel1.Location = new System.Drawing.Point(517, 18);
             this.lblLabel1.Name = "lblLabel1";
             this.lblLabel1.Name = "lblLabel1";
             this.lblLabel1.Size = new System.Drawing.Size(53, 12);
             this.lblLabel1.Size = new System.Drawing.Size(53, 12);
             this.lblLabel1.TabIndex = 6;
             this.lblLabel1.TabIndex = 6;
@@ -451,7 +456,7 @@
             // 
             // 
             // btnAddMouldBarcode
             // btnAddMouldBarcode
             // 
             // 
-            this.btnAddMouldBarcode.Location = new System.Drawing.Point(740, 9);
+            this.btnAddMouldBarcode.Location = new System.Drawing.Point(682, 9);
             this.btnAddMouldBarcode.Name = "btnAddMouldBarcode";
             this.btnAddMouldBarcode.Name = "btnAddMouldBarcode";
             this.btnAddMouldBarcode.Size = new System.Drawing.Size(85, 30);
             this.btnAddMouldBarcode.Size = new System.Drawing.Size(85, 30);
             this.btnAddMouldBarcode.TabIndex = 8;
             this.btnAddMouldBarcode.TabIndex = 8;
@@ -461,10 +466,10 @@
             // 
             // 
             // txtBarcode
             // txtBarcode
             // 
             // 
-            this.txtBarcode.Location = new System.Drawing.Point(614, 14);
+            this.txtBarcode.Location = new System.Drawing.Point(576, 14);
             this.txtBarcode.MaxLength = 20;
             this.txtBarcode.MaxLength = 20;
             this.txtBarcode.Name = "txtBarcode";
             this.txtBarcode.Name = "txtBarcode";
-            this.txtBarcode.Size = new System.Drawing.Size(120, 21);
+            this.txtBarcode.Size = new System.Drawing.Size(100, 21);
             this.txtBarcode.TabIndex = 7;
             this.txtBarcode.TabIndex = 7;
             this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown);
             this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown);
             // 
             // 
@@ -474,11 +479,11 @@
             this.txtGMouldCode.BackgroundColor = System.Drawing.SystemColors.Window;
             this.txtGMouldCode.BackgroundColor = System.Drawing.SystemColors.Window;
             this.txtGMouldCode.ErrorMessage = "";
             this.txtGMouldCode.ErrorMessage = "";
             this.txtGMouldCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtGMouldCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtGMouldCode.Location = new System.Drawing.Point(431, 14);
+            this.txtGMouldCode.Location = new System.Drawing.Point(411, 14);
             this.txtGMouldCode.MaxLength = 200;
             this.txtGMouldCode.MaxLength = 200;
             this.txtGMouldCode.Name = "txtGMouldCode";
             this.txtGMouldCode.Name = "txtGMouldCode";
             this.txtGMouldCode.ReadOnly = true;
             this.txtGMouldCode.ReadOnly = true;
-            this.txtGMouldCode.Size = new System.Drawing.Size(120, 21);
+            this.txtGMouldCode.Size = new System.Drawing.Size(100, 21);
             this.txtGMouldCode.TabIndex = 5;
             this.txtGMouldCode.TabIndex = 5;
             this.txtGMouldCode.TextValue = "";
             this.txtGMouldCode.TextValue = "";
             // 
             // 
@@ -488,7 +493,7 @@
             this.c_Label2.BackColor = System.Drawing.Color.Transparent;
             this.c_Label2.BackColor = System.Drawing.Color.Transparent;
             this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.c_Label2.ForeColor = System.Drawing.SystemColors.ControlText;
             this.c_Label2.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label2.Location = new System.Drawing.Point(372, 18);
+            this.c_Label2.Location = new System.Drawing.Point(352, 18);
             this.c_Label2.Name = "c_Label2";
             this.c_Label2.Name = "c_Label2";
             this.c_Label2.Size = new System.Drawing.Size(53, 12);
             this.c_Label2.Size = new System.Drawing.Size(53, 12);
             this.c_Label2.TabIndex = 4;
             this.c_Label2.TabIndex = 4;
@@ -498,10 +503,10 @@
             // 
             // 
             this.scbGoods.CheckedData = null;
             this.scbGoods.CheckedData = null;
             this.scbGoods.DisplayMember = "GoodsCode";
             this.scbGoods.DisplayMember = "GoodsCode";
-            this.scbGoods.Location = new System.Drawing.Point(902, 14);
+            this.scbGoods.Location = new System.Drawing.Point(844, 14);
             this.scbGoods.Name = "scbGoods";
             this.scbGoods.Name = "scbGoods";
-            this.scbGoods.Size = new System.Drawing.Size(145, 21);
-            this.scbGoods.TabIndex = 37;
+            this.scbGoods.Size = new System.Drawing.Size(100, 21);
+            this.scbGoods.TabIndex = 10;
             this.scbGoods.SearchedItemChanged += new System.EventHandler(this.scbGoods_SearchedItemChanged);
             this.scbGoods.SearchedItemChanged += new System.EventHandler(this.scbGoods_SearchedItemChanged);
             // 
             // 
             // lblGoods
             // lblGoods
@@ -511,18 +516,109 @@
             this.lblGoods.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGoods.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGoods.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblGoods.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblGoods.IsMustInput = true;
             this.lblGoods.IsMustInput = true;
-            this.lblGoods.Location = new System.Drawing.Point(831, 18);
+            this.lblGoods.Location = new System.Drawing.Point(773, 18);
             this.lblGoods.Name = "lblGoods";
             this.lblGoods.Name = "lblGoods";
             this.lblGoods.Size = new System.Drawing.Size(65, 12);
             this.lblGoods.Size = new System.Drawing.Size(65, 12);
-            this.lblGoods.TabIndex = 36;
+            this.lblGoods.TabIndex = 9;
             this.lblGoods.Text = "新产品编码";
             this.lblGoods.Text = "新产品编码";
             // 
             // 
+            // txtStandardGroutingCount
+            // 
+            this.txtStandardGroutingCount.AllowNegative = false;
+            this.txtStandardGroutingCount.BackColor = System.Drawing.SystemColors.Window;
+            this.txtStandardGroutingCount.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtStandardGroutingCount.ErrorMessage = "";
+            this.txtStandardGroutingCount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtStandardGroutingCount.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.txtStandardGroutingCount.Location = new System.Drawing.Point(1009, 14);
+            this.txtStandardGroutingCount.MaxLength = 0;
+            this.txtStandardGroutingCount.MaxValue = new decimal(new int[] {
+            999999,
+            0,
+            0,
+            0});
+            this.txtStandardGroutingCount.MinValue = new decimal(new int[] {
+            0,
+            0,
+            0,
+            0});
+            this.txtStandardGroutingCount.Name = "txtStandardGroutingCount";
+            this.txtStandardGroutingCount.Size = new System.Drawing.Size(36, 21);
+            this.txtStandardGroutingCount.TabIndex = 12;
+            this.txtStandardGroutingCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+            this.txtStandardGroutingCount.TextValue = "";
+            // 
+            // c_Label3
+            // 
+            this.c_Label3.AutoSize = true;
+            this.c_Label3.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label3.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label3.Location = new System.Drawing.Point(950, 18);
+            this.c_Label3.Name = "c_Label3";
+            this.c_Label3.Size = new System.Drawing.Size(53, 12);
+            this.c_Label3.TabIndex = 11;
+            this.c_Label3.Text = "标准次数";
+            // 
+            // txtGroutingCount
+            // 
+            this.txtGroutingCount.AllowNegative = false;
+            this.txtGroutingCount.BackColor = System.Drawing.SystemColors.Window;
+            this.txtGroutingCount.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtGroutingCount.ErrorMessage = "";
+            this.txtGroutingCount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtGroutingCount.ImeMode = System.Windows.Forms.ImeMode.Off;
+            this.txtGroutingCount.Location = new System.Drawing.Point(1110, 14);
+            this.txtGroutingCount.MaxLength = 0;
+            this.txtGroutingCount.MaxValue = new decimal(new int[] {
+            999999,
+            0,
+            0,
+            0});
+            this.txtGroutingCount.MinValue = new decimal(new int[] {
+            0,
+            0,
+            0,
+            0});
+            this.txtGroutingCount.Name = "txtGroutingCount";
+            this.txtGroutingCount.Size = new System.Drawing.Size(36, 21);
+            this.txtGroutingCount.TabIndex = 14;
+            this.txtGroutingCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+            this.txtGroutingCount.TextValue = "";
+            // 
+            // c_Label4
+            // 
+            this.c_Label4.AutoSize = true;
+            this.c_Label4.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label4.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label4.Location = new System.Drawing.Point(1051, 18);
+            this.c_Label4.Name = "c_Label4";
+            this.c_Label4.Size = new System.Drawing.Size(53, 12);
+            this.c_Label4.TabIndex = 13;
+            this.c_Label4.Text = "已注次数";
+            // 
+            // btnSetCount
+            // 
+            this.btnSetCount.Location = new System.Drawing.Point(1152, 9);
+            this.btnSetCount.Name = "btnSetCount";
+            this.btnSetCount.Size = new System.Drawing.Size(58, 30);
+            this.btnSetCount.TabIndex = 15;
+            this.btnSetCount.Text = "设定";
+            this.btnSetCount.UseVisualStyleBackColor = true;
+            this.btnSetCount.Click += new System.EventHandler(this.btnSetCount_Click);
+            // 
             // F_PC_0101_1_4
             // F_PC_0101_1_4
             // 
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.CancelButton = this.btnCancel;
             this.CancelButton = this.btnCancel;
-            this.ClientSize = new System.Drawing.Size(1059, 465);
+            this.ClientSize = new System.Drawing.Size(1222, 465);
+            this.Controls.Add(this.txtStandardGroutingCount);
+            this.Controls.Add(this.c_Label3);
+            this.Controls.Add(this.txtGroutingCount);
+            this.Controls.Add(this.c_Label4);
+            this.Controls.Add(this.btnSetCount);
             this.Controls.Add(this.scbGoods);
             this.Controls.Add(this.scbGoods);
             this.Controls.Add(this.lblGoods);
             this.Controls.Add(this.lblGoods);
             this.Controls.Add(this.lblLabel1);
             this.Controls.Add(this.lblLabel1);
@@ -538,7 +634,6 @@
             this.Controls.Add(this.dgvGroutingLineDetail);
             this.Controls.Add(this.dgvGroutingLineDetail);
             this.Controls.Add(this.txtDateStart);
             this.Controls.Add(this.txtDateStart);
             this.Controls.Add(this.lblTimes);
             this.Controls.Add(this.lblTimes);
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
             this.IsSaveFormSize = false;
             this.IsSaveFormSize = false;
             this.Name = "F_PC_0101_1_4";
             this.Name = "F_PC_0101_1_4";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
@@ -560,6 +655,11 @@
             this.Controls.SetChildIndex(this.lblLabel1, 0);
             this.Controls.SetChildIndex(this.lblLabel1, 0);
             this.Controls.SetChildIndex(this.lblGoods, 0);
             this.Controls.SetChildIndex(this.lblGoods, 0);
             this.Controls.SetChildIndex(this.scbGoods, 0);
             this.Controls.SetChildIndex(this.scbGoods, 0);
+            this.Controls.SetChildIndex(this.btnSetCount, 0);
+            this.Controls.SetChildIndex(this.c_Label4, 0);
+            this.Controls.SetChildIndex(this.txtGroutingCount, 0);
+            this.Controls.SetChildIndex(this.c_Label3, 0);
+            this.Controls.SetChildIndex(this.txtStandardGroutingCount, 0);
             ((System.ComponentModel.ISupportInitialize)(this.dgvGroutingLineDetail)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.dgvGroutingLineDetail)).EndInit();
             this.ResumeLayout(false);
             this.ResumeLayout(false);
             this.PerformLayout();
             this.PerformLayout();
@@ -603,5 +703,10 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn RecordRemarks;
         private System.Windows.Forms.DataGridViewTextBoxColumn RecordRemarks;
 		private Controls.SearchBox.ScbGoods scbGoods;
 		private Controls.SearchBox.ScbGoods scbGoods;
 		private Basics.BaseControls.C_Label lblGoods;
 		private Basics.BaseControls.C_Label lblGoods;
-	}
+        private Basics.BaseControls.C_TXT_Digital txtStandardGroutingCount;
+        private Basics.BaseControls.C_Label c_Label3;
+        private Basics.BaseControls.C_TXT_Digital txtGroutingCount;
+        private Basics.BaseControls.C_Label c_Label4;
+        private WinForm.Controls.BtnButton btnSetCount;
+    }
 }
 }

+ 32 - 2
DK.Client/PCModule/F_PC_0101_1_4.cs

@@ -546,6 +546,36 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
 					 System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
 					 System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
 			}
 			}
 		}
 		}
-		#endregion
-	}
+        #endregion
+
+        private void btnSetCount_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                DataTable dataTable = dgvGroutingLineDetail.DataSource as DataTable;
+                if (dataTable == null || dataTable.Rows.Count == 0)
+                {
+                    return;
+                }
+                int setCount = Convert.ToInt32(this.txtGroutingCount.DataValue ?? 0);
+                int sCount = Convert.ToInt32(this.txtStandardGroutingCount.DataValue ?? 0);
+                foreach (DataRow item in dataTable.Rows)
+                {
+                    if (item["MouldSource"] + "" == "0")
+                    {
+                        item["StandardGroutingCount"] = sCount;
+                        item["GROUTINGCOUNT"] = setCount;
+                        item.EndEdit();
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                //_ShowFlag = true;
+                // 对异常进行共通处理
+                ExceptionManager.HandleEventException(this.ToString(),
+                     System.Reflection.MethodBase.GetCurrentMethod().Name, this.Text, ex);
+            }
+        }
+    }
 }
 }