Browse Source

Merge branch 'master' of ssh://10.10.100.21/source/mes-client

章政 8 years ago
parent
commit
330d2a77f6
1 changed files with 1 additions and 4 deletions
  1. 1 4
      UAS-MES/FunctionCode/Make/Make_Decompose.cs

+ 1 - 4
UAS-MES/FunctionCode/Make/Make_Decompose.cs

@@ -269,10 +269,7 @@ namespace UAS_MES.Make
                                         LoadData(sncode_1, sender, new KeyEventArgs(Keys.Enter));
                                         continue;
                                     }
-                                    if (sp_barcoderule == "TSN")
-                                    {
-                                        dh.UpdateByCondition("makeserial", "ms_nextmacode='" + LabelDataGridView.Rows[i].Cells["cm_makecode"].Value.ToString() + "'", "ms_id=(select max(ms_id) from makeserial where ms_sncode='" + LabelDataGridView.Rows[i].Cells["New_BarCode"].Value.ToString() + "')");
-                                    }
+                                    dh.UpdateByCondition("makeserial", "ms_nextmacode='" + LabelDataGridView.Rows[i].Cells["cm_makecode"].Value.ToString() + "'", "ms_id=(select max(ms_id) from makeserial where ms_sncode='" + LabelDataGridView.Rows[i].Cells["New_BarCode"].Value.ToString() + "')");                                  
                                 }
                                 else
                                 {