Browse Source

后端复核字段添加

章政 7 years ago
parent
commit
5386de41c8
1 changed files with 5 additions and 2 deletions
  1. 5 2
      UAS-出货标签管理(吉利通)/UAS_出货标签管理.cs

+ 5 - 2
UAS-出货标签管理(吉利通)/UAS_出货标签管理.cs

@@ -287,14 +287,17 @@ namespace UAS_LabelMachine
                                 }
                                 LabelInf.Rows[CurrentRowIndex].Cells["pib_ifpick"].Value = true;
                                 adh.ExecuteSql("update prodiobarcode set pib_lotno='" + LotNo + "',pib_datecode='" + DateCode + "',pib_ifpick=-1 where pib_id=" + pib_id, "update");
-                                if (CurrentRowIndex + 1 < LabelInf.Rows.Count)
-                                    CurrentRowIndex = CurrentRowIndex + 1;
                                 LabelInf.Refresh();
                             }
                         }
                         break;
                     case "BackendCheck":
                         BackCheck.Text = msg;
+                        LabelInf.Rows[CurrentRowIndex].Cells["pib_ifrecheck"].Value = true;
+                        adh.ExecuteSql("update prodiobarcode set pib_ifrecheck=-1 where pib_id=" + pib_id, "update");
+                        LabelInf.Refresh();
+                        if (CurrentRowIndex + 1 < LabelInf.Rows.Count)
+                            CurrentRowIndex = CurrentRowIndex + 1;
                         break;
                     default:
                         break;