|
|
@ -438,9 +438,9 @@ |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="SKU:"/> |
|
|
|
<c:BButton Content="{Binding Id}" Style="{StaticResource LinkButton}" |
|
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding Id}" |
|
|
|
CommandParameter="{Binding SkuId}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
@ -454,15 +454,15 @@ |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
|
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="1" HorizontalAlignment="Right"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="2" HorizontalAlignment="Right"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="3" HorizontalAlignment="Right"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="4" HorizontalAlignment="Right"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="5" HorizontalAlignment="Right"/> |
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="6" HorizontalAlignment="Right"/> |
|
|
|
|
|
|
|
<Border x:Name="bd_costbg" Background="#FCECEE" Grid.Column="3" |
|
|
|
Visibility="{Binding IsCostException,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}" Margin="0,0,1,0"/> |
|
|
|
<StackPanel Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,10"> |
|
|
|
<Border x:Name="bd_costbg" Background="#FCECEE" Grid.Column="2" Margin="0,0,1,0" |
|
|
|
Visibility="{Binding IsCostException,ConverterParameter=true:Visible:Collapsed}"/> |
|
|
|
<StackPanel Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,10"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="实收金额"/> |
|
|
@ -704,19 +704,18 @@ |
|
|
|
<Run Text="{Binding OrderCost.TotalCost,Mode=OneWay}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Column="3" VerticalAlignment="Bottom" Margin="0,0,0,23" |
|
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Column="2" VerticalAlignment="Bottom" Margin="0,0,0,23" |
|
|
|
Visibility="{Binding Visibility,ElementName=btn_editCost}"/> |
|
|
|
<c:BButton x:Name="btn_editCost" Content="修改" Grid.Column="3" VerticalAlignment="Bottom" |
|
|
|
Foreground="{StaticResource Text.Color}" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
Background="White" |
|
|
|
Margin="0,0,1,0" |
|
|
|
Command="{Binding DataContext.EditCostCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding }" |
|
|
|
Visibility="{Binding StorageType,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
Height="23"/> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<c:BButton x:Name="btn_editCost" Content="修改" Grid.Column="2" VerticalAlignment="Bottom" |
|
|
|
Foreground="{StaticResource Text.Color}" |
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
Background="White" |
|
|
|
Margin="0,0,1,0" |
|
|
|
Command="{Binding DataContext.EditCostCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding }" |
|
|
|
Height="23"/> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="毛利"/> |
|
|
|
<Run Text="{Binding OrderCost.Profit}"/> |
|
|
@ -734,23 +733,19 @@ |
|
|
|
</TextBlock> |
|
|
|
<TextBlock> |
|
|
|
<Run Text="成本毛利率"/> |
|
|
|
<Run Text="{Binding OrderCost.ProfitRatio,StringFormat=\{0\}%}"/> |
|
|
|
<Run Text="{Binding OrderCost.ProfitRatio,Mode=OneWay,StringFormat=\{0\}%}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Border Background="{StaticResource Border.Background}" Margin="0,0,1,0" |
|
|
|
Grid.Column="4" |
|
|
|
Visibility="{Binding DataContext.IsSDGroup,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type UserControl}},ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
|
|
<Grid x:Name="sp_store" Grid.Column="5"> |
|
|
|
<Grid x:Name="sp_store" Grid.Column="4"> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock x:Name="txt_storeName" |
|
|
|
Text="{Binding StoreName}" |
|
|
|
Text="{Binding ExpressName}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding StoreName,Converter={StaticResource objConverter},ConverterParameter=#null|0:Collapsed:Visible}"/> |
|
|
|
Visibility="{Binding ExpressName,Converter={StaticResource objConverter},ConverterParameter=#null|0:Collapsed:Visible}"/> |
|
|
|
<StackPanel x:Name="sp_waybill" Orientation="Horizontal"> |
|
|
|
<TextBlock Text="{Binding WaybillNo,Converter={StaticResource waybillConverter}}"/> |
|
|
|
<TextBlock Text="{Binding WaybillNo}"/> |
|
|
|
<c:BButton x:Name="btn_waybillCopy" Style="{StaticResource LinkButton}" |
|
|
|
Content="复制" |
|
|
|
Command="{Binding DataContext.CopyOrderWaybillCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
@ -770,7 +765,7 @@ |
|
|
|
Visibility="{Binding Visibility,ElementName=btn_outStore}"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<StackPanel Orientation="Vertical" Grid.Column="6" Margin="5,5,5,0"> |
|
|
|
<StackPanel Orientation="Vertical" Grid.Column="5" Margin="5,5,5,0"> |
|
|
|
<StackPanel x:Name="sp_buyerRemark"> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="买家备注"/> |
|
|
|