| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <UserControl x:Class="Muchinfo.MTPClient.Sale.Views.QueryPurchaseView"
- 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:dataGrid="clr-namespace:Muchinfo.WPF.Controls.DataGrid;assembly=Client.WPF.Controls"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:resource="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- mc:Ignorable="d">
- <xctk:BusyIndicator BusyContent="{x:Static resource:Client_Resource.Content_SearchBusy}" IsBusy="{Binding IsBusy, Mode=TwoWay}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal">
- <TextBlock Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="{DynamicResource MuchinfoBrush13}"
- Text="商品代码" />
- <TextBox Width="120"
- Height="22"
- Text="{Binding GoodCode}"
- TextWrapping="Wrap" />
- <TextBlock Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="{DynamicResource MuchinfoBrush13}"
- Text="状态" />
- <ComboBox Width="80"
- VerticalContentAlignment="Center"
- DisplayMemberPath="Value"
- ItemsSource="{Binding ClientProjectStatus}"
- SelectedValue="{Binding SelectProjectStatus,
- Mode=TwoWay}"
- SelectedValuePath="Key"
- Style="{DynamicResource SimpleComboBoxStyle}" />
- <TextBlock Margin="10,0"
- VerticalAlignment="Center"
- Foreground="{DynamicResource MuchinfoBrush13}"
- Text="委托时间" />
- <DatePicker Name="DatePicker1"
- Width="120"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- CalendarStyle="{DynamicResource CalendarStyle}"
- IsEnabled="{Binding IsChecked,
- ElementName=RadioHistory}"
- SelectedDate="{Binding StartTime,
- Mode=TwoWay}"
- TabIndex="7" />
- <TextBlock Margin="5,0"
- VerticalAlignment="Center"
- Foreground="{DynamicResource MuchinfoBrush13}"
- Text="至" />
- <DatePicker Name="DatePicker2"
- Width="120"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- CalendarStyle="{DynamicResource CalendarStyle}"
- IsEnabled="{Binding IsChecked,
- ElementName=RadioHistory}"
- SelectedDate="{Binding EndTime,
- Mode=TwoWay}"
- TabIndex="7" />
- <Button Width="70"
- Height="26"
- Margin="10,0"
- VerticalAlignment="Center"
- Command="{Binding SelectCommand}"
- Content="查询"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="70"
- Height="26"
- Margin="10,0"
- VerticalAlignment="Center"
- Command="{Binding ReSetCommand}"
- Content="重置"
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- <dataGrid:MuchinfoDataGrid Grid.Row="1"
- ItemsSource="{Binding SaleGoodsList}"
- SelectedIndex="-1"
- Style="{DynamicResource AccountMuchinfoDataGridStyle}">
- <DataGrid.Columns>
- <DataGridTextColumn Width="*"
- MinWidth="100"
- Binding="{Binding GoodsCode}"
- ElementStyle="{DynamicResource DataGridTextColumnStyle}"
- Header="委托单号" />
- <DataGridTextColumn Width="*"
- MinWidth="120"
- Binding="{Binding GoodsName}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="委托时间" />
- <DataGridTextColumn Width="*"
- MinWidth="70"
- Binding="{Binding SalePrice}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="状态" />
- <DataGridTextColumn Width="*"
- MinWidth="100"
- Binding="{Binding Qty}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="商品代码" />
- <DataGridTextColumn Width="*"
- MinWidth="100"
- Binding="{Binding ApplyStartTime1}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="商品名称" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding ApplyEndTime2}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="方向" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding ApplyEndTime3}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="委托数量" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding ApplyEndTime4}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="委托价格" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding ApplyEndTime5}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="申购金额" />
- <DataGridTextColumn Width="*"
- MinWidth="80"
- Binding="{Binding ApplyEndTime6}"
- ElementStyle="{StaticResource DataGridTextColumnStyle}"
- Header="申购手续费" />
- </DataGrid.Columns>
- </dataGrid:MuchinfoDataGrid>
- </Grid>
- </xctk:BusyIndicator>
- </UserControl>
|