Kaynağa Gözat

成型线上模,添加统一已注浆次数

chenxy 6 yıl önce
ebeveyn
işleme
82a7351e3d

+ 157 - 113
DK.Client/PCModule/F_PC_0102_1_1.Designer.cs

@@ -28,16 +28,16 @@
         private void InitializeComponent()
         {
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PC_0102_1_1));
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = 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 dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
-            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 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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = 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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
             this.lblBuildingNo = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.txtBuildingNo = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
             this.lblFloorNo = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
@@ -69,7 +69,9 @@
             this.txtFloorNo = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
             this.c_GroupBox1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_GroupBox();
             this.HighPressureFlag = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
+            this.scbUser1 = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbUser();
             this.lblGMouldType = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.scbGMouldType = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGMouldType();
             this.txtGroutingLineNo = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
             this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.tabControl1 = new System.Windows.Forms.TabControl();
@@ -91,6 +93,7 @@
             this.txtGMouldCode = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
             this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.pnlAuto = new System.Windows.Forms.Panel();
+            this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
             this.lblGoods = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.txtStandardGroutingCount = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
             this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
@@ -98,9 +101,8 @@
             this.txtBeginNum = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
             this.rabBinding = new Dongke.IBOSS.PRD.Basics.BaseControls.C_RadioButton();
             this.btnAdaptive = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
-            this.scbUser1 = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbUser();
-            this.scbGMouldType = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGMouldType();
-            this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
+            this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtGroutingCount = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
             ((System.ComponentModel.ISupportInitialize)(this.dgvDetail)).BeginInit();
             this.c_GroupBox1.SuspendLayout();
             this.tabControl1.SuspendLayout();
@@ -255,11 +257,11 @@
             this.lblCount.BackColor = System.Drawing.Color.Transparent;
             this.lblCount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblCount.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblCount.Location = new System.Drawing.Point(299, 9);
+            this.lblCount.Location = new System.Drawing.Point(283, 9);
             this.lblCount.Name = "lblCount";
-            this.lblCount.Size = new System.Drawing.Size(53, 12);
-            this.lblCount.TabIndex = 3;
-            this.lblCount.Text = "模具数量";
+            this.lblCount.Size = new System.Drawing.Size(29, 12);
+            this.lblCount.TabIndex = 4;
+            this.lblCount.Text = "数量";
             // 
             // txtCount
             // 
@@ -268,7 +270,7 @@
             this.txtCount.ErrorMessage = "";
             this.txtCount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtCount.ImeMode = System.Windows.Forms.ImeMode.Off;
-            this.txtCount.Location = new System.Drawing.Point(357, 5);
+            this.txtCount.Location = new System.Drawing.Point(315, 5);
             this.txtCount.MaxLength = 3;
             this.txtCount.MaxValue = new decimal(new int[] {
             999,
@@ -282,7 +284,7 @@
             0});
             this.txtCount.Name = "txtCount";
             this.txtCount.Size = new System.Drawing.Size(36, 21);
-            this.txtCount.TabIndex = 4;
+            this.txtCount.TabIndex = 5;
             this.txtCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtCount.TextValue = "";
             // 
@@ -292,10 +294,10 @@
             this.btnAddMould.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnAddMould.BackgroundImage")));
             this.btnAddMould.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnAddMould.ForeColor = System.Drawing.Color.White;
-            this.btnAddMould.Location = new System.Drawing.Point(530, 0);
+            this.btnAddMould.Location = new System.Drawing.Point(547, 0);
             this.btnAddMould.Name = "btnAddMould";
             this.btnAddMould.Size = new System.Drawing.Size(85, 30);
-            this.btnAddMould.TabIndex = 5;
+            this.btnAddMould.TabIndex = 10;
             this.btnAddMould.Text = "添加模具(&A)";
             this.btnAddMould.UseVisualStyleBackColor = false;
             this.btnAddMould.Click += new System.EventHandler(this.btnAddMould_Click);
@@ -306,8 +308,8 @@
             this.dgvDetail.AllowUserToDeleteRows = false;
             this.dgvDetail.AllowUserToModifyRows = true;
             this.dgvDetail.AllowUserToSortRows = false;
-            dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
-            this.dgvDetail.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.dgvDetail.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
             this.dgvDetail.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
             this.dgvDetail.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
             this.dgvDetail.CellHeight = 23;
@@ -315,14 +317,14 @@
             this.dgvDetail.ChildNodeColumnText = null;
             this.dgvDetail.ColumnDeep = 1;
             this.dgvDetail.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
-            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
-            dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.White;
-            dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvDetail.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvDetail.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
             this.dgvDetail.ColumnHeadersHeight = 29;
             this.dgvDetail.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvDetail.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -339,14 +341,14 @@
             this.Remarks});
             this.dgvDetail.ColumnTreeView = null;
             this.dgvDetail.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvDetail.DefaultCellStyle = dataGridViewCellStyle16;
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvDetail.DefaultCellStyle = dataGridViewCellStyle6;
             this.dgvDetail.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvDetail.DynamicColumnName = "";
             this.dgvDetail.EnableHeadersVisualStyles = false;
@@ -368,8 +370,8 @@
             this.dgvDetail.RefreshAtHscroll = false;
             this.dgvDetail.RowHeadersWidth = 50;
             this.dgvDetail.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
-            this.dgvDetail.RowsDefaultCellStyle = dataGridViewCellStyle17;
+            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.dgvDetail.RowsDefaultCellStyle = dataGridViewCellStyle7;
             this.dgvDetail.RowTemplate.Height = 21;
             this.dgvDetail.Size = new System.Drawing.Size(706, 236);
             this.dgvDetail.SortOrderColumnName = null;
@@ -455,8 +457,8 @@
             // GROUTINGCOUNT
             // 
             this.GROUTINGCOUNT.DataPropertyName = "GROUTINGCOUNT";
-            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.GROUTINGCOUNT.DefaultCellStyle = dataGridViewCellStyle13;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.GROUTINGCOUNT.DefaultCellStyle = dataGridViewCellStyle3;
             this.GROUTINGCOUNT.HeaderText = "注浆次数";
             this.GROUTINGCOUNT.MaxValue = new decimal(new int[] {
             999999,
@@ -477,8 +479,8 @@
             // StandardGroutingCount
             // 
             this.StandardGroutingCount.DataPropertyName = "StandardGroutingCount";
-            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
-            this.StandardGroutingCount.DefaultCellStyle = dataGridViewCellStyle14;
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+            this.StandardGroutingCount.DefaultCellStyle = dataGridViewCellStyle4;
             this.StandardGroutingCount.HeaderText = "标准注浆次数";
             this.StandardGroutingCount.MaxValue = new decimal(new int[] {
             999999,
@@ -509,8 +511,8 @@
             // Remarks
             // 
             this.Remarks.DataPropertyName = "Remarks";
-            dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
-            this.Remarks.DefaultCellStyle = dataGridViewCellStyle15;
+            dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+            this.Remarks.DefaultCellStyle = dataGridViewCellStyle5;
             this.Remarks.HeaderText = "备注";
             this.Remarks.MinimumWidth = 6;
             this.Remarks.Name = "Remarks";
@@ -622,20 +624,31 @@
             this.c_GroupBox1.Size = new System.Drawing.Size(720, 100);
             this.c_GroupBox1.TabIndex = 0;
             this.c_GroupBox1.TabStop = false;
-            this.c_GroupBox1.Text = "成型线信息          ";
+            this.c_GroupBox1.Text = "成型线信息           ";
             // 
             // HighPressureFlag
             // 
             this.HighPressureFlag.AutoSize = true;
             this.HighPressureFlag.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.HighPressureFlag.Location = new System.Drawing.Point(464, 21);
-            this.HighPressureFlag.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.HighPressureFlag.Margin = new System.Windows.Forms.Padding(2);
             this.HighPressureFlag.Name = "HighPressureFlag";
             this.HighPressureFlag.Size = new System.Drawing.Size(72, 16);
             this.HighPressureFlag.TabIndex = 21;
             this.HighPressureFlag.Text = "高压注浆";
             this.HighPressureFlag.UseVisualStyleBackColor = true;
             // 
+            // scbUser1
+            // 
+            this.scbUser1.CheckedData = null;
+            this.scbUser1.IsWorker = false;
+            this.scbUser1.Location = new System.Drawing.Point(464, 47);
+            this.scbUser1.Name = "scbUser1";
+            this.scbUser1.ShowBorderColor = false;
+            this.scbUser1.ShowMustInputAlert = false;
+            this.scbUser1.Size = new System.Drawing.Size(100, 21);
+            this.scbUser1.TabIndex = 20;
+            // 
             // lblGMouldType
             // 
             this.lblGMouldType.AutoSize = true;
@@ -649,6 +662,16 @@
             this.lblGMouldType.TabIndex = 19;
             this.lblGMouldType.Text = "类型";
             // 
+            // scbGMouldType
+            // 
+            this.scbGMouldType.CheckedData = null;
+            this.scbGMouldType.Location = new System.Drawing.Point(323, 47);
+            this.scbGMouldType.Name = "scbGMouldType";
+            this.scbGMouldType.ShowBorderColor = false;
+            this.scbGMouldType.ShowMustInputAlert = false;
+            this.scbGMouldType.Size = new System.Drawing.Size(100, 21);
+            this.scbGMouldType.TabIndex = 18;
+            // 
             // txtGroutingLineNo
             // 
             this.txtGroutingLineNo.BackColor = System.Drawing.SystemColors.Window;
@@ -695,7 +718,7 @@
             this.tabPage1.Controls.Add(this.dgvUser);
             this.tabPage1.Location = new System.Drawing.Point(4, 22);
             this.tabPage1.Name = "tabPage1";
-            this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
+            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
             this.tabPage1.Size = new System.Drawing.Size(712, 307);
             this.tabPage1.TabIndex = 0;
             this.tabPage1.Text = "成型工号";
@@ -704,8 +727,8 @@
             // dgvUser
             // 
             this.dgvUser.AllowUserToModifyRows = true;
-            dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
-            this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle18;
+            dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
             this.dgvUser.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
             this.dgvUser.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
             this.dgvUser.CellHeight = 23;
@@ -713,14 +736,14 @@
             this.dgvUser.ChildNodeColumnText = null;
             this.dgvUser.ColumnDeep = 1;
             this.dgvUser.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
-            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
-            dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle19.ForeColor = System.Drawing.Color.White;
-            dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19;
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
             this.dgvUser.ColumnHeadersHeight = 29;
             this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
             this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -753,8 +776,8 @@
             this.dgvUser.RefreshAtHscroll = false;
             this.dgvUser.RowHeadersWidth = 50;
             this.dgvUser.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-            dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
-            this.dgvUser.RowsDefaultCellStyle = dataGridViewCellStyle20;
+            dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.dgvUser.RowsDefaultCellStyle = dataGridViewCellStyle10;
             this.dgvUser.RowTemplate.Height = 21;
             this.dgvUser.Size = new System.Drawing.Size(706, 301);
             this.dgvUser.SortOrderColumnName = null;
@@ -828,18 +851,18 @@
             this.tabPage2.Controls.Add(this.panel1);
             this.tabPage2.Location = new System.Drawing.Point(4, 22);
             this.tabPage2.Name = "tabPage2";
-            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
+            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
             this.tabPage2.Size = new System.Drawing.Size(712, 307);
             this.tabPage2.TabIndex = 1;
             this.tabPage2.Text = "模具产品";
             // 
             // panel1
             // 
+            this.panel1.Controls.Add(this.rabBinding);
             this.panel1.Controls.Add(this.rabAuto);
             this.panel1.Controls.Add(this.pnlBinding);
             this.panel1.Controls.Add(this.btnDeleteSelected);
             this.panel1.Controls.Add(this.pnlAuto);
-            this.panel1.Controls.Add(this.rabBinding);
             this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
             this.panel1.Location = new System.Drawing.Point(3, 3);
             this.panel1.Name = "panel1";
@@ -865,14 +888,14 @@
             this.pnlBinding.Controls.Add(this.txtBarcode);
             this.pnlBinding.Controls.Add(this.txtGMouldCode);
             this.pnlBinding.Controls.Add(this.c_Label1);
-            this.pnlBinding.Location = new System.Drawing.Point(84, 31);
+            this.pnlBinding.Location = new System.Drawing.Point(75, 31);
             this.pnlBinding.Name = "pnlBinding";
-            this.pnlBinding.Size = new System.Drawing.Size(427, 30);
+            this.pnlBinding.Size = new System.Drawing.Size(436, 30);
             this.pnlBinding.TabIndex = 3;
             // 
             // lblLabel1
             // 
-            this.lblLabel1.Location = new System.Drawing.Point(119, 9);
+            this.lblLabel1.Location = new System.Drawing.Point(121, 9);
             this.lblLabel1.Name = "lblLabel1";
             this.lblLabel1.Size = new System.Drawing.Size(53, 12);
             this.lblLabel1.TabIndex = 2;
@@ -929,7 +952,7 @@
             this.c_Label1.BackColor = System.Drawing.Color.Transparent;
             this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label1.Location = new System.Drawing.Point(13, 9);
+            this.c_Label1.Location = new System.Drawing.Point(15, 9);
             this.c_Label1.Name = "c_Label1";
             this.c_Label1.Size = new System.Drawing.Size(41, 12);
             this.c_Label1.TabIndex = 0;
@@ -937,8 +960,10 @@
             // 
             // pnlAuto
             // 
-            this.pnlAuto.Controls.Add(this.scbGoods);
             this.pnlAuto.Controls.Add(this.lblGoods);
+            this.pnlAuto.Controls.Add(this.scbGoods);
+            this.pnlAuto.Controls.Add(this.txtGroutingCount);
+            this.pnlAuto.Controls.Add(this.c_Label4);
             this.pnlAuto.Controls.Add(this.txtStandardGroutingCount);
             this.pnlAuto.Controls.Add(this.c_Label2);
             this.pnlAuto.Controls.Add(this.lblstart);
@@ -947,21 +972,30 @@
             this.pnlAuto.Controls.Add(this.txtBeginNum);
             this.pnlAuto.Controls.Add(this.btnAddMould);
             this.pnlAuto.Enabled = false;
-            this.pnlAuto.Location = new System.Drawing.Point(84, 0);
+            this.pnlAuto.Location = new System.Drawing.Point(75, 0);
             this.pnlAuto.Name = "pnlAuto";
-            this.pnlAuto.Size = new System.Drawing.Size(622, 30);
+            this.pnlAuto.Size = new System.Drawing.Size(631, 30);
             this.pnlAuto.TabIndex = 1;
             // 
+            // scbGoods
+            // 
+            this.scbGoods.CheckedData = null;
+            this.scbGoods.DisplayMember = "GoodsCode";
+            this.scbGoods.Location = new System.Drawing.Point(59, 5);
+            this.scbGoods.Name = "scbGoods";
+            this.scbGoods.Size = new System.Drawing.Size(115, 21);
+            this.scbGoods.TabIndex = 1;
+            // 
             // lblGoods
             // 
             this.lblGoods.AutoSize = true;
             this.lblGoods.BackColor = System.Drawing.Color.Transparent;
             this.lblGoods.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGoods.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblGoods.Location = new System.Drawing.Point(10, 9);
+            this.lblGoods.Location = new System.Drawing.Point(3, 9);
             this.lblGoods.Name = "lblGoods";
             this.lblGoods.Size = new System.Drawing.Size(53, 12);
-            this.lblGoods.TabIndex = 38;
+            this.lblGoods.TabIndex = 0;
             this.lblGoods.Text = "产品编码";
             // 
             // txtStandardGroutingCount
@@ -972,7 +1006,7 @@
             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(482, 5);
+            this.txtStandardGroutingCount.Location = new System.Drawing.Point(410, 5);
             this.txtStandardGroutingCount.MaxLength = 0;
             this.txtStandardGroutingCount.MaxValue = new decimal(new int[] {
             999999,
@@ -986,7 +1020,7 @@
             0});
             this.txtStandardGroutingCount.Name = "txtStandardGroutingCount";
             this.txtStandardGroutingCount.Size = new System.Drawing.Size(36, 21);
-            this.txtStandardGroutingCount.TabIndex = 11;
+            this.txtStandardGroutingCount.TabIndex = 7;
             this.txtStandardGroutingCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtStandardGroutingCount.TextValue = "";
             // 
@@ -996,11 +1030,11 @@
             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.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label2.Location = new System.Drawing.Point(399, 9);
+            this.c_Label2.Location = new System.Drawing.Point(354, 9);
             this.c_Label2.Name = "c_Label2";
-            this.c_Label2.Size = new System.Drawing.Size(77, 12);
-            this.c_Label2.TabIndex = 10;
-            this.c_Label2.Text = "标准注浆次数";
+            this.c_Label2.Size = new System.Drawing.Size(53, 12);
+            this.c_Label2.TabIndex = 6;
+            this.c_Label2.Text = "标准次数";
             // 
             // lblstart
             // 
@@ -1008,10 +1042,10 @@
             this.lblstart.BackColor = System.Drawing.Color.Transparent;
             this.lblstart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblstart.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblstart.Location = new System.Drawing.Point(186, 8);
+            this.lblstart.Location = new System.Drawing.Point(176, 9);
             this.lblstart.Name = "lblstart";
             this.lblstart.Size = new System.Drawing.Size(65, 12);
-            this.lblstart.TabIndex = 1;
+            this.lblstart.TabIndex = 2;
             this.lblstart.Text = "起始模具号";
             // 
             // txtBeginNum
@@ -1021,7 +1055,7 @@
             this.txtBeginNum.ErrorMessage = "";
             this.txtBeginNum.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtBeginNum.ImeMode = System.Windows.Forms.ImeMode.Off;
-            this.txtBeginNum.Location = new System.Drawing.Point(257, 5);
+            this.txtBeginNum.Location = new System.Drawing.Point(244, 5);
             this.txtBeginNum.MaxLength = 3;
             this.txtBeginNum.MaxValue = new decimal(new int[] {
             999,
@@ -1035,7 +1069,7 @@
             0});
             this.txtBeginNum.Name = "txtBeginNum";
             this.txtBeginNum.Size = new System.Drawing.Size(36, 21);
-            this.txtBeginNum.TabIndex = 2;
+            this.txtBeginNum.TabIndex = 3;
             this.txtBeginNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtBeginNum.TextValue = "";
             // 
@@ -1068,35 +1102,43 @@
             this.btnAdaptive.UseVisualStyleBackColor = false;
             this.btnAdaptive.Click += new System.EventHandler(this.btnAdaptive_Click);
             // 
-            // scbUser1
-            // 
-            this.scbUser1.CheckedData = null;
-            this.scbUser1.IsWorker = false;
-            this.scbUser1.Location = new System.Drawing.Point(464, 47);
-            this.scbUser1.Name = "scbUser1";
-            this.scbUser1.ShowBorderColor = false;
-            this.scbUser1.ShowMustInputAlert = false;
-            this.scbUser1.Size = new System.Drawing.Size(100, 21);
-            this.scbUser1.TabIndex = 20;
-            // 
-            // scbGMouldType
-            // 
-            this.scbGMouldType.CheckedData = null;
-            this.scbGMouldType.Location = new System.Drawing.Point(323, 47);
-            this.scbGMouldType.Name = "scbGMouldType";
-            this.scbGMouldType.ShowBorderColor = false;
-            this.scbGMouldType.ShowMustInputAlert = false;
-            this.scbGMouldType.Size = new System.Drawing.Size(100, 21);
-            this.scbGMouldType.TabIndex = 18;
-            // 
-            // scbGoods
-            // 
-            this.scbGoods.CheckedData = null;
-            this.scbGoods.DisplayMember = "GoodsCode";
-            this.scbGoods.Location = new System.Drawing.Point(69, 5);
-            this.scbGoods.Name = "scbGoods";
-            this.scbGoods.Size = new System.Drawing.Size(111, 21);
-            this.scbGoods.TabIndex = 39;
+            // 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(449, 9);
+            this.c_Label4.Name = "c_Label4";
+            this.c_Label4.Size = new System.Drawing.Size(53, 12);
+            this.c_Label4.TabIndex = 8;
+            this.c_Label4.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(505, 5);
+            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 = 9;
+            this.txtGroutingCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
+            this.txtGroutingCount.TextValue = "";
             // 
             // F_PC_0102_1_1
             // 
@@ -1111,7 +1153,7 @@
             this.Controls.Add(this.btnSave);
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
             this.IsSaveFormSize = false;
-            this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
+            this.Margin = new System.Windows.Forms.Padding(5);
             this.Name = "F_PC_0102_1_1";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.Text = "新建成型线";
@@ -1205,5 +1247,7 @@
         private Controls.SearchBox.ScbUser scbUser1;
         private Controls.SearchBox.ScbGMouldType scbGMouldType;
         private Controls.SearchBox.ScbGoods scbGoods;
+        private Basics.BaseControls.C_TXT_Digital txtGroutingCount;
+        private Basics.BaseControls.C_Label c_Label4;
     }
 }

+ 2 - 2
DK.Client/PCModule/F_PC_0102_1_1.cs

@@ -214,8 +214,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
 					r["GOODSNAME"] = scbGoods.SearchedItem["GOODSNAME"];
 					r["GOODSCODE"] = scbGoods.SearchedItem["GOODSCODE"];
 					r["GoodsSpecification"] = scbGoods.SearchedItem["GOODSSPECIFICATION"];
-					r["GROUTINGCOUNT"] = 0;
-					r["StandardGroutingCount"] = Convert.ToInt32(this.txtStandardGroutingCount.DataValue.Value);
+                    r["GROUTINGCOUNT"] = Convert.ToInt32(this.txtGroutingCount.DataValue ?? 0);
+                    r["StandardGroutingCount"] = Convert.ToInt32(this.txtStandardGroutingCount.DataValue.Value);
 					r["MOULDSTATUS"] = Convert.ToInt32(Constant.GMouldStatus.Normal);
 					//r["REMARKS"] = "";
 					r["VALUEFLAG"] = "1";

+ 163 - 160
DK.Client/PCModule/F_PC_0103_1.Designer.cs

@@ -51,6 +51,7 @@
             this.btnCancel = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
             this.btnDeleteSelected = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
             this.c_GroupBox1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_GroupBox();
+            this.HighPressureFlag = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
             this.scbUser1 = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbUser();
             this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.lblGMouldType = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
@@ -82,7 +83,6 @@
             this.lblGStatus = new System.Windows.Forms.Label();
             this.panel1 = new System.Windows.Forms.Panel();
             this.pnlAuto = new System.Windows.Forms.Panel();
-            this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
             this.lblGoods = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.lblstart = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.txtBeginNum = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
@@ -99,7 +99,9 @@
             this.rabBinding = new Dongke.IBOSS.PRD.Basics.BaseControls.C_RadioButton();
             this.rabAuto = new Dongke.IBOSS.PRD.Basics.BaseControls.C_RadioButton();
             this.btnAdaptive = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
-            this.HighPressureFlag = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
+            this.scbGoods = new Dongke.IBOSS.PRD.Client.Controls.SearchBox.ScbGoods();
+            this.txtGroutingCount = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TXT_Digital();
+            this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
             this.c_GroupBox1.SuspendLayout();
             this.tabControl1.SuspendLayout();
             this.tabPage1.SuspendLayout();
@@ -118,10 +120,9 @@
             this.lblGroutingLineCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGroutingLineCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblGroutingLineCode.IsMustInput = true;
-            this.lblGroutingLineCode.Location = new System.Drawing.Point(8, 30);
-            this.lblGroutingLineCode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblGroutingLineCode.Location = new System.Drawing.Point(6, 24);
             this.lblGroutingLineCode.Name = "lblGroutingLineCode";
-            this.lblGroutingLineCode.Size = new System.Drawing.Size(37, 15);
+            this.lblGroutingLineCode.Size = new System.Drawing.Size(29, 12);
             this.lblGroutingLineCode.TabIndex = 6;
             this.lblGroutingLineCode.Text = "编码";
             // 
@@ -135,12 +136,11 @@
             this.txtGroutingLineCode.HasError = true;
             this.txtGroutingLineCode.ImeMode = System.Windows.Forms.ImeMode.Off;
             this.txtGroutingLineCode.IsMustInput = true;
-            this.txtGroutingLineCode.Location = new System.Drawing.Point(55, 25);
-            this.txtGroutingLineCode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtGroutingLineCode.Location = new System.Drawing.Point(41, 20);
             this.txtGroutingLineCode.MaxLength = 30;
             this.txtGroutingLineCode.Name = "txtGroutingLineCode";
             this.txtGroutingLineCode.ReadOnly = true;
-            this.txtGroutingLineCode.Size = new System.Drawing.Size(132, 25);
+            this.txtGroutingLineCode.Size = new System.Drawing.Size(100, 21);
             this.txtGroutingLineCode.TabIndex = 7;
             // 
             // lblGroutingLineName
@@ -150,10 +150,9 @@
             this.lblGroutingLineName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGroutingLineName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblGroutingLineName.IsMustInput = true;
-            this.lblGroutingLineName.Location = new System.Drawing.Point(196, 30);
-            this.lblGroutingLineName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblGroutingLineName.Location = new System.Drawing.Point(147, 24);
             this.lblGroutingLineName.Name = "lblGroutingLineName";
-            this.lblGroutingLineName.Size = new System.Drawing.Size(37, 15);
+            this.lblGroutingLineName.Size = new System.Drawing.Size(29, 12);
             this.lblGroutingLineName.TabIndex = 8;
             this.lblGroutingLineName.Text = "名称";
             // 
@@ -165,11 +164,10 @@
             this.txtGroutingLineName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtGroutingLineName.HasError = true;
             this.txtGroutingLineName.IsMustInput = true;
-            this.txtGroutingLineName.Location = new System.Drawing.Point(243, 25);
-            this.txtGroutingLineName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtGroutingLineName.Location = new System.Drawing.Point(182, 20);
             this.txtGroutingLineName.MaxLength = 50;
             this.txtGroutingLineName.Name = "txtGroutingLineName";
-            this.txtGroutingLineName.Size = new System.Drawing.Size(132, 25);
+            this.txtGroutingLineName.Size = new System.Drawing.Size(100, 21);
             this.txtGroutingLineName.TabIndex = 9;
             // 
             // lblRemarks
@@ -178,10 +176,9 @@
             this.lblRemarks.BackColor = System.Drawing.Color.Transparent;
             this.lblRemarks.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblRemarks.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblRemarks.Location = new System.Drawing.Point(8, 64);
-            this.lblRemarks.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblRemarks.Location = new System.Drawing.Point(6, 51);
             this.lblRemarks.Name = "lblRemarks";
-            this.lblRemarks.Size = new System.Drawing.Size(37, 15);
+            this.lblRemarks.Size = new System.Drawing.Size(29, 12);
             this.lblRemarks.TabIndex = 11;
             this.lblRemarks.Text = "备注";
             // 
@@ -191,11 +188,10 @@
             this.txtRemarks.BackgroundColor = System.Drawing.SystemColors.Window;
             this.txtRemarks.ErrorMessage = "";
             this.txtRemarks.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtRemarks.Location = new System.Drawing.Point(55, 59);
-            this.txtRemarks.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtRemarks.Location = new System.Drawing.Point(41, 47);
             this.txtRemarks.MaxLength = 500;
             this.txtRemarks.Name = "txtRemarks";
-            this.txtRemarks.Size = new System.Drawing.Size(723, 25);
+            this.txtRemarks.Size = new System.Drawing.Size(543, 21);
             this.txtRemarks.TabIndex = 12;
             // 
             // btnAddMould
@@ -204,11 +200,10 @@
             this.btnAddMould.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnAddMould.BackgroundImage")));
             this.btnAddMould.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnAddMould.ForeColor = System.Drawing.Color.White;
-            this.btnAddMould.Location = new System.Drawing.Point(700, 0);
-            this.btnAddMould.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.btnAddMould.Location = new System.Drawing.Point(546, 0);
             this.btnAddMould.Name = "btnAddMould";
-            this.btnAddMould.Size = new System.Drawing.Size(113, 38);
-            this.btnAddMould.TabIndex = 5;
+            this.btnAddMould.Size = new System.Drawing.Size(85, 30);
+            this.btnAddMould.TabIndex = 99;
             this.btnAddMould.Text = "添加模具(&A)";
             this.btnAddMould.UseVisualStyleBackColor = false;
             this.btnAddMould.Click += new System.EventHandler(this.btnAddMould_Click);
@@ -220,10 +215,9 @@
             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.ForeColor = System.Drawing.Color.White;
-            this.btnSave.Location = new System.Drawing.Point(745, 571);
-            this.btnSave.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.btnSave.Location = new System.Drawing.Point(559, 457);
             this.btnSave.Name = "btnSave";
-            this.btnSave.Size = new System.Drawing.Size(113, 38);
+            this.btnSave.Size = new System.Drawing.Size(85, 30);
             this.btnSave.TabIndex = 15;
             this.btnSave.Text = "保存(&S)";
             this.btnSave.UseVisualStyleBackColor = false;
@@ -237,10 +231,9 @@
             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.ForeColor = System.Drawing.Color.White;
-            this.btnCancel.Location = new System.Drawing.Point(863, 571);
-            this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.btnCancel.Location = new System.Drawing.Point(647, 457);
             this.btnCancel.Name = "btnCancel";
-            this.btnCancel.Size = new System.Drawing.Size(113, 38);
+            this.btnCancel.Size = new System.Drawing.Size(85, 30);
             this.btnCancel.TabIndex = 16;
             this.btnCancel.Text = "关闭";
             this.btnCancel.UseVisualStyleBackColor = false;
@@ -252,10 +245,9 @@
             this.btnDeleteSelected.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnDeleteSelected.BackgroundImage")));
             this.btnDeleteSelected.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnDeleteSelected.ForeColor = System.Drawing.Color.White;
-            this.btnDeleteSelected.Location = new System.Drawing.Point(683, 39);
-            this.btnDeleteSelected.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.btnDeleteSelected.Location = new System.Drawing.Point(512, 31);
             this.btnDeleteSelected.Name = "btnDeleteSelected";
-            this.btnDeleteSelected.Size = new System.Drawing.Size(113, 38);
+            this.btnDeleteSelected.Size = new System.Drawing.Size(85, 30);
             this.btnDeleteSelected.TabIndex = 6;
             this.btnDeleteSelected.Text = "删除新建(&D)";
             this.btnDeleteSelected.UseVisualStyleBackColor = false;
@@ -283,27 +275,36 @@
             this.c_GroupBox1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.c_GroupBox1.ForeColor = System.Drawing.SystemColors.ControlText;
             this.c_GroupBox1.IsMustInput = false;
-            this.c_GroupBox1.Location = new System.Drawing.Point(16, 15);
-            this.c_GroupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.c_GroupBox1.Location = new System.Drawing.Point(12, 12);
             this.c_GroupBox1.Name = "c_GroupBox1";
             this.c_GroupBox1.OpeningMark = "";
             this.c_GroupBox1.OriginalHeight = -1;
-            this.c_GroupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
-            this.c_GroupBox1.Size = new System.Drawing.Size(960, 94);
+            this.c_GroupBox1.Size = new System.Drawing.Size(720, 75);
             this.c_GroupBox1.TabIndex = 0;
             this.c_GroupBox1.TabStop = false;
-            this.c_GroupBox1.Text = "成型线信息   ";
+            this.c_GroupBox1.Text = "成型线信息    ";
+            // 
+            // HighPressureFlag
+            // 
+            this.HighPressureFlag.AutoSize = true;
+            this.HighPressureFlag.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.HighPressureFlag.Location = new System.Drawing.Point(640, 23);
+            this.HighPressureFlag.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.HighPressureFlag.Name = "HighPressureFlag";
+            this.HighPressureFlag.Size = new System.Drawing.Size(72, 16);
+            this.HighPressureFlag.TabIndex = 24;
+            this.HighPressureFlag.Text = "高压注浆";
+            this.HighPressureFlag.UseVisualStyleBackColor = true;
             // 
             // scbUser1
             // 
             this.scbUser1.CheckedData = null;
             this.scbUser1.IsWorker = false;
-            this.scbUser1.Location = new System.Drawing.Point(645, 25);
-            this.scbUser1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.scbUser1.Location = new System.Drawing.Point(484, 20);
             this.scbUser1.Name = "scbUser1";
             this.scbUser1.ShowBorderColor = false;
             this.scbUser1.ShowMustInputAlert = false;
-            this.scbUser1.Size = new System.Drawing.Size(133, 26);
+            this.scbUser1.Size = new System.Drawing.Size(100, 21);
             this.scbUser1.TabIndex = 23;
             // 
             // c_Label3
@@ -312,10 +313,9 @@
             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(599, 30);
-            this.c_Label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.c_Label3.Location = new System.Drawing.Point(449, 24);
             this.c_Label3.Name = "c_Label3";
-            this.c_Label3.Size = new System.Drawing.Size(37, 15);
+            this.c_Label3.Size = new System.Drawing.Size(29, 12);
             this.c_Label3.TabIndex = 22;
             this.c_Label3.Text = "班长";
             // 
@@ -326,20 +326,18 @@
             this.lblGMouldType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGMouldType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.lblGMouldType.IsMustInput = true;
-            this.lblGMouldType.Location = new System.Drawing.Point(384, 30);
-            this.lblGMouldType.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblGMouldType.Location = new System.Drawing.Point(288, 24);
             this.lblGMouldType.Name = "lblGMouldType";
-            this.lblGMouldType.Size = new System.Drawing.Size(37, 15);
+            this.lblGMouldType.Size = new System.Drawing.Size(29, 12);
             this.lblGMouldType.TabIndex = 21;
             this.lblGMouldType.Text = "类型";
             // 
             // scbGMouldType
             // 
             this.scbGMouldType.CheckedData = null;
-            this.scbGMouldType.Location = new System.Drawing.Point(431, 25);
-            this.scbGMouldType.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.scbGMouldType.Location = new System.Drawing.Point(323, 20);
             this.scbGMouldType.Name = "scbGMouldType";
-            this.scbGMouldType.Size = new System.Drawing.Size(160, 26);
+            this.scbGMouldType.Size = new System.Drawing.Size(120, 21);
             this.scbGMouldType.TabIndex = 20;
             // 
             // chkEnable
@@ -348,10 +346,9 @@
             this.chkEnable.Checked = true;
             this.chkEnable.CheckState = System.Windows.Forms.CheckState.Checked;
             this.chkEnable.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.chkEnable.Location = new System.Drawing.Point(787, 28);
-            this.chkEnable.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.chkEnable.Location = new System.Drawing.Point(590, 22);
             this.chkEnable.Name = "chkEnable";
-            this.chkEnable.Size = new System.Drawing.Size(59, 19);
+            this.chkEnable.Size = new System.Drawing.Size(48, 16);
             this.chkEnable.TabIndex = 2;
             this.chkEnable.Text = "有效";
             this.chkEnable.UseVisualStyleBackColor = true;
@@ -363,22 +360,20 @@
             | System.Windows.Forms.AnchorStyles.Right)));
             this.tabControl1.Controls.Add(this.tabPage1);
             this.tabControl1.Controls.Add(this.tabPage2);
-            this.tabControl1.Location = new System.Drawing.Point(16, 116);
-            this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.tabControl1.Location = new System.Drawing.Point(12, 93);
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.SelectedIndex = 0;
-            this.tabControl1.Size = new System.Drawing.Size(960, 448);
+            this.tabControl1.Size = new System.Drawing.Size(720, 358);
             this.tabControl1.TabIndex = 1;
             this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
             // 
             // tabPage1
             // 
             this.tabPage1.Controls.Add(this.dgvUser);
-            this.tabPage1.Location = new System.Drawing.Point(4, 25);
-            this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.tabPage1.Location = new System.Drawing.Point(4, 22);
             this.tabPage1.Name = "tabPage1";
-            this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
-            this.tabPage1.Size = new System.Drawing.Size(952, 419);
+            this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
+            this.tabPage1.Size = new System.Drawing.Size(712, 332);
             this.tabPage1.TabIndex = 0;
             this.tabPage1.Text = "成型工号";
             this.tabPage1.UseVisualStyleBackColor = true;
@@ -426,8 +421,7 @@
             this.dgvUser.IsOpenMergeCellFlag = false;
             this.dgvUser.IsSubTotalFlag = false;
             this.dgvUser.IsTopDeep = false;
-            this.dgvUser.Location = new System.Drawing.Point(4, 4);
-            this.dgvUser.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.dgvUser.Location = new System.Drawing.Point(3, 3);
             this.dgvUser.MergeColumnNames = null;
             this.dgvUser.MergeDetailColumnNames = null;
             this.dgvUser.MergeDetailOnlyColumn = null;
@@ -439,7 +433,7 @@
             dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.dgvUser.RowsDefaultCellStyle = dataGridViewCellStyle3;
             this.dgvUser.RowTemplate.Height = 21;
-            this.dgvUser.Size = new System.Drawing.Size(944, 411);
+            this.dgvUser.Size = new System.Drawing.Size(706, 326);
             this.dgvUser.SortOrderColumnName = null;
             this.dgvUser.TabIndex = 0;
             this.dgvUser.Tag = true;
@@ -510,11 +504,10 @@
             this.tabPage2.Controls.Add(this.dgvDetail);
             this.tabPage2.Controls.Add(this.lblGStatus);
             this.tabPage2.Controls.Add(this.panel1);
-            this.tabPage2.Location = new System.Drawing.Point(4, 25);
-            this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.tabPage2.Location = new System.Drawing.Point(4, 22);
             this.tabPage2.Name = "tabPage2";
-            this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
-            this.tabPage2.Size = new System.Drawing.Size(952, 419);
+            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
+            this.tabPage2.Size = new System.Drawing.Size(712, 332);
             this.tabPage2.TabIndex = 1;
             this.tabPage2.Text = "模具产品";
             // 
@@ -577,8 +570,7 @@
             this.dgvDetail.IsOpenMergeCellFlag = false;
             this.dgvDetail.IsSubTotalFlag = false;
             this.dgvDetail.IsTopDeep = false;
-            this.dgvDetail.Location = new System.Drawing.Point(4, 100);
-            this.dgvDetail.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.dgvDetail.Location = new System.Drawing.Point(3, 80);
             this.dgvDetail.MergeColumnNames = null;
             this.dgvDetail.MergeDetailColumnNames = null;
             this.dgvDetail.MergeDetailOnlyColumn = null;
@@ -590,7 +582,7 @@
             dataGridViewCellStyle11.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
             this.dgvDetail.RowsDefaultCellStyle = dataGridViewCellStyle11;
             this.dgvDetail.RowTemplate.Height = 21;
-            this.dgvDetail.Size = new System.Drawing.Size(944, 315);
+            this.dgvDetail.Size = new System.Drawing.Size(706, 249);
             this.dgvDetail.SortOrderColumnName = null;
             this.dgvDetail.TabIndex = 7;
             this.dgvDetail.Tag = true;
@@ -750,10 +742,9 @@
             this.lblGStatus.AutoSize = true;
             this.lblGStatus.Dock = System.Windows.Forms.DockStyle.Top;
             this.lblGStatus.ForeColor = System.Drawing.Color.Red;
-            this.lblGStatus.Location = new System.Drawing.Point(4, 85);
-            this.lblGStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblGStatus.Location = new System.Drawing.Point(3, 68);
             this.lblGStatus.Name = "lblGStatus";
-            this.lblGStatus.Size = new System.Drawing.Size(292, 15);
+            this.lblGStatus.Size = new System.Drawing.Size(233, 12);
             this.lblGStatus.TabIndex = 10;
             this.lblGStatus.Text = "此成型线状态为【整线变产】不能添加模具";
             this.lblGStatus.Visible = false;
@@ -766,14 +757,15 @@
             this.panel1.Controls.Add(this.rabAuto);
             this.panel1.Controls.Add(this.btnDeleteSelected);
             this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
-            this.panel1.Location = new System.Drawing.Point(4, 4);
-            this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.panel1.Location = new System.Drawing.Point(3, 3);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(944, 81);
+            this.panel1.Size = new System.Drawing.Size(706, 65);
             this.panel1.TabIndex = 0;
             // 
             // pnlAuto
             // 
+            this.pnlAuto.Controls.Add(this.txtGroutingCount);
+            this.pnlAuto.Controls.Add(this.c_Label4);
             this.pnlAuto.Controls.Add(this.scbGoods);
             this.pnlAuto.Controls.Add(this.lblGoods);
             this.pnlAuto.Controls.Add(this.lblstart);
@@ -784,33 +776,21 @@
             this.pnlAuto.Controls.Add(this.c_Label1);
             this.pnlAuto.Controls.Add(this.txtCount);
             this.pnlAuto.Enabled = false;
-            this.pnlAuto.Location = new System.Drawing.Point(112, 0);
-            this.pnlAuto.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.pnlAuto.Location = new System.Drawing.Point(75, 0);
             this.pnlAuto.Name = "pnlAuto";
-            this.pnlAuto.Size = new System.Drawing.Size(829, 38);
+            this.pnlAuto.Size = new System.Drawing.Size(631, 30);
             this.pnlAuto.TabIndex = 13;
             // 
-            // scbGoods
-            // 
-            this.scbGoods.CheckedData = null;
-            this.scbGoods.DisplayMember = "GoodsCode";
-            this.scbGoods.Location = new System.Drawing.Point(92, 6);
-            this.scbGoods.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
-            this.scbGoods.Name = "scbGoods";
-            this.scbGoods.Size = new System.Drawing.Size(148, 26);
-            this.scbGoods.TabIndex = 41;
-            // 
             // lblGoods
             // 
             this.lblGoods.AutoSize = true;
             this.lblGoods.BackColor = System.Drawing.Color.Transparent;
             this.lblGoods.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblGoods.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblGoods.Location = new System.Drawing.Point(13, 11);
-            this.lblGoods.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblGoods.Location = new System.Drawing.Point(3, 9);
             this.lblGoods.Name = "lblGoods";
-            this.lblGoods.Size = new System.Drawing.Size(67, 15);
-            this.lblGoods.TabIndex = 40;
+            this.lblGoods.Size = new System.Drawing.Size(53, 12);
+            this.lblGoods.TabIndex = 0;
             this.lblGoods.Text = "产品编码";
             // 
             // lblstart
@@ -819,11 +799,10 @@
             this.lblstart.BackColor = System.Drawing.Color.Transparent;
             this.lblstart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblstart.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblstart.Location = new System.Drawing.Point(248, 11);
-            this.lblstart.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblstart.Location = new System.Drawing.Point(176, 9);
             this.lblstart.Name = "lblstart";
-            this.lblstart.Size = new System.Drawing.Size(82, 15);
-            this.lblstart.TabIndex = 1;
+            this.lblstart.Size = new System.Drawing.Size(65, 12);
+            this.lblstart.TabIndex = 2;
             this.lblstart.Text = "起始模具号";
             // 
             // txtBeginNum
@@ -833,8 +812,7 @@
             this.txtBeginNum.ErrorMessage = "";
             this.txtBeginNum.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtBeginNum.ImeMode = System.Windows.Forms.ImeMode.Off;
-            this.txtBeginNum.Location = new System.Drawing.Point(343, 6);
-            this.txtBeginNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtBeginNum.Location = new System.Drawing.Point(244, 5);
             this.txtBeginNum.MaxLength = 3;
             this.txtBeginNum.MaxValue = new decimal(new int[] {
             999,
@@ -847,8 +825,8 @@
             0,
             0});
             this.txtBeginNum.Name = "txtBeginNum";
-            this.txtBeginNum.Size = new System.Drawing.Size(47, 25);
-            this.txtBeginNum.TabIndex = 2;
+            this.txtBeginNum.Size = new System.Drawing.Size(36, 21);
+            this.txtBeginNum.TabIndex = 3;
             this.txtBeginNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtBeginNum.TextValue = "";
             // 
@@ -858,12 +836,11 @@
             this.lblCount.BackColor = System.Drawing.Color.Transparent;
             this.lblCount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lblCount.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.lblCount.Location = new System.Drawing.Point(399, 11);
-            this.lblCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblCount.Location = new System.Drawing.Point(283, 9);
             this.lblCount.Name = "lblCount";
-            this.lblCount.Size = new System.Drawing.Size(67, 15);
-            this.lblCount.TabIndex = 3;
-            this.lblCount.Text = "模具数量";
+            this.lblCount.Size = new System.Drawing.Size(29, 12);
+            this.lblCount.TabIndex = 4;
+            this.lblCount.Text = "数量";
             // 
             // txtStandardGroutingCount
             // 
@@ -873,8 +850,7 @@
             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(644, 6);
-            this.txtStandardGroutingCount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtStandardGroutingCount.Location = new System.Drawing.Point(410, 5);
             this.txtStandardGroutingCount.MaxLength = 0;
             this.txtStandardGroutingCount.MaxValue = new decimal(new int[] {
             999999,
@@ -887,8 +863,8 @@
             0,
             0});
             this.txtStandardGroutingCount.Name = "txtStandardGroutingCount";
-            this.txtStandardGroutingCount.Size = new System.Drawing.Size(47, 25);
-            this.txtStandardGroutingCount.TabIndex = 9;
+            this.txtStandardGroutingCount.Size = new System.Drawing.Size(36, 21);
+            this.txtStandardGroutingCount.TabIndex = 7;
             this.txtStandardGroutingCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtStandardGroutingCount.TextValue = "";
             // 
@@ -898,12 +874,11 @@
             this.c_Label1.BackColor = System.Drawing.Color.Transparent;
             this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label1.Location = new System.Drawing.Point(533, 11);
-            this.c_Label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.c_Label1.Location = new System.Drawing.Point(354, 9);
             this.c_Label1.Name = "c_Label1";
-            this.c_Label1.Size = new System.Drawing.Size(97, 15);
-            this.c_Label1.TabIndex = 8;
-            this.c_Label1.Text = "标准注浆次数";
+            this.c_Label1.Size = new System.Drawing.Size(53, 12);
+            this.c_Label1.TabIndex = 6;
+            this.c_Label1.Text = "标准次数";
             // 
             // txtCount
             // 
@@ -912,8 +887,7 @@
             this.txtCount.ErrorMessage = "";
             this.txtCount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtCount.ImeMode = System.Windows.Forms.ImeMode.Off;
-            this.txtCount.Location = new System.Drawing.Point(477, 6);
-            this.txtCount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtCount.Location = new System.Drawing.Point(315, 5);
             this.txtCount.MaxLength = 3;
             this.txtCount.MaxValue = new decimal(new int[] {
             999,
@@ -926,8 +900,8 @@
             0,
             0});
             this.txtCount.Name = "txtCount";
-            this.txtCount.Size = new System.Drawing.Size(47, 25);
-            this.txtCount.TabIndex = 4;
+            this.txtCount.Size = new System.Drawing.Size(36, 21);
+            this.txtCount.TabIndex = 5;
             this.txtCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtCount.TextValue = "";
             // 
@@ -938,39 +912,35 @@
             this.pnlBinding.Controls.Add(this.txtBarcode);
             this.pnlBinding.Controls.Add(this.txtGMouldCode);
             this.pnlBinding.Controls.Add(this.c_Label2);
-            this.pnlBinding.Location = new System.Drawing.Point(112, 39);
-            this.pnlBinding.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.pnlBinding.Location = new System.Drawing.Point(75, 31);
             this.pnlBinding.Name = "pnlBinding";
-            this.pnlBinding.Size = new System.Drawing.Size(569, 38);
+            this.pnlBinding.Size = new System.Drawing.Size(427, 30);
             this.pnlBinding.TabIndex = 12;
             // 
             // lblLabel1
             // 
-            this.lblLabel1.Location = new System.Drawing.Point(159, 11);
-            this.lblLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.lblLabel1.Location = new System.Drawing.Point(119, 9);
             this.lblLabel1.Name = "lblLabel1";
-            this.lblLabel1.Size = new System.Drawing.Size(67, 15);
+            this.lblLabel1.Size = new System.Drawing.Size(53, 12);
             this.lblLabel1.TabIndex = 2;
             this.lblLabel1.Text = "模具条码";
             // 
             // btnAddMouldBarcode
             // 
-            this.btnAddMouldBarcode.Location = new System.Drawing.Point(401, 0);
-            this.btnAddMouldBarcode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.btnAddMouldBarcode.Location = new System.Drawing.Point(301, 0);
             this.btnAddMouldBarcode.Name = "btnAddMouldBarcode";
-            this.btnAddMouldBarcode.Size = new System.Drawing.Size(160, 38);
-            this.btnAddMouldBarcode.TabIndex = 4;
+            this.btnAddMouldBarcode.Size = new System.Drawing.Size(120, 30);
+            this.btnAddMouldBarcode.TabIndex = 99;
             this.btnAddMouldBarcode.Text = "添加模具(条码)(&M)";
             this.btnAddMouldBarcode.UseVisualStyleBackColor = true;
             this.btnAddMouldBarcode.Click += new System.EventHandler(this.btnAddMouldBarcode_Click);
             // 
             // txtBarcode
             // 
-            this.txtBarcode.Location = new System.Drawing.Point(233, 6);
-            this.txtBarcode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtBarcode.Location = new System.Drawing.Point(175, 5);
             this.txtBarcode.MaxLength = 50;
             this.txtBarcode.Name = "txtBarcode";
-            this.txtBarcode.Size = new System.Drawing.Size(159, 25);
+            this.txtBarcode.Size = new System.Drawing.Size(120, 21);
             this.txtBarcode.TabIndex = 3;
             this.txtBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcode_KeyDown);
             // 
@@ -981,8 +951,7 @@
             this.txtGMouldCode.ErrorMessage = "";
             this.txtGMouldCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtGMouldCode.ImeMode = System.Windows.Forms.ImeMode.Off;
-            this.txtGMouldCode.Location = new System.Drawing.Point(79, 6);
-            this.txtGMouldCode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txtGMouldCode.Location = new System.Drawing.Point(59, 5);
             this.txtGMouldCode.MaxLength = 3;
             this.txtGMouldCode.MaxValue = new decimal(new int[] {
             999,
@@ -995,7 +964,7 @@
             0,
             0});
             this.txtGMouldCode.Name = "txtGMouldCode";
-            this.txtGMouldCode.Size = new System.Drawing.Size(72, 25);
+            this.txtGMouldCode.Size = new System.Drawing.Size(55, 21);
             this.txtGMouldCode.TabIndex = 1;
             this.txtGMouldCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
             this.txtGMouldCode.TextValue = "";
@@ -1007,10 +976,9 @@
             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.ForeColor = System.Drawing.SystemColors.ControlText;
-            this.c_Label2.Location = new System.Drawing.Point(17, 11);
-            this.c_Label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.c_Label2.Location = new System.Drawing.Point(15, 9);
             this.c_Label2.Name = "c_Label2";
-            this.c_Label2.Size = new System.Drawing.Size(52, 15);
+            this.c_Label2.Size = new System.Drawing.Size(41, 12);
             this.c_Label2.TabIndex = 0;
             this.c_Label2.Text = "模具号";
             // 
@@ -1019,10 +987,9 @@
             this.rabBinding.AutoSize = true;
             this.rabBinding.Checked = true;
             this.rabBinding.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.rabBinding.Location = new System.Drawing.Point(9, 48);
-            this.rabBinding.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.rabBinding.Location = new System.Drawing.Point(7, 38);
             this.rabBinding.Name = "rabBinding";
-            this.rabBinding.Size = new System.Drawing.Size(88, 19);
+            this.rabBinding.Size = new System.Drawing.Size(71, 16);
             this.rabBinding.TabIndex = 11;
             this.rabBinding.TabStop = true;
             this.rabBinding.Text = "条码模具";
@@ -1033,10 +1000,9 @@
             // 
             this.rabAuto.AutoSize = true;
             this.rabAuto.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.rabAuto.Location = new System.Drawing.Point(9, 9);
-            this.rabAuto.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.rabAuto.Location = new System.Drawing.Point(7, 7);
             this.rabAuto.Name = "rabAuto";
-            this.rabAuto.Size = new System.Drawing.Size(88, 19);
+            this.rabAuto.Size = new System.Drawing.Size(71, 16);
             this.rabAuto.TabIndex = 10;
             this.rabAuto.Text = "自动模具";
             this.rabAuto.UseVisualStyleBackColor = true;
@@ -1049,32 +1015,67 @@
             this.btnAdaptive.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnAdaptive.BackgroundImage")));
             this.btnAdaptive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.btnAdaptive.ForeColor = System.Drawing.Color.White;
-            this.btnAdaptive.Location = new System.Drawing.Point(16, 571);
-            this.btnAdaptive.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.btnAdaptive.Location = new System.Drawing.Point(12, 457);
             this.btnAdaptive.Name = "btnAdaptive";
-            this.btnAdaptive.Size = new System.Drawing.Size(113, 38);
+            this.btnAdaptive.Size = new System.Drawing.Size(85, 30);
             this.btnAdaptive.TabIndex = 17;
             this.btnAdaptive.Text = "自适应列宽";
             this.btnAdaptive.UseVisualStyleBackColor = false;
             this.btnAdaptive.Click += new System.EventHandler(this.btnAdaptive_Click);
             // 
-            // HighPressureFlag
+            // scbGoods
             // 
-            this.HighPressureFlag.AutoSize = true;
-            this.HighPressureFlag.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.HighPressureFlag.Location = new System.Drawing.Point(853, 29);
-            this.HighPressureFlag.Name = "HighPressureFlag";
-            this.HighPressureFlag.Size = new System.Drawing.Size(89, 19);
-            this.HighPressureFlag.TabIndex = 24;
-            this.HighPressureFlag.Text = "高压注浆";
-            this.HighPressureFlag.UseVisualStyleBackColor = true;
+            this.scbGoods.CheckedData = null;
+            this.scbGoods.DisplayMember = "GoodsCode";
+            this.scbGoods.Location = new System.Drawing.Point(59, 5);
+            this.scbGoods.Name = "scbGoods";
+            this.scbGoods.Size = new System.Drawing.Size(115, 21);
+            this.scbGoods.TabIndex = 1;
+            // 
+            // 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(505, 4);
+            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 = 9;
+            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(449, 8);
+            this.c_Label4.Name = "c_Label4";
+            this.c_Label4.Size = new System.Drawing.Size(53, 12);
+            this.c_Label4.TabIndex = 8;
+            this.c_Label4.Text = "已注次数";
             // 
             // F_PC_0103_1
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.CancelButton = this.btnCancel;
-            this.ClientSize = new System.Drawing.Size(992, 640);
+            this.ClientSize = new System.Drawing.Size(744, 512);
             this.Controls.Add(this.btnAdaptive);
             this.Controls.Add(this.tabControl1);
             this.Controls.Add(this.c_GroupBox1);
@@ -1082,7 +1083,7 @@
             this.Controls.Add(this.btnSave);
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
             this.IsSaveFormSize = false;
-            this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
+            this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
             this.Name = "F_PC_0103_1";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.Text = "编辑成型线(上模)";
@@ -1166,12 +1167,14 @@
         private Basics.BaseControls.C_DGV_Column_Digital StandardGroutingCount;
         private System.Windows.Forms.DataGridViewTextBoxColumn Remarks;
         private System.Windows.Forms.DataGridViewTextBoxColumn NewFlag;
-		private Controls.SearchBox.ScbGoods scbGoods;
 		private Basics.BaseControls.C_Label lblGoods;
 		private Basics.BaseControls.C_Label lblGMouldType;
 		private Controls.SearchBox.ScbGMouldType scbGMouldType;
         private Controls.SearchBox.ScbUser scbUser1;
         private Basics.BaseControls.C_Label c_Label3;
         private Basics.BaseControls.C_CheckBox HighPressureFlag;
+        private Controls.SearchBox.ScbGoods scbGoods;
+        private Basics.BaseControls.C_TXT_Digital txtGroutingCount;
+        private Basics.BaseControls.C_Label c_Label4;
     }
 }

+ 1 - 1
DK.Client/PCModule/F_PC_0103_1.cs

@@ -616,7 +616,7 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
 					r["GOODSNAME"] = scbGoods.SearchedItem["GOODSNAME"];
 					r["GOODSCODE"] = scbGoods.SearchedItem["GOODSCODE"];
 					r["GoodsSpecification"] = scbGoods.SearchedItem["GOODSSPECIFICATION"];
-					r["GROUTINGCOUNT"] = 0;
+					r["GROUTINGCOUNT"] = Convert.ToInt32(this.txtGroutingCount.DataValue ?? 0);
 					r["StandardGroutingCount"] = Convert.ToInt32(this.txtStandardGroutingCount.DataValue.Value);
 					//r["MOULDSTATUS"] = Convert.ToInt32(Constant.GMouldStatus.Normal);
 					//r["REMARKS"] = "";