|
|
@ -109,64 +109,48 @@ |
|
|
|
</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> |
|
|
|
<TextBlock Text="数量验收" Margin="20 10" FontSize="13" FontWeight="Bold" HorizontalAlignment="Left" /> |
|
|
|
|
|
|
|
<StackPanel Orientation="Vertical" Margin="20 10 " HorizontalAlignment="Left"> |
|
|
|
<StackPanel Orientation="Horizontal" Height="30"> |
|
|
|
<TextBlock VerticalAlignment="Center"> |
|
|
|
<Run Text="采购数量:"/> |
|
|
|
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Left"> |
|
|
|
<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"> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="30 0 0 0"> |
|
|
|
<TextBlock Text="实收数量: " VerticalAlignment="Center" Width="60"/> |
|
|
|
<c:BTextBox WaterRemark="数量" Text="{Binding ArrivalQuantity}" Height="30" MinWidth="60"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="30 0 0 0"> |
|
|
|
<TextBlock Text="良品数量: " VerticalAlignment="Center"/> |
|
|
|
<c:BTextBox WaterRemark="数量" Text="{Binding GoodProductQuantity}" Height="30"/> |
|
|
|
</UniformGrid> |
|
|
|
<c:BTextBox WaterRemark="数量" Text="{Binding GoodProductQuantity}" Height="30" MinWidth="60"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 30 0 0" > |
|
|
|
<TextBlock VerticalAlignment="Center" Visibility="{Binding WareHourseCount,Mode=TwoWay,Converter={StaticResource objConverter}, ConverterParameter=0:Collapsed:Visible}" > |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 20 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>--> |
|
|
|
<!--<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 Orientation="Horizontal" DockPanel.Dock="Top" Visibility="{Binding StoreGetSelfCount,Mode=TwoWay,Converter={StaticResource objConverter},ConverterParameter=#null|0:Collapsed:Visible}"> |
|
|
|
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Left"> |
|
|
|
<Run Text="商家自取:"/> |
|
|
|
<Run Text="{Binding StoreGetSelfCount}" Foreground="Red"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<!--<c:BTextBox WaterRemark="包装备注" Text="{Binding MarkMessage,Mode=TwoWay}" Grid.Column="1" Margin="0 5 10 5" Height="80"/>--> |
|
|
|
|
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" CornerRadius="0" Grid.Column="1" Margin="0 5 10 5" MaxHeight="120" > |
|
|
|
<TextBox Text="{Binding ShowMarkMessage}" HorizontalAlignment="Stretch" VerticalAlignment="Top" ScrollViewer.VerticalScrollBarVisibility="Visible" |
|
|
|
AcceptsReturn="True" TextWrapping="Wrap" IsReadOnly="True" BorderThickness="0"/> |
|
|
|
</Border> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ListBox Grid.Row="2" Grid.ColumnSpan="2" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
@ -471,19 +455,28 @@ |
|
|
|
</ComboBox> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" CornerRadius="0" Grid.Column="1" Margin="20 5 20 5" MaxHeight="80" > |
|
|
|
<TextBox Text="{Binding ShowMarkMessage}" HorizontalAlignment="Left" VerticalAlignment="Top" Height="80" ScrollViewer.VerticalScrollBarVisibility="Visible" |
|
|
|
AcceptsReturn="True" TextWrapping="Wrap" VerticalContentAlignment="Top" IsReadOnly="True" BorderThickness="0"/> |
|
|
|
</Border> |
|
|
|
|
|
|
|
</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}" |
|
|
|
<DockPanel Grid.Row="2"> |
|
|
|
|
|
|
|
<c:BButton Content="完成验收" Width="100" DockPanel.Dock="Right" VerticalAlignment="Stretch" Margin="0,0,20,0" HorizontalAlignment="Right" |
|
|
|
Command="{Binding CompeteQualityTaskCommand}" |
|
|
|
CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type c:BWindow}}}" |
|
|
|
Background="{StaticResource Button.Selected.Background}" BorderThickness="0" Foreground="White"/> |
|
|
|
<c:BButton Content="验收异常" Width="100" DockPanel.Dock="Right" VerticalAlignment="Stretch" HorizontalAlignment="Right" |
|
|
|
Command="{Binding QualityTaskExceptionCommand}" |
|
|
|
CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type c:BWindow}}}" |
|
|
|
Background="{StaticResource Button.Selected.Background}" BorderThickness="0" Foreground="White"/> |
|
|
|
</Grid> |
|
|
|
Background=" #ec808d" BorderThickness="0" Foreground="White"/> |
|
|
|
|
|
|
|
</DockPanel> |
|
|
|
<Border Height="1" Background="{StaticResource Border.Brush}" Grid.Row="1" VerticalAlignment="Bottom"/> |
|
|
|
</Grid> |
|
|
|
</c:BWindow> |