下传工单逻辑调整
This commit is contained in:
commit
7242195f45
2 files changed
+6
-4
No files matched your search
@@ -153,7 +153,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
|
||||
MessageBoxResult vr = System.Windows.MessageBox.Show(Properties.Resources.Delete + comboBoxMachine.Text, "SCCM", MessageBoxButton.OKCancel, MessageBoxImage.Question);
|
||||
if (vr == MessageBoxResult.OK) // 如果是确定,就执行下面代码
|
||||
{
|
||||
MainWindowViewModel.Machines.Rows.RemoveAt(ID_);
|
||||
MainWindowViewModel.Machines.Rows.RemoveAt(ID_-1);
|
||||
DatSteps(MainWindowViewModel.Machines);
|
||||
|
||||
SQLiteHelpers = new SQLiteHelper(DBAddress); //数据库连接路径
|
||||
@@ -196,7 +196,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
|
||||
{
|
||||
DataRow dr = db.Rows[i];
|
||||
dr.BeginEdit();
|
||||
dr["ID"] = i + 1;
|
||||
dr["ID"] = i ;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user