This commit is contained in:
sc committed 2023-11-23 18:40:42 +08:00
commit 656f120984
2 files changed
+5

No files matched your search

+3
View File
@@ -545,6 +545,9 @@ namespace formula_manage
private void CP_PRODUCT_CODE_LostFocus(object sender, RoutedEventArgs e)
{
System.Windows.Controls.ComboBox curComboBox = sender as System.Windows.Controls.ComboBox;
string a = curComboBox.Text;
MainWindowViewModel.STUFFdatatemp.Select("ProductCode ='"+ a +"'");
}
}
+2
View File
@@ -44,6 +44,8 @@ namespace formula_manage.ViewModel
DataTable RRODUCTdataTable = new DataTable(); //建立RRODUCT缓存
DataTable RecipedataTable = new DataTable(); //建立Recipe缓存
public static DataTable STUFFdatatemp = new DataTable(); //建立STUFF缓存
public string INIPath = Convert.ToString(System.AppDomain.CurrentDomain.BaseDirectory) + "formula.ini"; //配置文件路径
public string sys_Time; //显示系统时间
public string Sys_Time //通知UI控件参数改变