| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <Window x:Class="Muchinfo.MTPClient.Sale.Views.DepositApplyView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:controls="clr-namespace:Muchinfo.WPF.Controls;assembly=Client.WPF.Controls"
- xmlns:resources="clr-namespace:Muchinfo.MTPClient.Resources;assembly=Client.Resources"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- x:Name="orderWindow"
- Title="{x:Static resources:Client_Resource.Resources_Service_DepositOrder}"
- Width="450"
- MinHeight="400"
- SizeToContent="Height"
- Style="{DynamicResource DialogWindowStyle}">
- <Window.Resources>
- <BooleanToVisibilityConverter x:Key="BooleanVisibilty" />
- </Window.Resources>
- <xctk:BusyIndicator BusyContent="{Binding BusyTips, Mode=OneWay}" IsBusy="{Binding IsBusy, Mode=OneWay}">
- <Grid Margin="10,20">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100" />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="80" />
- </Grid.RowDefinitions>
- <TextBlock HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.Content_DepositName}" />
- <ComboBox Grid.Column="1"
- Width="200"
- Margin="20,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- DisplayMemberPath="DepositName"
- ItemsSource="{Binding DepositPlans}"
- SelectedItem="{Binding CurDepositPlan}"
- Style="{DynamicResource SimpleComboBoxStyle}" />
- <TextBlock Grid.Row="1"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.Content_DepositGoodsCode}" />
- <TextBox Grid.Row="1"
- Grid.Column="1"
- Width="200"
- MinHeight="24"
- Margin="20,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="False"
- IsReadOnly="True"
- Text="{Binding CurDepositPlan.DepositGoodsCode}" />
- <TextBlock Grid.Row="2"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.Content_DepositGoodsName}" />
- <TextBox Grid.Row="2"
- Grid.Column="1"
- Width="200"
- MinHeight="24"
- Margin="20,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="False"
- IsReadOnly="True"
- Text="{Binding CurDepositPlan.DepositGoodsName}" />
- <TextBlock Grid.Row="3"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.Content_DepositStoragesSelect}" />
- <ComboBox Grid.Row="3"
- Grid.Column="1"
- Width="200"
- Margin="20,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- DisplayMemberPath="WareHouseName"
- ItemsSource="{Binding Storelist,
- Mode=TwoWay}"
- SelectedItem="{Binding CurWareHouse,
- Mode=TwoWay}"
- Style="{DynamicResource SimpleComboBoxStyle}" />
- <TextBlock Grid.Row="4"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.Content_DepositApllyLot}" />
- <controls:DecimalNumBox Grid.Row="4"
- Grid.Column="1"
- Width="200"
- MinHeight="24"
- Margin="20,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- DecimalCount="0"
- DefaultValue="0"
- DisplayDefaultValueOnEmptyText="True"
- Minimum="0"
- Style="{DynamicResource DecimalNewUpDownStyle}"
- TabIndex="5"
- Value="{Binding Lot,
- Mode=TwoWay}" />
- <TextBlock Grid.Row="5"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Text="{x:Static resources:Client_Resource.Content_DepositFreezeFee}" />
- <StackPanel Grid.Row="5"
- Grid.Column="1"
- Margin="20,0,0,0"
- HorizontalAlignment="Left"
- Orientation="Horizontal">
- <TextBlock VerticalAlignment="Center"
- Foreground="Red"
- Text="{Binding FreezeFee}" />
- <Button Margin="10,0,0,0"
- VerticalAlignment="Center"
- Background="Transparent"
- Padding="2"
- Style="{DynamicResource TextButtonStyle}"
- ToolTip="{Binding FeeTips}">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
- <Ellipse Width="12"
- Height="12"
- Stroke="{DynamicResource AcountGridHeadForeground}"
- StrokeThickness="1" />
- <TextBlock HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- Text="?" />
- </Grid>
- </Button>
- </StackPanel>
- <TextBlock Grid.Row="6"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{Binding ErrorTips}" />
- <!-- 确定 -->
- <StackPanel Grid.Row="10"
- Grid.ColumnSpan="3"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Button Width="82"
- Height="26"
- Command="{Binding OKCommand}"
- CommandParameter="{Binding ElementName=orderWindow}"
- Content="{x:Static resources:Client_Resource.Button_Confirm}"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="82"
- Height="26"
- Margin="60,0,0,0"
- Command="{Binding CancelCommand}"
- CommandParameter="{Binding ElementName=orderWindow}"
- Content="{x:Static resources:Client_Resource.Button_Cancel}"
- IsCancel="True"
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- </Grid>
- </xctk:BusyIndicator>
- </Window>
|