|
@ -320,7 +320,7 @@ |
|
|
<Grid> |
|
|
<Grid> |
|
|
<Grid.ColumnDefinitions> |
|
|
<Grid.ColumnDefinitions> |
|
|
<ColumnDefinition Width="351"/> |
|
|
<ColumnDefinition Width="351"/> |
|
|
<ColumnDefinition Width="80"/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
@ -383,7 +383,7 @@ |
|
|
<Grid Grid.Row="1"> |
|
|
<Grid Grid.Row="1"> |
|
|
<Grid.ColumnDefinitions> |
|
|
<Grid.ColumnDefinitions> |
|
|
<ColumnDefinition Width="350"/> |
|
|
<ColumnDefinition Width="350"/> |
|
|
<ColumnDefinition Width="80"/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
|
<ColumnDefinition/> |
|
@ -454,12 +454,39 @@ |
|
|
</ListBox.ItemTemplate> |
|
|
</ListBox.ItemTemplate> |
|
|
</ListBox> |
|
|
</ListBox> |
|
|
|
|
|
|
|
|
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Right"/> |
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="1" HorizontalAlignment="Right"/> |
|
|
<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="2" HorizontalAlignment="Right"/> |
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="3" 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="4" HorizontalAlignment="Right"/> |
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="5" HorizontalAlignment="Right"/> |
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" Grid.Column="5" HorizontalAlignment="Right"/> |
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Content="采购" Grid.Column="1" Width="100" |
|
|
|
|
|
Visibility="{Binding IsPurchased,ConverterParameter=false:Visible:Collapsed,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<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" |
|
|
<Border x:Name="bd_costbg" Background="#FCECEE" Grid.Column="2" Margin="0,0,1,0" |
|
|
Visibility="{Binding IsCostException,ConverterParameter=true:Visible:Collapsed}"/> |
|
|
Visibility="{Binding IsCostException,ConverterParameter=true:Visible:Collapsed}"/> |
|
|
<StackPanel Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,10"> |
|
|
<StackPanel Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,10"> |
|
@ -491,7 +518,7 @@ |
|
|
<Run Text="实付金额"/> |
|
|
<Run Text="实付金额"/> |
|
|
<Run Text="{Binding OrderPayment,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
<Run Text="{Binding OrderPayment,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
</TextBlock> |
|
|
</TextBlock> |
|
|
|
|
|
|
|
|
<StackPanel x:Name="sp_orderCoupon" Orientation="Horizontal"> |
|
|
<StackPanel x:Name="sp_orderCoupon" Orientation="Horizontal"> |
|
|
<TextBlock> |
|
|
<TextBlock> |
|
|
<Run Text="优惠金额"/> |
|
|
<Run Text="优惠金额"/> |
|
@ -522,175 +549,6 @@ |
|
|
<Run Text="采购成本"/> |
|
|
<Run Text="采购成本"/> |
|
|
<Run Text="{Binding OrderCost.PurchaseAmount}"/> |
|
|
<Run Text="{Binding OrderCost.PurchaseAmount}"/> |
|
|
</TextBlock> |
|
|
</TextBlock> |
|
|
|
|
|
|
|
|
<Path x:Name="path_purchaseAmount_question" |
|
|
|
|
|
Style="{StaticResource path_question}" |
|
|
|
|
|
Width="14" Margin="5,0,0,0" Fill="{StaticResource Text.Pink}" |
|
|
|
|
|
ToolTipService.InitialShowDelay="0" |
|
|
|
|
|
ToolTipService.ShowDuration="20000"> |
|
|
|
|
|
<Path.ToolTip> |
|
|
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
|
|
<Grid> |
|
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
<TextBlock x:Name="txt_isManualed" Text="该订单成本经过手动编辑" |
|
|
|
|
|
Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Foreground="Red" |
|
|
|
|
|
Visibility="{Binding OrderCost.IsManualEdited,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}"/> |
|
|
|
|
|
<ListBox Grid.Row="1" |
|
|
|
|
|
ItemsSource="{Binding OrderCostDetailGroupList}" |
|
|
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
|
|
Foreground="{StaticResource Text.Color}"> |
|
|
|
|
|
<ListBox.ItemTemplate> |
|
|
|
|
|
<DataTemplate> |
|
|
|
|
|
<Grid> |
|
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
|
<RowDefinition Height="20"/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
<TextBlock Text="{Binding SkuId,StringFormat=SKU {0}}" VerticalAlignment="Center"/> |
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Row="1"> |
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
|
<RowDefinition Height="25"/> |
|
|
|
|
|
<RowDefinition Height="25"/> |
|
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.RowSpan="2"> |
|
|
|
|
|
<TextBlock Text="库存流水" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="1" Grid.ColumnSpan="2"> |
|
|
|
|
|
<TextBlock Text="商品成本" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="3" Grid.ColumnSpan="6"> |
|
|
|
|
|
<TextBlock Text="期间成本" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="9" Grid.RowSpan="2"> |
|
|
|
|
|
<TextBlock Text="小计成本" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="10" Grid.RowSpan="2"> |
|
|
|
|
|
<TextBlock Text="扣减时间" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="1" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="货款成本" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="2" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="采购运费" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="3" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="头程费" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="4" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="打包耗材" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="5" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="快递费" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="6" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="入库操作" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="7" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="出库操作" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Column="8" Grid.Row="1"> |
|
|
|
|
|
<TextBlock Text="仓储费" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<Border Grid.RowSpan="2" Grid.ColumnSpan="11" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.RowSpan="2" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="1" Grid.Row="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="2" Grid.RowSpan="2" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="3" Grid.Row="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="4" Grid.Row="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="5" Grid.Row="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="7" Grid.Row="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="8" Grid.RowSpan="2" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Grid.Column="9" Grid.RowSpan="2" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Height="1" VerticalAlignment="Bottom" Grid.Column="1" Grid.ColumnSpan="8" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
<ListBox Grid.Row="2" |
|
|
|
|
|
BorderBrush="{StaticResource Border.Brush}" |
|
|
|
|
|
BorderThickness="1,0,1,0" |
|
|
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" |
|
|
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
|
|
ItemsSource="{Binding Items}"> |
|
|
|
|
|
<ListBox.ItemTemplate> |
|
|
|
|
|
<DataTemplate> |
|
|
|
|
|
<Grid Height="25"> |
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<TextBlock Text="{Binding PurchaseOrderPKId}" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
<TextBlock Text="{Binding SkuAmount}" Grid.Column="1" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding SkuAmount,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding PurchaseFreight}" Grid.Column="2" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding PurchaseFreight,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding FirstFreight}" Grid.Column="3" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding FirstFreight,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding ConsumableAmount}" Grid.Column="4" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding ConsumableAmount,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding DeliveryExpressFreight}" Grid.Column="5" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding DeliveryExpressFreight,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding InStorageAmount}" Grid.Column="6" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding InStorageAmount,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding OutStorageAmount}" Grid.Column="7" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding OutStorageAmount,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding StorageAmount}" Grid.Column="8" Style="{StaticResource middleTextBlock}" |
|
|
|
|
|
Visibility="{Binding StorageAmount,ConverterParameter=0|0.0|0.00:Collapsed:Visible,Converter={StaticResource objConverter}}"/> |
|
|
|
|
|
<TextBlock Text="{Binding TotalCost2,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}" Grid.Column="9" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
<TextBlock Text="{Binding CreateTime,StringFormat=yyyy-MM-dd}" Grid.Column="10" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
<Border Grid.Column="1" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="2" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="3" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="4" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="5" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="6" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="7" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="8" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Grid.Column="9" Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Margin="0,0,-1,0"/> |
|
|
|
|
|
<Border Height="1" VerticalAlignment="Bottom" Grid.ColumnSpan="11" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
</DataTemplate> |
|
|
|
|
|
</ListBox.ItemTemplate> |
|
|
|
|
|
</ListBox> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
</DataTemplate> |
|
|
|
|
|
</ListBox.ItemTemplate> |
|
|
|
|
|
</ListBox> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
</ToolTip> |
|
|
|
|
|
</Path.ToolTip> |
|
|
|
|
|
</Path> |
|
|
|
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
<TextBlock> |
|
|
<TextBlock> |
|
@ -739,18 +597,14 @@ |
|
|
|
|
|
|
|
|
<Grid x:Name="sp_store" Grid.Column="4"> |
|
|
<Grid x:Name="sp_store" Grid.Column="4"> |
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
<TextBlock x:Name="txt_storeName" |
|
|
<TextBlock |
|
|
Text="{Binding ExpressName}" |
|
|
Text="{Binding ExpressName}" |
|
|
TextWrapping="Wrap" |
|
|
TextWrapping="Wrap" |
|
|
HorizontalAlignment="Center" |
|
|
HorizontalAlignment="Center"/> |
|
|
Visibility="{Binding ExpressName,Converter={StaticResource objConverter},ConverterParameter=#null|0:Collapsed:Visible}"/> |
|
|
<c:BButton Style="{StaticResource LinkButton}" |
|
|
<StackPanel x:Name="sp_waybill" Orientation="Horizontal"> |
|
|
Content="{Binding WaybillNo}" |
|
|
<TextBlock Text="{Binding WaybillNo}"/> |
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
<c:BButton x:Name="btn_waybillCopy" Style="{StaticResource LinkButton}" |
|
|
CommandParameter="{Binding WaybillNo}"/> |
|
|
Content="复制" |
|
|
|
|
|
Command="{Binding DataContext.CopyOrderWaybillCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}}}" |
|
|
|
|
|
CommandParameter="{Binding }" Margin="5,0,0,0"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
<c:BButton x:Name="btn_outStore" Content="出库" VerticalAlignment="Bottom" |
|
|
<c:BButton x:Name="btn_outStore" Content="出库" VerticalAlignment="Bottom" |
|
|
Foreground="{StaticResource Text.Color}" |
|
|
Foreground="{StaticResource Text.Color}" |
|
@ -792,9 +646,6 @@ |
|
|
<Border Grid.Row="1" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
<Border Grid.Row="1" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
</Grid> |
|
|
</Grid> |
|
|
<DataTemplate.Triggers> |
|
|
<DataTemplate.Triggers> |
|
|
<DataTrigger Binding="{Binding WaybillNo}" Value=""> |
|
|
|
|
|
<Setter TargetName="sp_waybill" Property="Visibility" Value="Collapsed"/> |
|
|
|
|
|
</DataTrigger> |
|
|
|
|
|
<DataTrigger Binding="{Binding BuyerRemark}" Value=""> |
|
|
<DataTrigger Binding="{Binding BuyerRemark}" Value=""> |
|
|
<Setter TargetName="sp_buyerRemark" Property="Visibility" Value="Collapsed"/> |
|
|
<Setter TargetName="sp_buyerRemark" Property="Visibility" Value="Collapsed"/> |
|
|
</DataTrigger> |
|
|
</DataTrigger> |
|
@ -804,9 +655,6 @@ |
|
|
<DataTrigger Binding="{Binding PreferentialAmount}" Value="0"> |
|
|
<DataTrigger Binding="{Binding PreferentialAmount}" Value="0"> |
|
|
<Setter TargetName="sp_orderCoupon" Property="Visibility" Value="Collapsed"/> |
|
|
<Setter TargetName="sp_orderCoupon" Property="Visibility" Value="Collapsed"/> |
|
|
</DataTrigger> |
|
|
</DataTrigger> |
|
|
<DataTrigger Binding="{Binding OrderCost.PurchaseAmount}" Value="0"> |
|
|
|
|
|
<Setter TargetName="path_purchaseAmount_question" Property="Visibility" Value="Collapsed"/> |
|
|
|
|
|
</DataTrigger> |
|
|
|
|
|
<DataTrigger Binding="{Binding OrderState}" Value="已取消"> |
|
|
<DataTrigger Binding="{Binding OrderState}" Value="已取消"> |
|
|
<Setter TargetName="btn_orderState" Property="Background" Value="#EC808D"/> |
|
|
<Setter TargetName="btn_orderState" Property="Background" Value="#EC808D"/> |
|
|
</DataTrigger> |
|
|
</DataTrigger> |
|
|