Browse Source

修改查询界面

章政 8 năm trước cách đây
mục cha
commit
d410c2bda7

+ 27 - 31
UAS-MES/FunctionCode/Query/Query_OnlineTraceBack.Designer.cs

@@ -52,10 +52,10 @@
             // 
             this.ms_makecode_label.AutoSize = true;
             this.ms_makecode_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ms_makecode_label.Location = new System.Drawing.Point(4, 29);
+            this.ms_makecode_label.Location = new System.Drawing.Point(4, 24);
             this.ms_makecode_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.ms_makecode_label.Name = "ms_makecode_label";
-            this.ms_makecode_label.Size = new System.Drawing.Size(86, 31);
+            this.ms_makecode_label.Size = new System.Drawing.Size(72, 27);
             this.ms_makecode_label.TabIndex = 198;
             this.ms_makecode_label.Text = "工单号";
             // 
@@ -63,10 +63,10 @@
             // 
             this.ms_status_label.AutoSize = true;
             this.ms_status_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ms_status_label.Location = new System.Drawing.Point(309, 29);
+            this.ms_status_label.Location = new System.Drawing.Point(275, 24);
             this.ms_status_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.ms_status_label.Name = "ms_status_label";
-            this.ms_status_label.Size = new System.Drawing.Size(96, 31);
+            this.ms_status_label.Size = new System.Drawing.Size(80, 27);
             this.ms_status_label.TabIndex = 197;
             this.ms_status_label.Text = "SN状态";
             // 
@@ -74,10 +74,10 @@
             // 
             this.ms_stepcode_label.AutoSize = true;
             this.ms_stepcode_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ms_stepcode_label.Location = new System.Drawing.Point(629, 25);
+            this.ms_stepcode_label.Location = new System.Drawing.Point(559, 21);
             this.ms_stepcode_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.ms_stepcode_label.Name = "ms_stepcode_label";
-            this.ms_stepcode_label.Size = new System.Drawing.Size(110, 31);
+            this.ms_stepcode_label.Size = new System.Drawing.Size(92, 27);
             this.ms_stepcode_label.TabIndex = 207;
             this.ms_stepcode_label.Text = "当前工序";
             // 
@@ -85,44 +85,43 @@
             // 
             this.ms_nextstepcode_label.AutoSize = true;
             this.ms_nextstepcode_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ms_nextstepcode_label.Location = new System.Drawing.Point(961, 24);
+            this.ms_nextstepcode_label.Location = new System.Drawing.Point(854, 20);
             this.ms_nextstepcode_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.ms_nextstepcode_label.Name = "ms_nextstepcode_label";
-            this.ms_nextstepcode_label.Size = new System.Drawing.Size(110, 31);
+            this.ms_nextstepcode_label.Size = new System.Drawing.Size(92, 27);
             this.ms_nextstepcode_label.TabIndex = 209;
             this.ms_nextstepcode_label.Text = "下一工序";
             // 
             // ma_code
             // 
-            this.ma_code.AllPower = null;
+            this.ma_code.AllPower = "IFALL";
             this.ma_code.Caller = null;
             this.ma_code.Condition = null;
             this.ma_code.DBTitle = "";
             this.ma_code.Font = new System.Drawing.Font("微软雅黑", 9F);
             this.ma_code.FormName = null;
-            this.ma_code.Location = new System.Drawing.Point(89, 29);
-            this.ma_code.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.ma_code.Location = new System.Drawing.Point(79, 24);
+            this.ma_code.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.ma_code.Name = "ma_code";
             this.ma_code.Power = "";
             this.ma_code.ReturnData = null;
             this.ma_code.SelectField = null;
             this.ma_code.SetValueField = null;
-            this.ma_code.Size = new System.Drawing.Size(203, 35);
+            this.ma_code.Size = new System.Drawing.Size(188, 29);
             this.ma_code.TabIndex = 211;
             this.ma_code.TableName = null;
             this.ma_code.Tag = "makecode";
-            this.ma_code.TextBoxEnable = false;
+            this.ma_code.TextBoxEnable = true;
             // 
             // ms_nextstepcode
             // 
             this.ms_nextstepcode.AllPower = null;
             this.ms_nextstepcode.BackColor = System.Drawing.Color.White;
             this.ms_nextstepcode.ID = null;
-            this.ms_nextstepcode.Location = new System.Drawing.Point(1072, 24);
-            this.ms_nextstepcode.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.ms_nextstepcode.Location = new System.Drawing.Point(953, 20);
             this.ms_nextstepcode.Name = "ms_nextstepcode";
             this.ms_nextstepcode.Power = null;
-            this.ms_nextstepcode.Size = new System.Drawing.Size(187, 28);
+            this.ms_nextstepcode.Size = new System.Drawing.Size(167, 25);
             this.ms_nextstepcode.Str = null;
             this.ms_nextstepcode.Str1 = null;
             this.ms_nextstepcode.Str2 = null;
@@ -134,11 +133,10 @@
             this.ms_stepcode.AllPower = null;
             this.ms_stepcode.BackColor = System.Drawing.Color.White;
             this.ms_stepcode.ID = null;
-            this.ms_stepcode.Location = new System.Drawing.Point(740, 26);
-            this.ms_stepcode.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.ms_stepcode.Location = new System.Drawing.Point(658, 22);
             this.ms_stepcode.Name = "ms_stepcode";
             this.ms_stepcode.Power = null;
-            this.ms_stepcode.Size = new System.Drawing.Size(187, 28);
+            this.ms_stepcode.Size = new System.Drawing.Size(167, 25);
             this.ms_stepcode.Str = null;
             this.ms_stepcode.Str1 = null;
             this.ms_stepcode.Str2 = null;
@@ -152,13 +150,12 @@
             this.Query.DownImage = ((System.Drawing.Image)(resources.GetObject("Query.DownImage")));
             this.Query.Image = null;
             this.Query.IsShowBorder = true;
-            this.Query.Location = new System.Drawing.Point(1323, 19);
-            this.Query.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.Query.Location = new System.Drawing.Point(1176, 16);
             this.Query.MoveImage = ((System.Drawing.Image)(resources.GetObject("Query.MoveImage")));
             this.Query.Name = "Query";
             this.Query.NormalImage = ((System.Drawing.Image)(resources.GetObject("Query.NormalImage")));
             this.Query.Power = null;
-            this.Query.Size = new System.Drawing.Size(84, 34);
+            this.Query.Size = new System.Drawing.Size(75, 28);
             this.Query.TabIndex = 206;
             this.Query.Text = "查询";
             this.Query.UseVisualStyleBackColor = false;
@@ -168,10 +165,9 @@
             // 
             this.ms_status.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.ms_status.FormattingEnabled = true;
-            this.ms_status.Location = new System.Drawing.Point(407, 30);
-            this.ms_status.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.ms_status.Location = new System.Drawing.Point(362, 25);
             this.ms_status.Name = "ms_status";
-            this.ms_status.Size = new System.Drawing.Size(187, 26);
+            this.ms_status.Size = new System.Drawing.Size(167, 23);
             this.ms_status.TabIndex = 205;
             this.ms_status.Tag = "ms_status";
             // 
@@ -189,11 +185,11 @@
             this.ms_nextstepcode1,
             this.Column5});
             this.SnInf.EnableContentClick = true;
-            this.SnInf.Location = new System.Drawing.Point(0, 84);
-            this.SnInf.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.SnInf.Location = new System.Drawing.Point(0, 70);
+            this.SnInf.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.SnInf.Name = "SnInf";
             this.SnInf.RowTemplate.Height = 23;
-            this.SnInf.Size = new System.Drawing.Size(1419, 749);
+            this.SnInf.Size = new System.Drawing.Size(1261, 624);
             this.SnInf.TabIndex = 203;
             // 
             // ms_sncode
@@ -238,9 +234,9 @@
             // 
             // Query_OnlineTraceBack
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(1419, 833);
+            this.ClientSize = new System.Drawing.Size(1261, 694);
             this.Controls.Add(this.ma_code);
             this.Controls.Add(this.ms_nextstepcode);
             this.Controls.Add(this.ms_nextstepcode_label);
@@ -252,7 +248,7 @@
             this.Controls.Add(this.ms_makecode_label);
             this.Controls.Add(this.ms_status_label);
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
-            this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.Name = "Query_OnlineTraceBack";
             this.Tag = "Query!OnlineTraceBack";
             this.Text = " ";

+ 1 - 5
UAS-MES/FunctionCode/Query/Query_OnlineTraceBack.cs

@@ -64,10 +64,6 @@ namespace UAS_MES.Query
             Dbfind = ma_code.ReturnData;
             BaseUtil.SetFormValue(this.Controls, Dbfind);
         }
-        private void ma_code_KeyDown(object sender, KeyEventArgs e)
-        {
-
-        }
 
         private void Query_OnlineTraceBack_SizeChanged(object sender, EventArgs e)
         {
@@ -114,4 +110,4 @@ namespace UAS_MES.Query
             }
         }
     }
-}
+}

+ 18 - 0
UAS-MES/FunctionCode/Query/Query_OnlineTraceBack.resx

@@ -174,4 +174,22 @@
   <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="ms_sncode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="status.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="ms_linecode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="ms_stepcode1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="ms_nextstepcode1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
 </root>