|
|
@ -180,12 +180,12 @@ |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=已完成:White:#4A4A4A}" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.已完成}"/> |
|
|
|
<c:BButton Content="已取消" Width="100" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=已取消:#8080FF:#F2F2F2}" |
|
|
|
Background="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=已取消:#8080FF:#F2F2fF2}" |
|
|
|
Foreground="{Binding OrderState,Converter={StaticResource objConverter},ConverterParameter=已取消:White:#4A4A4A}" |
|
|
|
Command="{Binding SetOrderStateCommand}" CommandParameter="{x:Static cmodel:OrderState.已取消}"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Border x:Name="bd_statistics" Grid.RowSpan="3" HorizontalAlignment="Right" Padding="15,0" TextBlock.Foreground="{StaticResource Text.Color}"> |
|
|
|
<!--<Border x:Name="bd_statistics" Grid.RowSpan="3" HorizontalAlignment="Right" Padding="15,0" TextBlock.Foreground="{StaticResource Text.Color}"> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="0.4*"/> |
|
|
@ -297,7 +297,7 @@ |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
</Border> |
|
|
|
</Border>--> |
|
|
|
|
|
|
|
<Border Grid.Row="4" Background="{StaticResource Border.Background}" |
|
|
|
Visibility="{Binding Visibility,ElementName=listbox_order}"> |
|
|
@ -316,7 +316,7 @@ |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="351"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="210"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition/> |
|
|
@ -377,21 +377,13 @@ |
|
|
|
<c:BButton Style="{StaticResource LinkButton}" Content="{Binding SourceSku}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding SourceSku}"/> |
|
|
|
<!--<StackPanel x:Name="txt_consignee" Margin="5,0,0,0" Orientation="Horizontal" VerticalAlignment="Center"> |
|
|
|
<TextBlock Text="收货人:"/> |
|
|
|
<TextBox Text="{Binding Consignee.ContactName}" Foreground="{StaticResource Text.Color}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
<TextBlock Text="联系电话:" Margin="5,0,0,0"/> |
|
|
|
<TextBox Text="{Binding Consignee.Mobile}" Foreground="{StaticResource Text.Color}" |
|
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"/> |
|
|
|
</StackPanel>--> |
|
|
|
</StackPanel> |
|
|
|
<Border VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="350"/> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="210"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition/> |
|
|
@ -510,29 +502,6 @@ |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
<!--<StackPanel Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding IsPurchased,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}"> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="采购方式:"/> |
|
|
|
<Run Text="{Binding OrderPurchaseInfo.PurchaseMethod}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="采购平台:"/> |
|
|
|
<Run Text="{Binding OrderPurchaseInfo.PurchasePlatform}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="采购商家:"/> |
|
|
|
<Run Text="{Binding OrderPurchaseInfo.PurchaserName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="采购账号:"/> |
|
|
|
<Run Text="{Binding OrderPurchaseInfo.PurchaseAccountName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="订单号:"/> |
|
|
|
<Run Text="{Binding OrderPurchaseInfo.PurchaseOrderId}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
<Border x:Name="bd_costbg" Background="#FCECEE" Grid.Column="2" Margin="0,0,1,0" |
|
|
|
Visibility="{Binding IsCostException,ConverterParameter=true:Visible:Collapsed}"/> |
|
|
@ -561,25 +530,6 @@ |
|
|
|
</Path> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<!--<Path Style="{StaticResource path_question}" Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" ToolTipService.InitialShowDelay="0"> |
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<ListBox ItemsSource="{Binding OrderCouponList}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" Foreground="{StaticResource Text.Color}"> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="{Binding CouponType}"/> |
|
|
|
<Run Text="{Binding CouponPrice,StringFormat=¥{0}}"/> |
|
|
|
</TextBlock> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
</ToolTip> |
|
|
|
</Path.ToolTip> |
|
|
|
</Path> |
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
<StackPanel x:Name="sp_purchaseAmount" Orientation="Horizontal"> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="采购成本"/> |
|
|
@ -627,11 +577,11 @@ |
|
|
|
|
|
|
|
<Grid x:Name="sp_store" Grid.Column="4"> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
<!--<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding WaybillNo,ConverterParameter=#null:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<TextBlock Text="{Binding ExpressName}" TextWrapping="Wrap"/> |
|
|
|
<!--{Binding ExpressName}--> |
|
|
|
<!--{Binding WaybillNo}--> |
|
|
|
--><!--{Binding ExpressName}--> |
|
|
|
<!--{Binding WaybillNo}--><!-- |
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Style="{StaticResource LinkButton}" |
|
|
@ -639,8 +589,28 @@ |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding WaybillNo}" |
|
|
|
Margin="10,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
<ListBox ItemsSource="{Binding OrderPurchaseInfoList}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}"> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding WaybillNo,ConverterParameter=#null:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="物流状态:" Foreground="Black"/> |
|
|
|
<Run Text="待对接" Foreground="{StaticResource Text.Link.Color}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,0,0,0"> |
|
|
|
<Run Text="{Binding SourceExpressName,StringFormat=\{0\}:}" Foreground="Black"/> |
|
|
|
<Run Text="{Binding WaybillNo}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock> |
|
|
@ -671,8 +641,7 @@ |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<StackPanel Orientation="Vertical" Grid.Column="5" Margin="5,5,5,0"> |
|
|
|
<StackPanel x:Name="sp_buyerRemark" |
|
|
|
Visibility="{Binding BuyerRemark,ConverterParameter=#null:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<StackPanel Visibility="{Binding BuyerRemark,ConverterParameter=#null:Collapsed:Visible,Converter={StaticResource objConverter}}"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="买家备注"/> |
|
|
|
<c:BButton Content="复制" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
@ -682,17 +651,16 @@ |
|
|
|
<TextBlock Text="{Binding BuyerRemark}" TextWrapping="Wrap"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<!--<StackPanel x:Name="sp_venderRemark" Margin="0,5,0,0"> |
|
|
|
<StackPanel Visibility="{Binding PurchaseRemark,ConverterParameter=#null:Collapsed:Visible,Converter={StaticResource objConverter}}" |
|
|
|
Margin="0,10,0,0"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="商家备注"/> |
|
|
|
<c:BButton x:Name="btn_copyVenderRemark" Content="复制" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
<TextBlock Text="采购备注"/> |
|
|
|
<c:BButton Content="复制" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding VenderRemark}"/> |
|
|
|
<c:BButton Content="修改" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding DataContext.EditVenderRemarkCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
CommandParameter="{Binding }"/> |
|
|
|
CommandParameter="{Binding PurchaseRemark}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="{Binding PurchaseRemark}" TextWrapping="Wrap"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel>--> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Border Grid.Row="1" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|