Browse Source

优化维修选项

callm 1 month ago
parent
commit
5e8b74d95c

+ 4 - 3
UAS_MES_ZT/FunctionCode/Make/Make_Repair.Designer.cs

@@ -264,7 +264,7 @@
             // 
             this.BadCodeTree.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.BadCodeTree.Location = new System.Drawing.Point(21, 288);
-            this.BadCodeTree.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.BadCodeTree.Margin = new System.Windows.Forms.Padding(4);
             this.BadCodeTree.Name = "BadCodeTree";
             this.BadCodeTree.Size = new System.Drawing.Size(284, 848);
             this.BadCodeTree.TabIndex = 118;
@@ -350,7 +350,7 @@
             this.checkBox1.AutoSize = true;
             this.checkBox1.Enabled = false;
             this.checkBox1.Location = new System.Drawing.Point(1185, 472);
-            this.checkBox1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
+            this.checkBox1.Margin = new System.Windows.Forms.Padding(5);
             this.checkBox1.Name = "checkBox1";
             this.checkBox1.Size = new System.Drawing.Size(234, 28);
             this.checkBox1.TabIndex = 130;
@@ -533,6 +533,7 @@
             this.badgroup.Name = "badgroup";
             this.badgroup.Size = new System.Drawing.Size(284, 32);
             this.badgroup.TabIndex = 166;
+            this.badgroup.SelectedValueChanged += new System.EventHandler(this.badgroup_SelectedValueChanged);
             // 
             // normalButton2
             // 
@@ -1235,7 +1236,7 @@
             this.Controls.Add(this.bc_name_label);
             this.Controls.Add(this.bg_name_label);
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
-            this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
+            this.Margin = new System.Windows.Forms.Padding(5);
             this.Name = "Make_Repair";
             this.Tag = "Make!Repair";
             this.Text = "维修解析";

+ 5 - 0
UAS_MES_ZT/FunctionCode/Make/Make_Repair.cs

@@ -1190,5 +1190,10 @@ namespace UAS_MES_NEW.Make
             }
             else OperatResult.AppendText(">>必须选择不良现象\n", Color.Red);
         }
+
+        private void badgroup_SelectedValueChanged(object sender, EventArgs e)
+        {
+            LoadBadCodeListView();
+        }
     }
 }

+ 0 - 12
UAS_MES_ZT/FunctionCode/Make/Make_Repair.resx

@@ -285,18 +285,6 @@
   <metadata name="DeleteCom.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="mbp_part1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="DeleteCom.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="mbl_loc1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
-  <metadata name="DeletePos.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <metadata name="mbl_loc1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>