增加盘点模式
This commit is contained in:
47
货架标准上位机/Views/StocktakingDocumentDetailView.xaml.cs
Normal file
47
货架标准上位机/Views/StocktakingDocumentDetailView.xaml.cs
Normal file
@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Media;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using WCS.Model.ApiModel.OutStore;
|
||||
using WCS.Model.ApiModel.Stocktaking;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
|
||||
namespace 货架标准上位机
|
||||
{
|
||||
public partial class StocktakingDocumentDetailView : HandyControl.Controls.Window
|
||||
{
|
||||
public StocktakingDocumentDetailView(List<StockTakingOrderMatDetailModel> details = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
if (details != null)
|
||||
{
|
||||
dg1.ItemsSource = details;
|
||||
}
|
||||
}
|
||||
|
||||
private void closeClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.DialogResult = false;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void DataGrid_SelectedCellsChanged(object sender, SelectedCellsChangedEventArgs e)
|
||||
{
|
||||
DataGrid datagrid = sender as DataGrid;
|
||||
datagrid.UnselectAllCells();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user