| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <UserControl x:Class="Muchinfo.MTPClient.Account.Views.AmountQuetyView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:converters="clr-namespace:Muchinfo.MTPClient.Infrastructure.Converters;assembly=Client.Infrastructure"
- xmlns:dataGrid="clr-namespace:Muchinfo.WPF.Controls.DataGrid;assembly=Client.WPF.Controls"
- xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- Background="{DynamicResource MuchinfoBrush5}"
- DataContext="{Binding AmountQuery,
- Source={StaticResource Locator}}">
- <UserControl.Resources>
- <converters:BankInOutConverter x:Key="bankInOutConverter" />
- </UserControl.Resources>
- <xctk:BusyIndicator BusyContent="{x:Static resource:Client_Resource.Content_GetBusy}" IsBusy="{Binding IsBusy, Mode=TwoWay}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <StackPanel Margin="0,4" Orientation="Horizontal">
- <!--<RadioButton VerticalAlignment="Center" Foreground="WhiteSmoke" Margin="10,5" IsChecked="True">当前</RadioButton>
- <RadioButton VerticalAlignment="Center" Foreground="WhiteSmoke" Margin="10,5">历史</RadioButton>
- <TextBlock Width="20"/>-->
- <TextBlock Margin="10,5"
- VerticalAlignment="Center"
- Foreground="{DynamicResource TextBlockForeground}"
- Text="{x:Static resource:Client_Resource.Content_Date}" />
- <DatePicker Width="120"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- CalendarStyle="{DynamicResource CalendarStyle}"
- KeyUp="Title_OnKeyUp"
- SelectedDate="{Binding StartDateTime, Mode=TwoWay}"
- TabIndex="7" Margin="0,1" />
- <TextBlock Margin="5"
- VerticalAlignment="Center"
- Foreground="{DynamicResource TextBlockForeground}"
- Text="{x:Static resource:Client_Resource.Content_To}" />
- <DatePicker Width="120"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- CalendarStyle="{DynamicResource CalendarStyle}"
- KeyUp="Title_OnKeyUp"
- SelectedDate="{Binding EndDateTime, Mode=TwoWay}"
- TabIndex="7" Margin="0,1" />
- <Button Width="70"
- Height="26"
- Margin="10,0"
- VerticalAlignment="Center"
- Command="{Binding QuetyCommand}"
- Content="{x:Static resource:Client_Resource.Button_Search}"
- IsEnabled="{Binding ButtonIsEnabled}"
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- <dataGrid:MuchinfoDataGrid Grid.Row="1"
- ItemsSource="{Binding AmountQueryList}"
- ScrollViewer.HorizontalScrollBarVisibility="Auto"
- ScrollViewer.VerticalScrollBarVisibility="Auto"
- SelectedIndex="-1"
- Style="{DynamicResource AccountMuchinfoDataGridStyle}">
- <DataGrid.Columns>
- <DataGridTextColumn Width="*"
- MinWidth="100"
- Binding="{Binding CreateTime,
- StringFormat=\{0:yyyy-MM-dd HH:mm:ss\}}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_Time}" />
- <!--
- <DataGridTextColumn Width="*"
- MinWidth="100"
- Binding="{Binding CreateTime,
- StringFormat=\{0:HH:mm:ss\}}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_Time}" />
- -->
- <DataGridTextColumn Width="*"
- MinWidth="50"
- Binding="{Binding DisplayOperateType}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_OutInType}" />
- <DataGridTextColumn Width="*"
- MinWidth="150"
- Binding="{Binding ExchTicket}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_ExchTicket}" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding Amount}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_Amount}" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding CusBankName}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_Bank}" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding ResultDisplay}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_State}" />
- <DataGridTextColumn Width="*"
- Binding="{Binding Remark}"
- ElementStyle="{DynamicResource DataGridTextColumnStyle}"
- Header="{x:Static resource:Client_Resource.Content_Remark}" />
- </DataGrid.Columns>
- <!--
- <DataGrid.ContextMenu>
- <ContextMenu>
- <MenuItem Command="{Binding RefreshCommand}" Style="{DynamicResource CommonMenuItem}" Header="刷新" />
- </ContextMenu>
- </DataGrid.ContextMenu>
- -->
- </dataGrid:MuchinfoDataGrid>
- </Grid>
- </xctk:BusyIndicator>
- </UserControl>
|