master
1 year ago
parent 418ce09a68
commit 8a94039174

@ -287,7 +287,7 @@ namespace Khd.Core.Wpf.Form
}
}
private void ReturnOrderTimer(object? obj)
{
using var scope = _host.Services.CreateScope();
@ -3926,19 +3926,19 @@ namespace Khd.Core.Wpf.Form
removeBarCode.Text = "";
}
private void removeBarCode_LostFocus(Object sender, RoutedEventArgs e)
private void removeBarCode_LostFocus(object sender, RoutedEventArgs e)
{
try
{
if (string.IsNullOrEmpty(this.removeBarCode.Text))
{
return;
}
if (string.IsNullOrEmpty(this.rawSourceBox.Text))
{
HandyControl.Controls.MessageBox.Show("请先选择托盘!");
return;
}
if (string.IsNullOrEmpty(this.removeBarCode.Text))
{
return;
}
using var scope = _host.Services.CreateScope();
using var dbContext = scope.ServiceProvider.GetRequiredService<DefaultDbContext>();
WmsRawStock? wmsRawStock = dbContext.WmsRawStock.Where(t => t.palletInfoCode == this.rawSourceBox.Text)

Loading…
Cancel
Save