| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <Window x:Class="Muchinfo.MTPClient.Delivery.Views.RecieveInfoView"
- 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:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:ignore="http://www.galasoft.ch/ignore"
- 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"
- x:Name="RecieveInfoViewWindow"
- Title="提货人信息"
- Width="543"
- Height="320"
- MouseLeftButtonDown="drag_MouseLeftButtonDown"
- ShowInTaskbar="False"
- Style="{DynamicResource DialogWindowStyle}"
- WindowStartupLocation="CenterOwner"
- mc:Ignorable="d ignore">
- <Window.Resources>
- <converters:BuyOrSellConvert x:Key="EnumBooleanConvert" />
- <BooleanToVisibilityConverter x:Key="ToVisibilityConverter" />
- </Window.Resources>
- <xctk:BusyIndicator BusyContent="{x:Static resource:Client_Resource.Content_UpdateBusy}" IsBusy="{Binding IsBusy, Mode=TwoWay}">
- <Grid>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition Height="10" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="10" />
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition />
- <ColumnDefinition Width="10" />
- </Grid.ColumnDefinitions>
- <StackPanel Grid.Row="0"
- Grid.Column="1"
- Grid.ColumnSpan="4"
- Height="25"
- Margin="10,0,10,0"
- Background="{DynamicResource AcountGridHeadBackground}"
- Orientation="Horizontal">
- <TextBlock Width="520"
- VerticalAlignment="Center"
- Foreground="{DynamicResource AcountGridHeadForeground}"
- TextAlignment="Center">
- <Run Text="{x:Static resource:Client_Resource.DeliveryOrderView_DeliveryGoods}" />
- <Run Text="{Binding GoodsName}" />
- <Run Text=" " />
- <Run Text="{x:Static resource:Client_Resource.Content_Quantifiable}" />
- <Run Text="{Binding AvailableQty}" />
- <Run Text=" " />
- <Run Text="{x:Static resource:Client_Resource.Moduel_Unit}" />
- <Run Text="{Binding GoodsUnitIdDisplay}" />
- </TextBlock>
- </StackPanel>
- <TextBlock Grid.Row="1"
- Grid.Column="1"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.Delivery_TakeGoods_Type}" />
- <TextBlock Grid.Row="2"
- Grid.Column="1"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.TakaDeliveryGoodsApplyViewModel_RecievePerson}" />
- <TextBlock Grid.Row="3"
- Grid.Column="1"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.TakaDeliveryGoodsApplyViewModel_PhoneNum}" />
- <TextBlock Grid.Row="4"
- Grid.Column="1"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.Content_IDCardNum}" />
- <TextBlock Grid.Row="5"
- Grid.Column="1"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Text="{x:Static resource:Client_Resource.TakaDeliveryGoodsApplyViewModel_RecieveAddress}"
- Visibility="{Binding IsChecked,
- ElementName=expressRadio,
- Converter={StaticResource ToVisibilityConverter}}" />
- <StackPanel Grid.Row="1"
- Grid.ColumnSpan="6"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <RadioButton Margin="20,0"
- VerticalAlignment="Center"
- Content="{x:Static resource:Client_Resource.Delivery_TakeGoods_Self}"
- IsChecked="{Binding TakeGoodsWay,
- ConverterParameter=1,
- Converter={StaticResource EnumBooleanConvert}}"
- Style="{DynamicResource RadioButtonStyle}"
- TabIndex="6" />
- <RadioButton x:Name="expressRadio"
- Margin="20,0"
- VerticalAlignment="Center"
- Content="{x:Static resource:Client_Resource.Delivery_TakeGoods_Express}"
- IsChecked="{Binding TakeGoodsWay,
- ConverterParameter=2,
- Converter={StaticResource EnumBooleanConvert}}"
- Style="{DynamicResource RadioButtonStyle}"
- TabIndex="5" />
- </StackPanel>
- <TextBox Grid.Row="2"
- Grid.Column="2"
- Grid.ColumnSpan="2"
- Width="200"
- MaxLength="20"
- Height="25"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="True"
- Text="{Binding RecievePerson}" />
- <TextBlock Grid.Row="2"
- Grid.Column="2"
- Grid.ColumnSpan="2"
- Margin="0,0,40,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- IsEnabled="True"
- Text="*" />
- <TextBox Grid.Row="3"
- Grid.Column="2"
- Grid.ColumnSpan="2"
- Width="200"
- Height="25"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="True"
- MaxLength="11"
- Text="{Binding PhoneNum}" />
-
- <TextBlock Grid.Row="3"
- Grid.Column="2"
- Grid.ColumnSpan="2"
- Margin="0,0,40,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- IsEnabled="True"
- Text="*" />
- <TextBox Grid.Row="4"
- Grid.Column="2"
- Grid.ColumnSpan="2"
- Width="200"
- Height="25"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- IsEnabled="True"
- Text="{Binding IdCardNum}" />
- <TextBlock Grid.Row="4"
- Grid.Column="2"
- Grid.ColumnSpan="2"
- Margin="0,0,40,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- Text="*" />
- <TextBox Grid.Row="5"
- Grid.Column="2"
- Grid.ColumnSpan="3"
- Width="300"
- Height="25"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- MaxLength="128"
- Text="{Binding RecieveAddress}"
- Visibility="{Binding IsChecked,
- ElementName=expressRadio,
- Converter={StaticResource ToVisibilityConverter}}" />
- <TextBlock Grid.Row="5"
- Grid.Column="2"
- Grid.ColumnSpan="3"
- Margin="0,0,65,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Foreground="{StaticResource TextBrush_Common}"
- Text="*"
- Visibility="{Binding IsChecked,
- ElementName=expressRadio,
- Converter={StaticResource ToVisibilityConverter}}" />
- <!-- 提交按钮 -->
- <StackPanel Grid.Row="6"
- Grid.ColumnSpan="6"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Button Width="82"
- Height="26"
- Command="{Binding OKCommand}"
- CommandParameter="{Binding ElementName=RecieveInfoViewWindow}"
- Content="{x:Static resource:Client_Resource.Button_Submit}"
- IsEnabled="{Binding OKButtonEnabled}"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="82"
- Height="26"
- Margin="60,0,0,0"
- Command="{Binding CancelCommand}"
- CommandParameter="{Binding ElementName=RecieveInfoViewWindow}"
- Content="{x:Static resource:Client_Resource.Button_Cancel}"
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- </Grid>
- </Grid>
- </xctk:BusyIndicator>
- </Window>
|