412 lines
12 KiB
XML
412 lines
12 KiB
XML
<UserControl
|
|
x:Class="_29WxOrderWpf.Ctrls.OrderCtrls.OrderTransitListDetailCtrl"
|
|
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:local="clr-namespace:_29WxOrderWpf.Ctrls.OrderCtrls"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:wpf="WPFCommon"
|
|
d:DesignHeight="280"
|
|
d:DesignWidth="1200"
|
|
Background="White"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<Style BasedOn="{StaticResource TitleContentBaseStyle}" TargetType="wpf:TitleContent">
|
|
<Setter Property="Placement" Value="Left" />
|
|
<Setter Property="TitleVerticalAlignment" Value="Center" />
|
|
<Setter Property="LeftTitlePadding" Value="0,0,0,0" />
|
|
</Style>
|
|
<Style TargetType="wpf:SpacingStackPanel">
|
|
<Setter Property="Margin" Value="3,0" />
|
|
</Style>
|
|
</UserControl.Resources>
|
|
<Border
|
|
MinHeight="50"
|
|
Margin="5"
|
|
BorderBrush="#8087CEEB"
|
|
BorderThickness="1"
|
|
CornerRadius="10">
|
|
<Grid Opacity="{Binding Opacity}">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Border Background="#5087CEEB" CornerRadius="8,8,0,0">
|
|
<StackPanel MinHeight="30" Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="10,0,0,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
Text="仓库订单号" />
|
|
<TextBox
|
|
VerticalContentAlignment="Center"
|
|
d:Text="261008-123456789012345"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="DimGray"
|
|
IsReadOnly="True"
|
|
Text="{Binding OrderCode}" />
|
|
<TextBlock
|
|
Margin="10,0,0,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Center"
|
|
d:Text="发货包裹"
|
|
FontWeight="Bold"
|
|
Foreground="{Binding TransitTypeStrColor}"
|
|
Text="{Binding TransitTypeStr}" />
|
|
<TextBox
|
|
VerticalContentAlignment="Center"
|
|
d:Text="ABCDEF1"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="DimGray"
|
|
IsReadOnly="True"
|
|
Text="{Binding SourceCode}" />
|
|
</StackPanel>
|
|
</Border>
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="0.7*" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="0.5*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Border
|
|
Margin="0,10"
|
|
BorderBrush="LightSkyBlue"
|
|
BorderThickness="0,0,1,0">
|
|
<wpf:SpacingStackPanel
|
|
Margin="10,10"
|
|
VerticalAlignment="Center"
|
|
Orientation="Vertical"
|
|
VerticalSpacing="4">
|
|
<wpf:TitleContent Title="交易单号:" Foreground="#FF666666">
|
|
<TextBox
|
|
d:Text="371234567890123456"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="#FF888888"
|
|
IsReadOnly="True"
|
|
Text="{Binding WxOrderId}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="采购账户:" Foreground="#FF666666">
|
|
<WrapPanel>
|
|
<TextBox
|
|
x:Name="txtOutOrderBuyer"
|
|
d:Text="张三"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Cursor="Hand"
|
|
Foreground="#AA0000FF"
|
|
IsReadOnly="True"
|
|
Tag="{Binding OutBuyerId}"
|
|
Text="{Binding OutBuyerName}"
|
|
TextWrapping="Wrap" />
|
|
<Border
|
|
x:Name="borderTransitBuyerRefundStatus"
|
|
Height="auto"
|
|
MinWidth="30"
|
|
Margin="2,0,0,0"
|
|
HorizontalAlignment="Center"
|
|
d:Background="{StaticResource PageOkBrush}"
|
|
d:BorderBrush="{StaticResource PageOkBrush}"
|
|
Background="{Binding TransitDetailRefundStatusBackColor}"
|
|
BorderBrush="{Binding TransitDetailRefundStatusBackColor}"
|
|
BorderThickness="1"
|
|
CornerRadius="2"
|
|
Visibility="{Binding TransitDetailRefundStatusStrVisibility}">
|
|
<TextBlock
|
|
x:Name="txtRefundStatus"
|
|
MinWidth="20"
|
|
Padding="0"
|
|
VerticalAlignment="Center"
|
|
d:Text="退货成功"
|
|
Background="Transparent"
|
|
Foreground="White"
|
|
Text="{Binding TransitDetailRefundStatusStr}" />
|
|
</Border>
|
|
</WrapPanel>
|
|
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="采购单号:" Foreground="#FF666666">
|
|
|
|
<TextBox
|
|
x:Name="txtOutOrderId"
|
|
d:Text="261008-1234567890123456"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Cursor="Hand"
|
|
Foreground="#AA0000FF"
|
|
IsReadOnly="True"
|
|
Text="{Binding OutOrderId}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="下单时间:" Foreground="#FF666666">
|
|
<TextBox
|
|
d:Text="26-10-07 10:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="#FF888888"
|
|
IsReadOnly="True"
|
|
Text="{Binding WxOrderCreateTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="添加时间:" Foreground="#FF666666">
|
|
<TextBox
|
|
d:Text="26-10-07 18:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="#FF888888"
|
|
IsReadOnly="True"
|
|
Text="{Binding TransitAddTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="创建时间:" Foreground="#FF666666">
|
|
<TextBox
|
|
d:Text="26-10-08 00:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="#FF888888"
|
|
IsReadOnly="True"
|
|
Text="{Binding CreateTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<!--<wpf:TitleContent Title="店铺名称:">
|
|
<TextBox
|
|
d:Text="芥麦亚"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding ShopName}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>-->
|
|
</wpf:SpacingStackPanel>
|
|
</Border>
|
|
<Border
|
|
Grid.Column="1"
|
|
Margin="0,10"
|
|
BorderBrush="LightSkyBlue"
|
|
BorderThickness="0,0,1,0"
|
|
Opacity="0.5">
|
|
<wpf:SpacingStackPanel
|
|
Margin="10,10"
|
|
VerticalAlignment="Center"
|
|
Orientation="Vertical"
|
|
VerticalSpacing="4">
|
|
<wpf:TitleContent
|
|
Title="{Binding WarehouseName}"
|
|
d:Title="上海仓"
|
|
FontWeight="Bold">
|
|
<WrapPanel>
|
|
<TextBox
|
|
d:Text="已出仓"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
FontWeight="Normal"
|
|
IsReadOnly="True"
|
|
Text="{Binding WarehouseStatus}"
|
|
TextWrapping="Wrap" />
|
|
</WrapPanel>
|
|
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="入库单号:">
|
|
<TextBox
|
|
d:Text="JTSD-JT12345678901122"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding UpperWaybill}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="出库单号:">
|
|
<TextBox
|
|
d:Text="YD-3111111555555123"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding DownWaybill}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="货架号:">
|
|
<TextBox
|
|
d:Text="EB3021"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding ShelfCodeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="货架记录时间:">
|
|
<TextBox
|
|
d:Text="26-10-08 00:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding ShelfTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
</wpf:SpacingStackPanel>
|
|
</Border>
|
|
<Border
|
|
Grid.Column="2"
|
|
Margin="0,10"
|
|
BorderBrush="LightSkyBlue"
|
|
BorderThickness="0,0,1,0"
|
|
Opacity="0.5">
|
|
<wpf:SpacingStackPanel
|
|
Margin="10,10"
|
|
VerticalAlignment="Center"
|
|
Orientation="Vertical"
|
|
VerticalSpacing="4">
|
|
<wpf:TitleContent Title="作废状态:" FontWeight="Bold">
|
|
<TextBox
|
|
d:Text="已作废"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
FontWeight="Normal"
|
|
IsReadOnly="True"
|
|
Text="{Binding TransitVoidStatus}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="拒收状态:" FontWeight="Bold">
|
|
<TextBox
|
|
d:Text="拒收失败"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
FontWeight="Normal"
|
|
IsReadOnly="True"
|
|
Text="{Binding TransitRejectStatus}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="拦截状态:" FontWeight="Bold">
|
|
<TextBox
|
|
d:Text="已拦截"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
FontWeight="Normal"
|
|
IsReadOnly="True"
|
|
Text="{Binding TransitReturnStatus}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
</wpf:SpacingStackPanel>
|
|
</Border>
|
|
<Border
|
|
Grid.Column="3"
|
|
Margin="0,10"
|
|
BorderBrush="LightSkyBlue"
|
|
BorderThickness="0,0,1,0"
|
|
Opacity="0.5">
|
|
<wpf:SpacingStackPanel
|
|
Margin="10,10"
|
|
VerticalAlignment="Center"
|
|
Orientation="Vertical"
|
|
VerticalSpacing="4">
|
|
<wpf:TitleContent Title="到仓时间:">
|
|
<TextBox
|
|
d:Text="26-10-07 10:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding InboundTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="取号时间:">
|
|
<TextBox
|
|
d:Text="26-10-08 00:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding PickUpTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
<wpf:TitleContent Title="出仓时间:">
|
|
<TextBox
|
|
d:Text="26-10-07 10:33:33"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
IsReadOnly="True"
|
|
Text="{Binding OutboundTimeStr}"
|
|
TextWrapping="Wrap" />
|
|
</wpf:TitleContent>
|
|
</wpf:SpacingStackPanel>
|
|
</Border>
|
|
<Border Grid.Column="4">
|
|
<wpf:SpacingStackPanel
|
|
Grid.Column="8"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Orientation="Vertical"
|
|
VerticalSpacing="5">
|
|
<Button
|
|
x:Name="btnVoidPackage"
|
|
MinWidth="38"
|
|
MinHeight="20"
|
|
Margin="0,0,0,0"
|
|
Padding="2"
|
|
HorizontalAlignment="Center"
|
|
d:Visibility="Visible"
|
|
Click="btnVoidPackage_Click"
|
|
Style="{StaticResource BasePageButtonLightStyle}"
|
|
Visibility="{Binding VoidPackageBtnVisibility}">
|
|
作废包裹
|
|
</Button>
|
|
<Button
|
|
x:Name="btnAddEditTransitWarehouseReject_New"
|
|
MinWidth="38"
|
|
MinHeight="20"
|
|
Margin="0,0,0,0"
|
|
Padding="2"
|
|
HorizontalAlignment="Center"
|
|
d:Visibility="Visible"
|
|
Click="btnAddEditTransitWarehouseReject_Click"
|
|
Style="{StaticResource BasePageButtonLightStyle}"
|
|
Visibility="{Binding RejectPackageBtnVisibility}">
|
|
<!--<TextBlock>
|
|
云仓拒收<LineBreak />
|
|
退回总店</TextBlock>-->
|
|
云仓拒收退回总店
|
|
</Button>
|
|
<Button
|
|
x:Name="btnAddEditTransitWarehouseAfterSale_n1"
|
|
MinWidth="38"
|
|
MinHeight="20"
|
|
Margin="0,0,0,0"
|
|
Padding="2"
|
|
Click="btnAddEditTransitWarehouseAfterSale_Click"
|
|
Style="{StaticResource BasePageButtonLightStyle}"
|
|
Visibility="{Binding ReturnPackageBtnVisibility}">
|
|
拒收失败转寄总店
|
|
</Button>
|
|
<Button
|
|
x:Name="btnAddEditTransitWarehouseAfterSale_n2"
|
|
MinWidth="38"
|
|
MinHeight="20"
|
|
Margin="0,0,0,0"
|
|
Padding="2"
|
|
Click="btnAddEditTransitWarehouseAfterSale_Click"
|
|
Style="{StaticResource BasePageButtonLightStyle}"
|
|
Visibility="{Binding InterceptPackageBtnVisibility}">
|
|
出库拦截退回仓库
|
|
</Button>
|
|
<Button
|
|
x:Name="btnTransitExtraPackages"
|
|
Height="20"
|
|
MinWidth="38"
|
|
Margin="0,0,0,0"
|
|
Padding="2"
|
|
HorizontalAlignment="Center"
|
|
d:Visibility="Visible"
|
|
Click="btnTransitExtraPackages_Click"
|
|
Content="滞留补发买家"
|
|
FontSize="11"
|
|
Style="{StaticResource BasePageButtonLightStyle}"
|
|
Visibility="{Binding ExtraPackagesBtnVisibility}" />
|
|
</wpf:SpacingStackPanel>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</UserControl>
|