diff --git a/SiaSun.LMS.WPFClient/App.config b/SiaSun.LMS.WPFClient/App.config index 8ebad6a..2557479 100644 --- a/SiaSun.LMS.WPFClient/App.config +++ b/SiaSun.LMS.WPFClient/App.config @@ -5,8 +5,8 @@ - - + + diff --git a/SiaSun.LMS.WPFClient/MANAGE/MANAGE_BACK.xaml.cs b/SiaSun.LMS.WPFClient/MANAGE/MANAGE_BACK.xaml.cs index 545ae4c..eb941e4 100644 --- a/SiaSun.LMS.WPFClient/MANAGE/MANAGE_BACK.xaml.cs +++ b/SiaSun.LMS.WPFClient/MANAGE/MANAGE_BACK.xaml.cs @@ -25,6 +25,7 @@ namespace SiaSun.LMS.WPFClient.MANAGE { bool bResult = true; string sResult = string.Empty; + string sOutResult = string.Empty; if (string.IsNullOrEmpty(this.tbStock_barcode.Text)) { MessageBox.Show("托盘条码为空"); @@ -150,8 +151,11 @@ namespace SiaSun.LMS.WPFClient.MANAGE } else { + MainApp._I_BaseService.ExecuteNonQuery_ReturnVoid($"delete from storage_list where goods_property1 = '{sGoodsBarcode}'"); + MainApp._I_BaseService.ExecuteNonQuery_ReturnVoid($"delete from storage_main where stock_barcode = '{this.tbStock_barcode.Text}'"); MessageBox.Show(sResult); return; + } }