You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
484 lines
35 KiB
484 lines
35 KiB
<c:BWindow x:Class="BBWY.Client.Views.QualityTask.QualityWindow"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
|
CloseButtonVisibility="Visible"
|
|
CloseButtonColor="{StaticResource WindowButtonColor}"
|
|
DataContext="{Binding QualityTask,Source={StaticResource Locator}}"
|
|
MinButtonVisibility="Collapsed"
|
|
MaxButtonVisibility="Collapsed"
|
|
RightButtonGroupMargin="0,5,5,0"
|
|
Height="666" Width="1200">
|
|
<Window.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
|
|
</Window.Resources>
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition/>
|
|
<RowDefinition Height="40"/>
|
|
</Grid.RowDefinitions>
|
|
<c:RoundWaitProgress Play="{Binding IsLoading}" Panel.ZIndex="999"/>
|
|
<Grid Background="{StaticResource Border.Background}">
|
|
<TextBlock Text="质检任务信息" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Grid>
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="190"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid Grid.Column="0">
|
|
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
|
|
|
<c:BAsyncImage UrlSource="{Binding Logo}"
|
|
Width="150" Height="150"
|
|
VerticalAlignment="Top" Margin="0 10 0 0"
|
|
Cursor="Hand">
|
|
<b:Interaction.Triggers>
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown">
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Window}}}">
|
|
<b:InvokeCommandAction.CommandParameter>
|
|
<MultiBinding Converter="{StaticResource mptConverter}">
|
|
<Binding Path="SkuId"/>
|
|
</MultiBinding>
|
|
</b:InvokeCommandAction.CommandParameter>
|
|
</b:InvokeCommandAction>
|
|
</b:EventTrigger>
|
|
</b:Interaction.Triggers>
|
|
</c:BAsyncImage>
|
|
|
|
|
|
<StackPanel Orientation="Vertical" Width="170">
|
|
|
|
<TextBlock Margin="10 10 0 0" TextTrimming="CharacterEllipsis">
|
|
<TextBlock.ToolTip>
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}">
|
|
<TextBlock Text="{Binding SkuId}"/>
|
|
</ToolTip>
|
|
</TextBlock.ToolTip>
|
|
<Run Text="SKU:"/>
|
|
<Run Text="{Binding SkuId}"/>
|
|
</TextBlock >
|
|
<TextBlock Margin="10 10 10 10" TextTrimming="CharacterEllipsis">
|
|
<TextBlock.ToolTip>
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}">
|
|
<TextBlock Text="{Binding SkuName}"/>
|
|
</ToolTip>
|
|
</TextBlock.ToolTip>
|
|
<Run Text="名称:"/>
|
|
<Run Text="{Binding SkuName}"/>
|
|
</TextBlock >
|
|
<TextBlock Margin="10 0 10 10">
|
|
<Run Text="货号:"/>
|
|
<Run Text="{Binding ProductNo}"/>
|
|
</TextBlock>
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="10 0 0 10" Height="30">
|
|
<TextBlock Text="品名:" VerticalAlignment="Center"/>
|
|
<c:BTextBox Text="{Binding BrandName}" Height="30" Width="120" WaterRemark="请输入品名"/>
|
|
|
|
</StackPanel>
|
|
<StackPanel Margin="10 0 0 10" Orientation="Horizontal">
|
|
<TextBlock Text="条形码:"/>
|
|
<c:BButton Content="待设置" Style="{StaticResource LinkButton}" Width="35" Height="15" Command="{Binding SetBarCodeCommand}"
|
|
Visibility="{Binding IsSetBarCode, Converter={StaticResource objConverter}, ConverterParameter=true:Visible:Collapsed }"
|
|
/>
|
|
<StackPanel Visibility="{Binding IsSetBarCode, Converter={StaticResource objConverter}, ConverterParameter=false:Visible:Collapsed }" Orientation="Horizontal" HorizontalAlignment="Center" >
|
|
<c:BButton Content="查看" Style="{StaticResource LinkButton}" Width="35" Height="15" Command="{Binding LookBarCommand}"/>
|
|
<c:BButton Content="修改" Style="{StaticResource LinkButton}" Width="35" Height="15" Command="{Binding SetBarCodeCommand}"/>
|
|
</StackPanel >
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
<Grid Grid.Column="1">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock Text="任务信息" Margin="20 10" FontSize="13" FontWeight="Bold" HorizontalAlignment="Left" />
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="520"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Orientation="Vertical" Margin="20 10 " HorizontalAlignment="Left">
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
<TextBlock VerticalAlignment="Center">
|
|
<Run Text="采购数量:"/>
|
|
<Run Text="{Binding SkuCount}"/>
|
|
</TextBlock>
|
|
<UniformGrid Columns="2" Margin="30 0 0 0">
|
|
<TextBlock Text="到货数量: " VerticalAlignment="Center"/>
|
|
<c:BTextBox WaterRemark="数量" Text="{Binding ArrivalQuantity}" Height="30"/>
|
|
</UniformGrid>
|
|
<UniformGrid Columns="2" Margin="30 0 0 0">
|
|
<TextBlock Text="良品数量: " VerticalAlignment="Center"/>
|
|
<c:BTextBox WaterRemark="数量" Text="{Binding GoodProductQuantity}" Height="30"/>
|
|
</UniformGrid>
|
|
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0 30 0 0" >
|
|
<TextBlock VerticalAlignment="Center" Visibility="{Binding WareHourseCount,Mode=TwoWay,Converter={StaticResource objConverter}, ConverterParameter=0:Collapsed:Visible}" >
|
|
<Run Text="份数:"/>
|
|
<Run Text="{Binding WareHourseCount,Mode=TwoWay}"/>
|
|
</TextBlock>
|
|
<StackPanel Orientation="Horizontal" Margin="10 0 0 0" Height="30">
|
|
<TextBlock Text="预计完成时间: " VerticalAlignment="Center" />
|
|
<Border BorderBrush="{StaticResource Border.Brush}" Height="30" BorderThickness="1">
|
|
<ComboBox BorderThickness="0" ItemsSource="{Binding PreCompeteTimeDayList,Mode=TwoWay}" SelectedIndex="0" Text="{Binding PreCompeteTimeDay,Mode=TwoWay}">
|
|
|
|
</ComboBox>
|
|
</Border>
|
|
<Border BorderBrush="{StaticResource Border.Brush}" Height="30" Margin="10 0 0 0" BorderThickness="1">
|
|
<hc:ComboBox BorderThickness="0" ItemsSource="{Binding PreCompeteTimeHourList}" SelectedIndex="0" Text="{Binding PreCompeteTimeHour}">
|
|
|
|
</hc:ComboBox>
|
|
</Border>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="摆放地托编号:" Margin="10 0 0 0"/>
|
|
<Border BorderBrush="{StaticResource Border.Brush}" Height="30" BorderThickness="1">
|
|
<hc:ComboBox Width="80" BorderThickness="0" ItemsSource="{Binding FloorDragNumberList}" SelectedIndex="0" Text="{Binding FloorDragNumber}">
|
|
|
|
</hc:ComboBox>
|
|
</Border>
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<c:BTextBox WaterRemark="打包备注" Text="{Binding MarkMessage,Mode=TwoWay}" Grid.Column="1" Margin="0 5 10 5" Height="80"/>
|
|
</Grid>
|
|
|
|
<ListBox Grid.Row="2" Grid.ColumnSpan="2"
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}"
|
|
BorderThickness="1,1,0,1"
|
|
BorderBrush="{StaticResource Border.Brush}"
|
|
ItemsSource="{Binding WareHourseList}"
|
|
Width="Auto"
|
|
Margin="20,0,0,10"
|
|
HorizontalAlignment="Left"
|
|
>
|
|
<ListBox.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<StackPanel Orientation="Horizontal"/>
|
|
</ItemsPanelTemplate>
|
|
</ListBox.ItemsPanel>
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Grid Width="auto" Height="90">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="{Binding Index,StringFormat=第\{0\}份}" Style="{StaticResource middleTextBlock}"/>
|
|
<TextBlock Grid.Row="1" Text="{Binding Count}" Style="{StaticResource middleTextBlock}"/>
|
|
<TextBlock Grid.Row="2" Style="{StaticResource middleTextBlock}" Margin="5 0 5 0 ">
|
|
<Run Text="{Binding WareName}"/>
|
|
|
|
</TextBlock>
|
|
<Border Width="1" Grid.RowSpan="3" HorizontalAlignment="Right"
|
|
Background="{StaticResource Border.Brush}"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}"
|
|
VerticalAlignment="Bottom"/>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}"
|
|
VerticalAlignment="Bottom" Grid.Row="1"/>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
|
|
|
|
|
|
|
<TextBlock Text="配件商品信息" Margin="20 10 0 10" FontSize="13" FontWeight="Bold" VerticalAlignment="Top" HorizontalAlignment="Left" />
|
|
<Grid >
|
|
<ListBox x:Name="listbox_order" HorizontalAlignment="Left"
|
|
Height="155" Width="900" Margin="0" ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}"
|
|
ItemsSource="{Binding PurchaseSkuList,Mode=TwoWay}"
|
|
BorderBrush="{StaticResource Border.Brush}"
|
|
BorderThickness="0" Visibility="{Binding SkuPurchaseSchemeId,Mode=TwoWay,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}"
|
|
Foreground="{StaticResource Text.Color}">
|
|
<ListBox.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<StackPanel Orientation="Horizontal" IsItemsHost="True"/>
|
|
</ItemsPanelTemplate>
|
|
</ListBox.ItemsPanel>
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Grid
|
|
MinHeight="100">
|
|
<StackPanel Orientation="Horizontal" Height="150">
|
|
<c:BAsyncImage UrlSource="{Binding Logo}" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1"
|
|
Height="150" Width="150" Stretch="Fill"
|
|
VerticalAlignment="Top" Margin="20 0 0 0"
|
|
Cursor="Hand">
|
|
</c:BAsyncImage>
|
|
<DockPanel VerticalAlignment="Top" Width="190" Height="150">
|
|
|
|
<TextBlock Margin="10 10 0 0" DockPanel.Dock="Top" TextTrimming="CharacterEllipsis">
|
|
<TextBlock.ToolTip>
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}">
|
|
<TextBlock Text="{Binding PurchaseSkuId}"/>
|
|
</ToolTip>
|
|
</TextBlock.ToolTip>
|
|
<Run Text="配件商品ID:"/>
|
|
<Run Text="{Binding PurchaseSkuId}"/>
|
|
</TextBlock >
|
|
<TextBlock Margin="10 10 0 10" DockPanel.Dock="Top" TextTrimming="CharacterEllipsis">
|
|
<TextBlock.ToolTip>
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}">
|
|
<TextBlock Text="{Binding Title}"/>
|
|
</ToolTip>
|
|
</TextBlock.ToolTip>
|
|
<Run Text="SKU名称:"/>
|
|
<Run Text="{Binding Title}"/>
|
|
</TextBlock >
|
|
|
|
|
|
<StackPanel Margin="10 0 0 0" Height="25" VerticalAlignment="Bottom" DockPanel.Dock="Bottom" Orientation="Horizontal">
|
|
<TextBlock Text="合格证:" VerticalAlignment="Center"/>
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
Visibility="{Binding IsNeedCer, Converter={StaticResource objConverter}, ConverterParameter=true:Visible:Collapsed }">
|
|
<!--Content="{Binding CerDTO,Converter={StaticResource objConverter},ConverterParameter=#null:待设置:待确认}"-->
|
|
<c:BButton Content="待确认" Style="{StaticResource LinkButton}" Width="35" Height="15"
|
|
Command="{Binding DataContext. SetCertificateCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
|
|
CommandParameter="{Binding }"
|
|
Visibility="{Binding IsSetCertificate, Converter={StaticResource objConverter}, ConverterParameter=true:Visible:Collapsed }"/>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
|
Visibility="{Binding IsSetCertificate, Converter={StaticResource objConverter}, ConverterParameter=false:Visible:Collapsed }">
|
|
<c:BButton Content="查看" Style="{StaticResource LinkButton}" Width="35" Height="15"
|
|
CommandParameter="{Binding CerDTO}"
|
|
Command="{Binding DataContext. LookCerCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"/>
|
|
<c:BButton Content="修改" Style="{StaticResource LinkButton}" Width="35" Height="15" CommandParameter="{Binding }"
|
|
Command="{Binding DataContext.SetCertificateCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
|
|
/>
|
|
</StackPanel >
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
Visibility="{Binding IsNeedCer, Converter={StaticResource objConverter}, ConverterParameter=true:Collapsed:Visible }">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" >
|
|
<!--Visibility="{Binding IsSetCertificate, Converter={StaticResource objConverter}, ConverterParameter=false:Visible:Collapsed }"-->
|
|
<TextBlock Text="无需合格证" Height="15" Margin="5 0 0 0"
|
|
/>
|
|
<c:BButton Content="修改" Style="{StaticResource LinkButton}" Width="35" Height="15" CommandParameter="{Binding }"
|
|
Command="{Binding DataContext.SetCertificateCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
|
|
/>
|
|
</StackPanel >
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</DockPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
|
|
<ListBox HorizontalAlignment="Left"
|
|
Height="155" Width="900" Margin="0" ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}"
|
|
ItemsSource="{Binding PurchaseSkuList,Mode=TwoWay}"
|
|
BorderBrush="{StaticResource Border.Brush}"
|
|
BorderThickness="0" Visibility="{Binding SkuPurchaseSchemeId,Mode=TwoWay,Converter={StaticResource objConverter},ConverterParameter=#null:Visible:Collapsed}"
|
|
Foreground="{StaticResource Text.Color}">
|
|
<ListBox.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<StackPanel Orientation="Horizontal" IsItemsHost="True"/>
|
|
</ItemsPanelTemplate>
|
|
</ListBox.ItemsPanel>
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Grid
|
|
MinHeight="100">
|
|
<StackPanel Orientation="Horizontal" Height="150">
|
|
<Border Margin="20 0 0 0" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="150" Width="150">
|
|
<StackPanel Orientation="Vertical">
|
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="30 " Margin="10 50 10 30">
|
|
<TextBlock Text="{Binding CerDTO.GoodsNumberIndex,StringFormat=配件{0}}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
</Border>
|
|
|
|
<StackPanel Margin="10 0 0 0" Height="25" VerticalAlignment="Bottom" Orientation="Horizontal">
|
|
<TextBlock Text="合格证: " VerticalAlignment="Center"/>
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
Visibility="{Binding IsNeedCer, Converter={StaticResource objConverter}, ConverterParameter=true:Visible:Collapsed }">
|
|
|
|
<c:BButton Content="待确认" Style="{StaticResource LinkButton}" Width="35" Height="15"
|
|
Command="{Binding DataContext. SetCertificateCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
|
|
CommandParameter="{Binding }"
|
|
Visibility="{Binding IsSetCertificate, Converter={StaticResource objConverter}, ConverterParameter=true:Visible:Collapsed }"/>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
|
Visibility="{Binding IsSetCertificate, Converter={StaticResource objConverter}, ConverterParameter=false:Visible:Collapsed }">
|
|
<c:BButton Content="查看" Style="{StaticResource LinkButton}" Width="35" Height="15"
|
|
CommandParameter="{Binding CerDTO}"
|
|
Command="{Binding DataContext. LookCerCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"/>
|
|
<c:BButton Content="修改" Style="{StaticResource LinkButton}" Width="35" Height="15" CommandParameter="{Binding }"
|
|
Command="{Binding DataContext.SetCertificateCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
|
|
/>
|
|
</StackPanel >
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
Visibility="{Binding IsNeedCer, Converter={StaticResource objConverter}, ConverterParameter=true:Collapsed:Visible }">
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
|
>
|
|
<TextBlock Text="无需合格证" Height="15" Margin="5 0 0 0"
|
|
/>
|
|
<!--<c:BButton Content="无需合格证" Style="{StaticResource LinkButton}" Height="15" Margin="5 0 0 0"
|
|
CommandParameter="{Binding PurchaseSkuId}"
|
|
Command="{Binding DataContext. LookCerCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"/>-->
|
|
<c:BButton Content="修改" Style="{StaticResource LinkButton}" Width="35" Height="15" CommandParameter="{Binding }"
|
|
Command="{Binding DataContext.SetCertificateCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
|
|
/>
|
|
</StackPanel >
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
</Grid>
|
|
|
|
<TextBlock Text="打包配置" FontWeight="Bold" FontSize="13" Margin="20 23 0 0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
|
|
<Grid Height="70" Margin="20 20 20 0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="77"/>
|
|
<ColumnDefinition Width="77"/>
|
|
<ColumnDefinition MinWidth="77"/>
|
|
<ColumnDefinition Width="90"/>
|
|
<ColumnDefinition Width="140"/>
|
|
<ColumnDefinition Width="86"/>
|
|
<ColumnDefinition Width="0" />
|
|
<ColumnDefinition Width="100"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="35"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" Grid.ColumnSpan="8" VerticalAlignment="Top" Height="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.Row="0" Grid.ColumnSpan="8" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.Row="1" Grid.ColumnSpan="8" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/>
|
|
|
|
<Border Grid.RowSpan="2" Grid.Column="0" HorizontalAlignment="Left" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="0" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="1" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="2" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="3" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="4" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="5" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="6" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
<Border Grid.RowSpan="2" Grid.Column="7" HorizontalAlignment="Right" Width="1" Background="{StaticResource Border.Brush}"/>
|
|
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="0" Text="组合类型"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="1" Text="配件数量"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="2" Text="SKU配件商品"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="3" Text="基础包装"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="4" Text="增量耗材"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="5" Text="条码标签"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="6" Text="合格证"/>
|
|
<TextBlock Grid.Row="0" Style="{StaticResource middleTextBlock}" Grid.Column="7" Text="合格证位置"/>
|
|
|
|
|
|
<Grid Grid.Row="1" Grid.Column="0" >
|
|
<ComboBox VerticalContentAlignment="Center" BorderThickness="0" Margin="1" ItemsSource="{Binding PackTypeList}" Text="{Binding PackType}" >
|
|
|
|
</ComboBox>
|
|
</Grid>
|
|
<c:BTextBox BorderBrush="Transparent" Grid.Row="1" Grid.Column="1" Height="30" Margin="5" Text="{Binding GoodsNumber,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
<c:BTextBox BorderBrush="Transparent" Grid.Row="1" Grid.Column="2" Height="30" Margin="5" Text="{Binding SkuTitle,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
<Grid Grid.Row="1" Grid.Column="3" >
|
|
<ComboBox VerticalContentAlignment="Center" BorderThickness="0" Margin="1" ItemsSource="{Binding BasicPackList}" Text="{Binding BasicPack}" >
|
|
|
|
</ComboBox>
|
|
</Grid>
|
|
|
|
|
|
<Grid Grid.Row="1" Grid.Column="4">
|
|
<hc:CheckComboBox BorderThickness="0" IsTextSearchEnabled="True" ItemsSource="{Binding IncreateList}"
|
|
ShowClearButton="True"
|
|
MinWidth="90"
|
|
Height="25"
|
|
Margin="5,0,5,0">
|
|
<hc:CheckComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<StackPanel Orientation="Horizontal" Margin="5,2.5">
|
|
<CheckBox Content="{Binding IncreateName}" IsChecked="{Binding IsSelected,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</hc:CheckComboBox.ItemTemplate>
|
|
<hc:CheckComboBox.ItemContainerStyle>
|
|
<Style TargetType="{x:Type hc:CheckComboBoxItem}" BasedOn="{StaticResource NoBgListBoxItemStyle}">
|
|
<Setter Property="IsSelected" Value="{Binding IsSelected,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
</Style>
|
|
</hc:CheckComboBox.ItemContainerStyle>
|
|
</hc:CheckComboBox>
|
|
</Grid>
|
|
|
|
<Grid Grid.Row="1" Grid.Column="5" >
|
|
<ComboBox VerticalContentAlignment="Center" BorderThickness="0" Margin="1" ItemsSource="{Binding IsNeedBarCodeList}" Text="{Binding IsNeedBarCode,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
</ComboBox>
|
|
</Grid>
|
|
<Grid Grid.Row="1" Grid.Column="6" >
|
|
<ComboBox VerticalContentAlignment="Center" BorderThickness="0" Margin="1" ItemsSource="{Binding IsNeedCerList}" Text="{Binding IsNeedCertificateModel,Mode=TwoWay}">
|
|
|
|
</ComboBox>
|
|
</Grid>
|
|
<Grid Grid.Row="1" Grid.Column="7" >
|
|
<ComboBox VerticalContentAlignment="Center" BorderThickness="0" Margin="1" ItemsSource="{Binding CertificatePositionList}" Text="{Binding CertificatePosition}">
|
|
|
|
</ComboBox>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<Border Width="1" Background="{StaticResource Border.Brush}" HorizontalAlignment="Right" />
|
|
</Grid>
|
|
<Grid Grid.Row="2">
|
|
|
|
<c:BButton Content="完成质检" Width="100" HorizontalAlignment="Right" VerticalAlignment="Stretch" Margin="0,2,19,2"
|
|
Command="{Binding CompeteQualityTaskCommand}"
|
|
CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type c:BWindow}}}"
|
|
Background="{StaticResource Button.Selected.Background}" BorderThickness="0" Foreground="White"/>
|
|
</Grid>
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="1" VerticalAlignment="Bottom"/>
|
|
</Grid>
|
|
</c:BWindow>
|