From 16ac156d9867a96280c00c25bb57cbde68aa95e7 Mon Sep 17 00:00:00 2001 From: lenovo Date: Tue, 29 Apr 2025 09:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=94=E6=A5=BC=E5=9B=9E=E5=BA=93=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E4=B8=8B=E4=BB=BB=E5=8A=A1=E4=B8=8D=E6=88=90=E5=8A=9F?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E9=99=A4=E4=B9=8B=E5=89=8D=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=9A=84=E5=BA=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SiaSun.LMS.WPFClient/App.config | 4 ++-- SiaSun.LMS.WPFClient/MANAGE/MANAGE_BACK.xaml.cs | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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; + } }