更改FTP文件导入
This commit is contained in:
132
FATrace.WPLApp/Views/FactoryInOutboundView.xaml
Normal file
132
FATrace.WPLApp/Views/FactoryInOutboundView.xaml
Normal file
@@ -0,0 +1,132 @@
|
||||
<UserControl
|
||||
x:Class="FATrace.WPLApp.Views.FactoryInOutboundView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:prism="http://prismlibrary.com/"
|
||||
d:DesignHeight="720"
|
||||
d:DesignWidth="1280"
|
||||
prism:ViewModelLocator.AutoWireViewModel="True"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<BooleanToVisibilityConverter x:Key="Bool2Vis" />
|
||||
</UserControl.Resources>
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Grid.Row="0" Margin="0,0,0,8" FontSize="20" FontWeight="SemiBold" Text="工厂-成品入库与出库" />
|
||||
|
||||
<Border Grid.Row="1" Padding="10" Background="#F9F9F9" BorderBrush="#DDDDDD" BorderThickness="1" CornerRadius="4">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="产地:" />
|
||||
<TextBox Width="160" Text="{Binding Origin, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="1" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="原料代码:" />
|
||||
<TextBox Width="160" Text="{Binding RawCode, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="2" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="原料名称:" />
|
||||
<TextBox Width="160" Text="{Binding RawName, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="3" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="批号:" />
|
||||
<TextBox Width="160" Text="{Binding Batch, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="1" Grid.Column="0" Margin="0,5,10,0" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="开始日期:" />
|
||||
<DatePicker Width="160" SelectedDate="{Binding StartDate, Mode=TwoWay}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Grid.Column="1" Margin="0,5,10,0" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="结束日期:" />
|
||||
<DatePicker Width="160" SelectedDate="{Binding EndDate, Mode=TwoWay}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="2" Grid.Column="3" Margin="0,5,10,0" HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<Button Width="80" Margin="0,0,8,0" Command="{Binding SearchCommand}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" FontFamily="/Assets/Fonts/#iconfont" FontSize="16" Text="" />
|
||||
<TextBlock Text="查询" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button Width="80" Margin="0,0,8,0" Command="{Binding ClearCommand}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" FontFamily="/Assets/Fonts/#iconfont" FontSize="16" Text="" />
|
||||
<TextBlock Text="清空" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<DataGrid Grid.Row="2" Margin="0,10,0,10" ItemsSource="{Binding Items}" AutoGenerateColumns="False" CanUserAddRows="False" FontSize="15" IsReadOnly="True" RowHeight="34">
|
||||
<DataGrid.ColumnHeaderStyle>
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="FontSize" Value="18" />
|
||||
<Setter Property="FontWeight" Value="Bold" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
</DataGrid.ColumnHeaderStyle>
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Width="160" Binding="{Binding InTime}" Header="入库时间" />
|
||||
<DataGridTextColumn Width="160" Binding="{Binding OutTime}" Header="出库时间" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Origin}" Header="产地" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Batch}" Header="批号" />
|
||||
<DataGridTextColumn Width="140" Binding="{Binding RawCode}" Header="原料代码" />
|
||||
<DataGridTextColumn Width="180" Binding="{Binding RawName}" Header="原料名称" />
|
||||
<DataGridTextColumn Width="150" Binding="{Binding TotalInPcs}" Header="入库总箱数" />
|
||||
<DataGridTextColumn Width="150" Binding="{Binding TotalOutPcs}" Header="出库总箱数" />
|
||||
<DataGridTextColumn Width="150" Binding="{Binding RemainPcs}" Header="剩余箱数" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
<StatusBar Grid.Row="3">
|
||||
<StatusBarItem><TextBlock Text="本页:" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="{Binding Items.Count}" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text=" 总数:" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="{Binding TotalCount}" /></StatusBarItem>
|
||||
<StatusBarItem><Separator Width="20" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="页码:" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="{Binding PageIndex}" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="/" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="{Binding TotalPages}" /></StatusBarItem>
|
||||
<StatusBarItem><Button Content="|<" Width="40" Margin="5,0" Command="{Binding FirstPageCommand}" /></StatusBarItem>
|
||||
<StatusBarItem><Button Content="<" Width="40" Margin="5,0" Command="{Binding PrevPageCommand}" /></StatusBarItem>
|
||||
<StatusBarItem><Button Content=">" Width="40" Margin="5,0" Command="{Binding NextPageCommand}" /></StatusBarItem>
|
||||
<StatusBarItem><Button Content=">|" Width="40" Margin="5,0" Command="{Binding LastPageCommand}" /></StatusBarItem>
|
||||
<StatusBarItem><Separator Width="20" /></StatusBarItem>
|
||||
<StatusBarItem><TextBlock Text="页大小:" /></StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<ComboBox Width="80" SelectedValue="{Binding PageSize, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedValuePath="Content">
|
||||
<ComboBoxItem Content="10" />
|
||||
<ComboBoxItem Content="20" />
|
||||
<ComboBoxItem Content="50" />
|
||||
<ComboBoxItem Content="100" />
|
||||
</ComboBox>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem HorizontalAlignment="Right">
|
||||
<TextBlock Text="正在处理..." Visibility="{Binding IsBusy, Converter={StaticResource Bool2Vis}}" />
|
||||
</StatusBarItem>
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
18
FATrace.WPLApp/Views/FactoryInOutboundView.xaml.cs
Normal file
18
FATrace.WPLApp/Views/FactoryInOutboundView.xaml.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace FATrace.WPLApp.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// FactoryInOutboundView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class FactoryInOutboundView : UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public FactoryInOutboundView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
Margin="0,0,0,8"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"
|
||||
Text="工厂-入库" />
|
||||
Text="工厂-成品入库" />
|
||||
|
||||
<!-- 查询条件区域 -->
|
||||
<Border
|
||||
@@ -147,34 +147,14 @@
|
||||
</Style>
|
||||
</DataGrid.ColumnHeaderStyle>
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding Origin}"
|
||||
Header="产地" />
|
||||
<DataGridTextColumn
|
||||
Width="160"
|
||||
Binding="{Binding RawCode}"
|
||||
Header="原料代码" />
|
||||
<DataGridTextColumn
|
||||
Width="200"
|
||||
Binding="{Binding RawName}"
|
||||
Header="原料名称" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding Weight}"
|
||||
Header="重量(KG)" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginDate}"
|
||||
Header="登录日" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginTime}"
|
||||
Header="登录时间" />
|
||||
<DataGridTextColumn
|
||||
Width="180"
|
||||
Binding="{Binding LoginDateTime}"
|
||||
Header="登录日期时间" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Batch}" Header="批号" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Weight}" Header="重量(G)" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding ShelfLife}" Header="保质期" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Origin}" Header="产地" />
|
||||
<DataGridTextColumn Width="160" Binding="{Binding RawCode}" Header="原料代码" />
|
||||
<DataGridTextColumn Width="200" Binding="{Binding RawName}" Header="原料名称" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding SequenceNo}" Header="序号" />
|
||||
<DataGridTextColumn Width="180" Binding="{Binding LoginDateTime}" Header="登录日期时间" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
Margin="0,0,0,8"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"
|
||||
Text="工厂-出入库" />
|
||||
Text="工厂-原料出入库" />
|
||||
|
||||
<!-- 查询条件区域 -->
|
||||
<Border
|
||||
@@ -154,7 +154,7 @@
|
||||
<DataGridTextColumn
|
||||
Width="160"
|
||||
Binding="{Binding OutTime}"
|
||||
Header="领料时间" />
|
||||
Header="出库时间" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding Origin}"
|
||||
@@ -174,7 +174,7 @@
|
||||
<DataGridTextColumn
|
||||
Width="160"
|
||||
Binding="{Binding TotalOutWeightKg}"
|
||||
Header="领料总重量(KG)" />
|
||||
Header="出库总重量(KG)" />
|
||||
<DataGridTextColumn
|
||||
Width="160"
|
||||
Binding="{Binding RemainWeightKg}"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
Margin="0,0,0,8"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"
|
||||
Text="工厂-领料" />
|
||||
Text="工厂-原料出库" />
|
||||
|
||||
<!-- 查询条件区域 -->
|
||||
<Border
|
||||
@@ -163,14 +163,6 @@
|
||||
Width="120"
|
||||
Binding="{Binding Weight}"
|
||||
Header="重量(KG)" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginDate}"
|
||||
Header="登录日" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginTime}"
|
||||
Header="登录时间" />
|
||||
<DataGridTextColumn
|
||||
Width="180"
|
||||
Binding="{Binding LoginDateTime}"
|
||||
|
||||
@@ -183,14 +183,6 @@
|
||||
Width="80"
|
||||
Binding="{Binding SequenceNo}"
|
||||
Header="序号" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginDate}"
|
||||
Header="登录日" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginTime}"
|
||||
Header="登录时间" />
|
||||
<DataGridTextColumn
|
||||
Width="180"
|
||||
Binding="{Binding LoginDateTime}"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
Margin="0,0,0,8"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"
|
||||
Text="工厂-原料生产信息" />
|
||||
Text="工厂-包袋生产" />
|
||||
|
||||
<!-- 查询条件区域 -->
|
||||
<Border Grid.Row="1" Padding="10" Background="#F9F9F9" BorderBrush="#DDDDDD" BorderThickness="1" CornerRadius="4">
|
||||
@@ -106,10 +106,10 @@
|
||||
<DataGridTextColumn Header="外箱二维码" Binding="{Binding BoxCode}" Width="260" />
|
||||
<DataGridTextColumn Header="批号" Binding="{Binding Batch}" Width="120" />
|
||||
<DataGridTextColumn Header="保质期" Binding="{Binding ShelfLife}" Width="80" />
|
||||
<DataGridTextColumn Header="称重重量(g)" Binding="{Binding Weight}" Width="120" />
|
||||
<DataGridTextColumn Header="称重重量(G)" Binding="{Binding Weight}" Width="120" />
|
||||
<DataGridTextColumn Header="配料日期" Binding="{Binding DeliveryDate}" Width="120" />
|
||||
<DataGridTextColumn Header="剩余重量(Kg)" Binding="{Binding RemainWeight}" Width="150" />
|
||||
<DataGridTextColumn Header="入库总重量(Kg)" Binding="{Binding StockWeight}" Width="170" />
|
||||
<DataGridTextColumn Header="剩余重量(KG)" Binding="{Binding RemainWeight}" Width="150" />
|
||||
<DataGridTextColumn Header="入库总重量(KG)" Binding="{Binding StockWeight}" Width="170" />
|
||||
<DataGridTextColumn Header="称重时间" Binding="{Binding WeightTime}" Width="160" />
|
||||
<DataGridTextColumn Header="操作者" Binding="{Binding OpUser}" Width="100" />
|
||||
<DataGridTextColumn Header="确认者" Binding="{Binding CheckUser}" Width="120" />
|
||||
|
||||
173
FATrace.WPLApp/Views/FactoryRawInboundView.xaml
Normal file
173
FATrace.WPLApp/Views/FactoryRawInboundView.xaml
Normal file
@@ -0,0 +1,173 @@
|
||||
<UserControl
|
||||
x:Class="FATrace.WPLApp.Views.FactoryRawInboundView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:prism="http://prismlibrary.com/"
|
||||
d:DesignHeight="720"
|
||||
d:DesignWidth="1280"
|
||||
prism:ViewModelLocator.AutoWireViewModel="True"
|
||||
mc:Ignorable="d">
|
||||
<UserControl.Resources>
|
||||
<BooleanToVisibilityConverter x:Key="Bool2Vis" />
|
||||
</UserControl.Resources>
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Margin="0,0,0,8"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"
|
||||
Text="工厂-原料入库" />
|
||||
|
||||
<Border
|
||||
Grid.Row="1"
|
||||
Padding="10"
|
||||
Background="#F9F9F9"
|
||||
BorderBrush="#DDDDDD"
|
||||
BorderThickness="1"
|
||||
CornerRadius="4">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="产地:" />
|
||||
<TextBox Width="160" Text="{Binding Origin, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="1" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="原料代码:" />
|
||||
<TextBox Width="160" Text="{Binding RawCode, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="2" Margin="0,0,10,8" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="原料名称:" />
|
||||
<TextBox Width="160" Text="{Binding RawName, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="1" Grid.Column="0" Margin="0,5,10,0" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="开始日期:" />
|
||||
<DatePicker Width="160" SelectedDate="{Binding StartDate, Mode=TwoWay}" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Grid.Column="1" Margin="0,5,10,0" Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center" Text="结束日期:" />
|
||||
<DatePicker Width="160" SelectedDate="{Binding EndDate, Mode=TwoWay}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="2" Grid.Column="3" Margin="0,5,10,0" HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<Button Width="80" Margin="0,0,8,0" Command="{Binding SearchCommand}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" FontFamily="/Assets/Fonts/#iconfont" FontSize="16" Text="" />
|
||||
<TextBlock Text="查询" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button Width="80" Margin="0,0,8,0" Command="{Binding ClearCommand}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" FontFamily="/Assets/Fonts/#iconfont" FontSize="16" Text="" />
|
||||
<TextBlock Text="清空" />
|
||||
</StackPanel>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<DataGrid
|
||||
Grid.Row="2"
|
||||
Margin="0,10,0,10"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
FontSize="15"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding Items}"
|
||||
RowHeight="34">
|
||||
<DataGrid.ColumnHeaderStyle>
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="FontSize" Value="18" />
|
||||
<Setter Property="FontWeight" Value="Bold" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
</DataGrid.ColumnHeaderStyle>
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Origin}" Header="产地" />
|
||||
<DataGridTextColumn Width="160" Binding="{Binding RawCode}" Header="原料代码" />
|
||||
<DataGridTextColumn Width="200" Binding="{Binding RawName}" Header="原料名称" />
|
||||
<DataGridTextColumn Width="120" Binding="{Binding Weight}" Header="重量(KG)" />
|
||||
<DataGridTextColumn Width="180" Binding="{Binding LoginDateTime}" Header="登录日期时间" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
<StatusBar Grid.Row="3">
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="本页:" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="{Binding Items.Count}" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text=" 总数:" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="{Binding TotalCount}" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<Separator Width="20" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="页码:" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="{Binding PageIndex}" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="/" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="{Binding TotalPages}" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<Button Width="40" Margin="5,0" Command="{Binding FirstPageCommand}" Content="|<" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<Button Width="40" Margin="5,0" Command="{Binding PrevPageCommand}" Content="<" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<Button Width="40" Margin="5,0" Command="{Binding NextPageCommand}" Content=">" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<Button Width="40" Margin="5,0" Command="{Binding LastPageCommand}" Content=">|" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<Separator Width="20" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<TextBlock Text="页大小:" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem>
|
||||
<ComboBox Width="80" SelectedValue="{Binding PageSize, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedValuePath="Content">
|
||||
<ComboBoxItem Content="10" />
|
||||
<ComboBoxItem Content="20" />
|
||||
<ComboBoxItem Content="50" />
|
||||
<ComboBoxItem Content="100" />
|
||||
</ComboBox>
|
||||
</StatusBarItem>
|
||||
<StatusBarItem HorizontalAlignment="Right">
|
||||
<TextBlock Text="正在处理..." Visibility="{Binding IsBusy, Converter={StaticResource Bool2Vis}}" />
|
||||
</StatusBarItem>
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
18
FATrace.WPLApp/Views/FactoryRawInboundView.xaml.cs
Normal file
18
FATrace.WPLApp/Views/FactoryRawInboundView.xaml.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace FATrace.WPLApp.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// FactoryRawInboundView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class FactoryRawInboundView : UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public FactoryRawInboundView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -183,14 +183,6 @@
|
||||
Width="80"
|
||||
Binding="{Binding SequenceNo}"
|
||||
Header="序号" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginDate}"
|
||||
Header="登录日" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginTime}"
|
||||
Header="登录时间" />
|
||||
<DataGridTextColumn
|
||||
Width="180"
|
||||
Binding="{Binding LoginDateTime}"
|
||||
|
||||
@@ -183,14 +183,6 @@
|
||||
Width="80"
|
||||
Binding="{Binding SequenceNo}"
|
||||
Header="序号" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginDate}"
|
||||
Header="登录日" />
|
||||
<DataGridTextColumn
|
||||
Width="120"
|
||||
Binding="{Binding LoginTime}"
|
||||
Header="登录时间" />
|
||||
<DataGridTextColumn
|
||||
Width="180"
|
||||
Binding="{Binding LoginDateTime}"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
Margin="0,0,0,8"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"
|
||||
Text="OEM-原料使用信息" />
|
||||
Text="OEM-原料使用" />
|
||||
|
||||
<!-- 查询条件区域 -->
|
||||
<Border
|
||||
|
||||
Reference in New Issue
Block a user