|
|
@ -27,213 +27,269 @@ |
|
|
|
<ctr:SaleGrossProfitConverter x:Key="sgpcConverter"/> |
|
|
|
</UserControl.Resources> |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="35"/> |
|
|
|
<RowDefinition /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="460,15,0,0"> |
|
|
|
<c:BTextBox x:Name="tb" Width="150" Height="30" TextChanged="tb_TextChanged" Text="{Binding SearchDepartment,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></c:BTextBox> |
|
|
|
<ListBox MaxHeight="300" x:Name="tipBox" SelectionChanged="SelectionChangeCommand" Background="{StaticResource Border.Background}"> |
|
|
|
|
|
|
|
</ListBox> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="660,15,0,0" |
|
|
|
> |
|
|
|
<c:BTextBox x:Name="tbShop" Width="150" Height="30" TextChanged="tbShop_TextChanged" Text="{Binding SearchShopName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></c:BTextBox> |
|
|
|
<ListBox MaxHeight="300" x:Name="tipBoxShop" SelectionChanged="tipBoxShop_SelectionChanged" Background="{StaticResource Border.Background}"> |
|
|
|
|
|
|
|
</ListBox> |
|
|
|
</StackPanel> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="300"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="150"/> |
|
|
|
<ColumnDefinition Width="130"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBlock Text="商品信息" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="数量" Grid.Column="1" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="组合类型" Grid.Column="2" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="SKU配件商品" Grid.Column="3" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="打包需求" Grid.Column="4" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="合格证、条形码" Grid.Column="5" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="合格证位置" Grid.Column="6" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="服务、耗材费用" Grid.Column="7" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="任务时间" Grid.Column="8" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="注意事项/对接备注" Grid.Column="9" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="操作" Grid.Column="10" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
|
|
<Border Height="1" VerticalAlignment="Top" Background="{StaticResource Border.Brush}" Grid.ColumnSpan="13"/> |
|
|
|
<!--<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/>--> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="1"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="2"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="3"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="4"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="5"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="6"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="7"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="8"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="9"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="10"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="11"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="12"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="12"/> |
|
|
|
</Grid> |
|
|
|
<!--ItemsSource="{Binding OrderList}"--> |
|
|
|
<ListBox x:Name="listbox_order" |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="54"/> |
|
|
|
<RowDefinition Height="45"/> |
|
|
|
<RowDefinition /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" Grid.Row="0" HorizontalAlignment="Stretch" Panel.ZIndex="999" Margin="0,5,0,0" > |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition Width="auto"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Orientation="Horizontal" Height="30" > |
|
|
|
<StackPanel.Resources> |
|
|
|
<Style TargetType="DatePickerTextBox"> |
|
|
|
<Setter Property="IsReadOnly" Value="True"/> |
|
|
|
</Style> |
|
|
|
</StackPanel.Resources> |
|
|
|
<TextBlock Text="任务ID:" VerticalAlignment="Center" Margin="16,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchTaskId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark=""/> |
|
|
|
<TextBlock Text="SKU:" VerticalAlignment="Center" Margin="16,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" WaterRemark="" Text="{Binding SearchSkuId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="部门: " VerticalAlignment="Center" Margin="16,0,2,0"/> |
|
|
|
<c:BTextBox Visibility="Hidden" Width="150" Height="30" TextChanged="tb_TextChanged" ></c:BTextBox> |
|
|
|
|
|
|
|
<TextBlock x:Name="textblock_shop" Text="店铺:" VerticalAlignment="Center" Margin="16,0,0,0"/> |
|
|
|
<c:BTextBox Name="btbShopName" Width="150" Visibility="Hidden" Margin="5,0,0,0" Text="{Binding SearchShopName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="店铺名称"/> |
|
|
|
<TextBlock Text="物流单号:" VerticalAlignment="Center" Margin="10,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchWayBillNo,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="精准搜索"/> |
|
|
|
<TextBlock Text="物流公司名称:" VerticalAlignment="Center" Margin="10,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchExpressName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="模糊搜索"/> |
|
|
|
|
|
|
|
<Button Content="搜索" Width="94" Height="30" VerticalAlignment="Stretch" Margin="10,0,0,0" |
|
|
|
Command="{Binding SearchTaskCommand}" |
|
|
|
Grid.RowSpan="2" Background="{StaticResource Button.Selected.Background}" BorderThickness="0" Foreground="White"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Border Height="1" Grid.Row="1" Margin="0 10 0 0" Background="{StaticResource Border.Brush}" VerticalAlignment="Top"/> |
|
|
|
<Grid Grid.Row="1" Margin="0 10 0 0"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="300"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="150"/> |
|
|
|
<ColumnDefinition Width="130"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<TextBlock Text="商品信息" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="数量" Grid.Column="1" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="组合类型" Grid.Column="2" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="SKU配件商品" Grid.Column="3" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="打包需求" Grid.Column="4" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="合格证、条形码" Grid.Column="5" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="合格证位置" Grid.Column="6" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="服务、耗材费用" Grid.Column="7" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="任务时间" Grid.Column="8" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="注意事项/对接备注" Grid.Column="9" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="操作" Grid.Column="10" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
|
|
<Border Height="1" VerticalAlignment="Top" Background="{StaticResource Border.Brush}" Grid.ColumnSpan="13"/> |
|
|
|
<!--<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/>--> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="1"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="2"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="3"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="4"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="5"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="6"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="7"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="8"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="9"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="10"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="11"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="12"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="12"/> |
|
|
|
</Grid> |
|
|
|
<!--ItemsSource="{Binding OrderList}"--> |
|
|
|
<ListBox x:Name="listbox_order" |
|
|
|
Grid.Row="7" |
|
|
|
ItemsSource="{Binding PackTaskList}" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" |
|
|
|
BorderBrush="{StaticResource Border.Brush}" |
|
|
|
BorderThickness="1,1,1,0" |
|
|
|
Foreground="{StaticResource Text.Color}"> |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_order,Converter={StaticResource widthConverter},ConverterParameter=-0}" |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_order,Converter={StaticResource widthConverter},ConverterParameter=-0}" |
|
|
|
MinHeight="100"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition MinHeight="90"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<Grid Background="#F2F2F2" > |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="300"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="150"/> |
|
|
|
<ColumnDefinition Width="130"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.ColumnSpan="11"> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="提交时间:" Margin="14,0,0,0" /> |
|
|
|
<TextBlock Text="{Binding EndTime,StringFormat=yyyy-MM-dd HH:mm}" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="任务ID:" Margin="16,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding TaskId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition MinHeight="90"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<Grid Background="#F2F2F2" > |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="300"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="150"/> |
|
|
|
<ColumnDefinition Width="130"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.ColumnSpan="11"> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="提交时间:" Margin="14,0,0,0" /> |
|
|
|
<TextBlock Text="{Binding EndTime,StringFormat=yyyy-MM-dd HH:mm}" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="任务ID:" Margin="16,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding TaskId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding TaskId}" |
|
|
|
Margin=" 5,0,7,0"/> |
|
|
|
|
|
|
|
<!--<Label Width="70" Height="25" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" Content="{Binding TaskState}" Foreground="White" Background="{Binding TaskState,Converter={StaticResource objConverter} , ConverterParameter=已完成:#02a7f0:#facd91 }" Margin="5,0,0,0"/>--> |
|
|
|
<!--<Label Width="70" Height="25" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" Content="{Binding TaskState}" Foreground="White" Background="{Binding TaskState,Converter={StaticResource objConverter} , ConverterParameter=已完成:#02a7f0:#facd91 }" Margin="5,0,0,0"/>--> |
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="部门:" Margin="14,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding DepartmentName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
<TextBlock VerticalAlignment="Center" Text="部门:" Margin="14,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding DepartmentName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding DepartmentName}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="店铺:" Margin="14,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding ShopName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
<TextBlock VerticalAlignment="Center" Text="店铺:" Margin="14,0,0,0" /> |
|
|
|
<c:BButton Content="{Binding ShopName}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding ShopName}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding OrderId, Converter={StaticResource objConverter},ConverterParameter=#null:Visible:Collapsed}"> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="对接人:" Margin="16,0,0,0" /> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding AcceptName}" Margin="5,0,0,0" /> |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding OrderId, Converter={StaticResource objConverter},ConverterParameter=#null:Visible:Collapsed}"> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="对接人:" Margin="16,0,0,0" /> |
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding AcceptName}" Margin="5,0,0,0" /> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel Orientation="Horizontal" Visibility="{Binding QualityRemainTime, Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel Orientation="Horizontal" Visibility="{Binding QualityRemainTime, Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
|
|
|
|
<TextBlock Foreground="Red" VerticalAlignment="Center" Text="{Binding QualityRemainTime}" Margin="20,0,0,0" /> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel Grid.Column="12" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" > |
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel Grid.Column="12" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" > |
|
|
|
<c:BButton Command="{Binding DataContext.DeletedTaskCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" CommandParameter="{Binding}" |
|
|
|
Style="{StaticResource LinkButton}" Content="取消任务" Margin="0 5 0 5 " |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=未到货|部分到货|待验收:Visible:Collapsed}" |
|
|
|
|
|
|
|
/> |
|
|
|
</StackPanel>--> |
|
|
|
<!--<StackPanel Grid.Column="9" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" |
|
|
|
<!--<StackPanel Grid.Column="9" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=未到货|部分到货|待验收:Visible:Collapsed}" |
|
|
|
> |
|
|
|
--><!-- --><!-- |
|
|
|
--> |
|
|
|
<!-- --> |
|
|
|
<!-- |
|
|
|
<c:BButton Command="{Binding UpdateTaskCommand}" Style="{StaticResource LinkButton}" Content="修改" /> |
|
|
|
<c:BButton Command="{Binding DataContext.DeletedTaskCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" CommandParameter="{Binding}" |
|
|
|
Margin="5,0,0,0" Style="{StaticResource LinkButton}" Content="取消"/> |
|
|
|
</StackPanel>--> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="300"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="150"/> |
|
|
|
<ColumnDefinition Width="130"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<ListBox x:Name="listbox_orerSku" ItemsSource="{Binding ItemList}" |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="300"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="150"/> |
|
|
|
<ColumnDefinition Width="130"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
<ColumnDefinition Width="140"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="120"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<ListBox x:Name="listbox_orerSku" ItemsSource="{Binding ItemList}" |
|
|
|
Style="{StaticResource NoScrollViewListBoxStyle}" BorderThickness="0" |
|
|
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}" > |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_orerSku}"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="90"/> |
|
|
|
<ColumnDefinition /> |
|
|
|
<!--<ColumnDefinition />--> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<!--{Binding Logo}--> |
|
|
|
<c:BAsyncImage UrlSource="{Binding Logo}" |
|
|
|
<ListBox.ItemTemplate> |
|
|
|
<DataTemplate> |
|
|
|
<Grid Width="{Binding ActualWidth,ElementName=listbox_orerSku}"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="90"/> |
|
|
|
<ColumnDefinition /> |
|
|
|
<!--<ColumnDefinition />--> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
<!--{Binding Logo}--> |
|
|
|
<c:BAsyncImage UrlSource="{Binding Logo}" |
|
|
|
Width="80" DecodePixelWidth="80" |
|
|
|
VerticalAlignment="Top" Margin="11,9,0,10" |
|
|
|
Cursor="Hand"> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}"> |
|
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
|
<Binding Path="SkuId"/> |
|
|
|
</MultiBinding> |
|
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
|
</b:InvokeCommandAction> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BAsyncImage> |
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" Orientation="Vertical" Margin="8,12,0,10"> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="SKU:"/> |
|
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="PreviewMouseLeftButtonDown"> |
|
|
|
<b:InvokeCommandAction Command="{Binding DataContext.OpenSkuDetailCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}"> |
|
|
|
<b:InvokeCommandAction.CommandParameter> |
|
|
|
<MultiBinding Converter="{StaticResource mptConverter}"> |
|
|
|
<Binding Path="SkuId"/> |
|
|
|
</MultiBinding> |
|
|
|
</b:InvokeCommandAction.CommandParameter> |
|
|
|
</b:InvokeCommandAction> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:BAsyncImage> |
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" Orientation="Vertical" Margin="8,12,0,10"> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="SKU:"/> |
|
|
|
<c:BButton Content="{Binding SkuId}" Style="{StaticResource LinkButton}" HorizontalAlignment="Left" VerticalAlignment="Center" |
|
|
|
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}" |
|
|
|
CommandParameter="{Binding SkuId}" |
|
|
|
Margin=" 5,0,0,11"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextTrimming="CharacterEllipsis"> |
|
|
|
<TextBlock.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<TextBlock Text="{Binding SkuName}"/> |
|
|
|
</ToolTip> |
|
|
|
</TextBlock.ToolTip> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextTrimming="CharacterEllipsis"> |
|
|
|
<TextBlock.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<TextBlock Text="{Binding SkuName}"/> |
|
|
|
</ToolTip> |
|
|
|
</TextBlock.ToolTip> |
|
|
|
<Run Text="SKU名称:"/> |
|
|
|
<Run Text="{Binding SkuName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextWrapping="Wrap" Margin="0,11"> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}" TextWrapping="Wrap" Margin="0,11"> |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding BrandName}"/> |
|
|
|
</TextBlock> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel Grid.Column="2" Orientation="Horizontal" Margin="0,12,0,5"> |
|
|
|
</StackPanel> |
|
|
|
<!--<StackPanel Grid.Column="2" Orientation="Horizontal" Margin="0,12,0,5"> |
|
|
|
<TextBlock Foreground="{StaticResource Text.Gray}"> |
|
|
|
<Run Text="货号:" /> |
|
|
|
</TextBlock> |
|
|
@ -242,118 +298,118 @@ |
|
|
|
CommandParameter="{Binding GoodsNo}" |
|
|
|
Margin=" 5,0,0,0"/> |
|
|
|
</StackPanel>--> |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="0"/> |
|
|
|
<Grid Grid.Column="1" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock x:Name="txt_storeName" |
|
|
|
</Grid> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="0"/> |
|
|
|
<Grid Grid.Column="1" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock x:Name="txt_storeName" |
|
|
|
Text="{Binding SkuCount}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
/> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Column="2" > |
|
|
|
<StackPanel VerticalAlignment="Center" > |
|
|
|
<Grid Grid.Column="2" > |
|
|
|
<StackPanel VerticalAlignment="Center" > |
|
|
|
|
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="组合类型:"/> |
|
|
|
<TextBlock Text="{Binding PackType}"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="配件数量:"/> |
|
|
|
<TextBlock Text="{Binding GoodsNumber}"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="组合类型:"/> |
|
|
|
<TextBlock Text="{Binding PackType}"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="配件数量:"/> |
|
|
|
<TextBlock Text="{Binding GoodsNumber}"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="3" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="3" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock |
|
|
|
Text="{Binding SkuTitle}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="4" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Left"> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="基础打包:"/> |
|
|
|
<TextBlock Text="{Binding BasicPack}"/> |
|
|
|
</StackPanel> |
|
|
|
<Grid Margin="10,5" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock TextWrapping="Wrap"> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="4" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Left"> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="基础打包:"/> |
|
|
|
<TextBlock Text="{Binding BasicPack}"/> |
|
|
|
</StackPanel> |
|
|
|
<Grid Margin="10,5" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock TextWrapping="Wrap"> |
|
|
|
<Run Text="增量耗材:"/> |
|
|
|
<Run Text="{Binding Increment1}"/> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Column="5" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<Grid Grid.Column="5" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="条形码:"/> |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding BarCodeModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
<c:BButton x:Name="btn_lookBarCode" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="条形码:"/> |
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{Binding BarCodeModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}"> |
|
|
|
<c:BButton x:Name="btn_lookBarCode" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding LookBarCommand}" /> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_daCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
<c:BButton x:Name="btn_daCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding PrintBarcodeCommand}"/> |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding BarCodeModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="合格证:"/> |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" > |
|
|
|
<TextBlock Text="合格证:"/> |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding CertificateModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
<StackPanel Orientation="Horizontal" |
|
|
|
Visibility="{Binding CertificatePosition,Converter={StaticResource objConverter}, ConverterParameter=无需合格证:Collapsed:Visible}" |
|
|
|
> |
|
|
|
<c:BButton x:Name="btn_lookCer" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
<c:BButton x:Name="btn_lookCer" Content="查看" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding LookCerCommand}"/> |
|
|
|
|
|
|
|
<c:BButton x:Name="btn_dayinCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
<c:BButton x:Name="btn_dayinCer" Content="打印" Style="{StaticResource LinkButton}" Margin="5,0,0,0" |
|
|
|
Command="{Binding PrintCerCommand}"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="无需合格证" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="无需合格证" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding CertificatePosition,Converter={StaticResource objConverter}, ConverterParameter=无需合格证:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
</StackPanel> |
|
|
|
<TextBlock Text="未配置" Style="{StaticResource middleTextBlock}" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding CertificateModel,Converter={StaticResource objConverter}, ConverterParameter=#null:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="6"> |
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding CertificatePosition}"/> |
|
|
|
</Grid> |
|
|
|
<!-- |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="6"> |
|
|
|
<TextBlock Style="{StaticResource middleTextBlock}" Text="{Binding CertificatePosition}"/> |
|
|
|
</Grid> |
|
|
|
<!-- |
|
|
|
<Grid Grid.Column="8" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
@ -367,37 +423,37 @@ |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid>--> |
|
|
|
<Grid Grid.Column="7"> |
|
|
|
<Grid Grid.Column="7"> |
|
|
|
|
|
|
|
<Grid> |
|
|
|
<Grid> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding FeesItemResponse,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible }" |
|
|
|
> |
|
|
|
<TextBlock Text="收费: "/> |
|
|
|
<TextBlock |
|
|
|
<TextBlock Text="收费: "/> |
|
|
|
<TextBlock |
|
|
|
Text="{Binding FeesItemResponse.AllFees, StringFormat={}{0:F2}}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
/> |
|
|
|
<Path x:Name="path_fees_name" |
|
|
|
<Path x:Name="path_fees_name" |
|
|
|
Style="{StaticResource path_question}" |
|
|
|
Width="14" Fill="{StaticResource Text.Pink}" |
|
|
|
ToolTipService.InitialShowDelay="0" ToolTipService.ShowDuration="30000" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<local:FeesExcelControl IsWareHouse="True" FeesItem="{Binding FeesItemResponse,Mode=TwoWay,NotifyOnSourceUpdated=True,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
<Path.ToolTip> |
|
|
|
<ToolTip Style="{StaticResource OrderCouponToolipStyle}"> |
|
|
|
<local:FeesExcelControl IsWareHouse="True" FeesItem="{Binding FeesItemResponse,Mode=TwoWay,NotifyOnSourceUpdated=True,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
/> |
|
|
|
</ToolTip> |
|
|
|
</Path.ToolTip> |
|
|
|
</Path> |
|
|
|
</ToolTip> |
|
|
|
</Path.ToolTip> |
|
|
|
</Path> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<!--<Grid Grid.Row="1" Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=未到货|部分到货|待验收|已取消|商家自取:Collapsed:Visible}"> |
|
|
|
<!--<Grid Grid.Row="1" Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=未到货|部分到货|待验收|已取消|商家自取:Collapsed:Visible}"> |
|
|
|
<Border Grid.Row="0" VerticalAlignment="Top" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" |
|
|
@ -412,130 +468,131 @@ |
|
|
|
|
|
|
|
|
|
|
|
</Grid>--> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Column="8"> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
<Grid Grid.Column="8"> |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding PackRemainTime,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible}" |
|
|
|
> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding IsPackOverTime,Converter={StaticResource objConverter},ConverterParameter=false:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<TextBlock Text="剩余: " /> |
|
|
|
<TextBlock Text="{Binding PackRemainTime}"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
<TextBlock Text="剩余: " /> |
|
|
|
<TextBlock Text="{Binding PackRemainTime}"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Margin="10,5" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" |
|
|
|
Visibility="{Binding IsPackOverTime,Converter={StaticResource objConverter},ConverterParameter=true:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<TextBlock Foreground="Red" Text="超时: "/> |
|
|
|
<TextBlock Foreground="Red" Text="{Binding PackRemainTime}"/> |
|
|
|
<TextBlock Foreground="Red" Text="超时: "/> |
|
|
|
<TextBlock Foreground="Red" Text="{Binding PackRemainTime}"/> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="9" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock |
|
|
|
</Grid> |
|
|
|
<Grid Grid.Column="9" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
<TextBlock |
|
|
|
Text="{Binding MarkMessage}" |
|
|
|
TextWrapping="Wrap" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Column="10" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Column="10" > |
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<c:BButton HorizontalAlignment="Center" Height="20" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Grid.Row="1" |
|
|
|
Content="{Binding FeesItemResponse,Converter={StaticResource objConverter},ConverterParameter=#null:打包设置:修改设置 }" |
|
|
|
Command="{Binding SetServiceCommand}" |
|
|
|
|
|
|
|
Visibility="Visible" /> |
|
|
|
|
|
|
|
<c:BButton HorizontalAlignment="Center" Style="{StaticResource LinkButton}" Height="20" Margin="0 5 0 5 " VerticalAlignment="Center" Grid.Row="1" Content="验收" |
|
|
|
<c:BButton HorizontalAlignment="Center" Style="{StaticResource LinkButton}" Height="20" Margin="0 5 0 5 " VerticalAlignment="Center" Grid.Row="1" Content="验收" |
|
|
|
Command="{Binding QualityTaskCommand}" |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待验收:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
<StackPanel |
|
|
|
<StackPanel |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待打包:Visible:Collapsed}" |
|
|
|
> |
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" Margin="0 5 0 5 " VerticalAlignment="Center" Content="完成" |
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" Margin="0 5 0 5 " VerticalAlignment="Center" Content="完成" |
|
|
|
CommandParameter="{Binding}" |
|
|
|
Command="{Binding DataContext.CompletedPackTaskCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type UserControl}}}" |
|
|
|
Visibility="{Binding FeesItemResponse,Converter={StaticResource objConverter},ConverterParameter=#null:Collapsed:Visible }" |
|
|
|
/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Grid Margin="0 5 0 5 " |
|
|
|
|
|
|
|
<Grid Margin="0 5 0 5 " |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=未到货|部分到货:Visible:Collapsed}" |
|
|
|
> |
|
|
|
|
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="确认收货" |
|
|
|
<c:BButton Grid.Column="11" HorizontalAlignment="Stretch" Style="{StaticResource LinkButton}" VerticalAlignment="Center" Content="确认收货" |
|
|
|
|
|
|
|
CommandParameter="{Binding}" |
|
|
|
Command="{Binding DataContext.UpdateTaskStateCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" |
|
|
|
> |
|
|
|
|
|
|
|
</c:BButton> |
|
|
|
</c:BButton> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
<c:BButton HorizontalAlignment="Center" Style="{StaticResource LinkButton}" Height="20" Margin="0 5 0 5 " VerticalAlignment="Center" Grid.Row="1" Content="商家自取" |
|
|
|
</Grid> |
|
|
|
<c:BButton HorizontalAlignment="Center" Style="{StaticResource LinkButton}" Height="20" Margin="0 5 0 5 " VerticalAlignment="Center" Grid.Row="1" Content="商家自取" |
|
|
|
CommandParameter="{Binding TaskId}" |
|
|
|
Command="{Binding DataContext.StoreGetBySelfCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Page}}}" |
|
|
|
Visibility="{Binding TaskState,Converter={StaticResource objConverter},ConverterParameter=待验收|待打包:Visible:Collapsed}" |
|
|
|
/> |
|
|
|
<hc:SplitButton Content="更多操作" Foreground="{StaticResource Button.Background}" BorderThickness="0" HitMode="Hover" HorizontalAlignment="Stretch"> |
|
|
|
<hc:SplitButton.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> |
|
|
|
</hc:SplitButton.Resources> |
|
|
|
<hc:SplitButton.DropDownContent > |
|
|
|
<StackPanel > |
|
|
|
<MenuItem Header="打印条码" Command="{Binding PrintBarcodeCommand}" HorizontalAlignment="Center"/> |
|
|
|
<MenuItem Header="打印合格证" Command="{Binding PrintCerCommand}" HorizontalAlignment="Center" /> |
|
|
|
<!--<MenuItem Header="商家自取" HorizontalAlignment="Center" |
|
|
|
<hc:SplitButton Content="更多操作" Foreground="{StaticResource Button.Background}" BorderThickness="0" HitMode="Hover" HorizontalAlignment="Stretch"> |
|
|
|
<hc:SplitButton.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> |
|
|
|
</hc:SplitButton.Resources> |
|
|
|
<hc:SplitButton.DropDownContent > |
|
|
|
<StackPanel > |
|
|
|
<MenuItem Header="打印条码" Command="{Binding PrintBarcodeCommand}" HorizontalAlignment="Center"/> |
|
|
|
<MenuItem Header="打印合格证" Command="{Binding PrintCerCommand}" HorizontalAlignment="Center" /> |
|
|
|
<!--<MenuItem Header="商家自取" HorizontalAlignment="Center" |
|
|
|
Command="{Binding DataContext.StoreGetBySelfCommand,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type UserControl}}}" |
|
|
|
CommandParameter="{Binding TaskId}" |
|
|
|
/>--> |
|
|
|
</StackPanel> |
|
|
|
</hc:SplitButton.DropDownContent> |
|
|
|
</hc:SplitButton> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</hc:SplitButton.DropDownContent> |
|
|
|
</hc:SplitButton> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<!--<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/>--> |
|
|
|
<!--<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="1"/>--> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="2" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="3" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="4" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="5" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="6" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="7" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="8" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="9" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="10" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="11" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="12" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="12"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<!--<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/>--> |
|
|
|
<!--<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="1"/>--> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="2" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="3" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="4" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="5" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="6" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="7" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="8" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="9" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="10" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="11" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}" Grid.Column="12" Margin="-1 0 0 0"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="12"/> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
<Border Grid.Row="1" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
<Border Grid.Row="1" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
</DataTemplate> |
|
|
|
</ListBox.ItemTemplate> |
|
|
|
</ListBox> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</UserControl> |
|
|
|