|
|
@ -0,0 +1,198 @@ |
|
|
|
<Page x:Class="BBWY.Client.Views.PackTask.PackTaskTotal" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
xmlns:local="clr-namespace:BBWY.Client.Views.PackTask" |
|
|
|
mc:Ignorable="d" |
|
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors" |
|
|
|
DataContext="{Binding OrderList,Source={StaticResource Locator}}" |
|
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" |
|
|
|
mc:Ignorable="d" |
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib" |
|
|
|
d:DesignHeight="450" d:DesignWidth="2048" |
|
|
|
Title="OrderList"> |
|
|
|
<Page.Resources> |
|
|
|
|
|
|
|
<sys:Int32 x:Key="d0">0</sys:Int32> |
|
|
|
<sys:Int32 x:Key="d1">1</sys:Int32> |
|
|
|
<sys:Int32 x:Key="d3">2</sys:Int32> |
|
|
|
<sys:Int32 x:Key="d7">6</sys:Int32> |
|
|
|
<sys:Int32 x:Key="d15">14</sys:Int32> |
|
|
|
<sys:Int32 x:Key="d30">29</sys:Int32> |
|
|
|
|
|
|
|
</Page.Resources> |
|
|
|
<Grid> |
|
|
|
<c:RoundWaitProgress Play="{Binding IsLoading}" Panel.ZIndex="999"/> |
|
|
|
<Grid Margin="5,0"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="90"/> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition/> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<Grid Background="{StaticResource Border.Background}" HorizontalAlignment="Left" Height="75" Panel.ZIndex="999"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition Width="auto"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="0.5*"/> |
|
|
|
<RowDefinition Height="5"/> |
|
|
|
<RowDefinition Height="0.5*"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,5,0,0" Height="30"> |
|
|
|
<StackPanel.Resources> |
|
|
|
<Style TargetType="DatePickerTextBox"> |
|
|
|
<Setter Property="IsReadOnly" Value="True"/> |
|
|
|
</Style> |
|
|
|
</StackPanel.Resources> |
|
|
|
<TextBlock Text="下单时间" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<DatePicker SelectedDate="{Binding StartDate}" Width="133.5" Height="30" VerticalContentAlignment="Center" FocusVisualStyle="{x:Null}" Margin="5,0,0,0"/> |
|
|
|
<DatePicker SelectedDate="{Binding EndDate}" Width="133.5" Height="30" VerticalContentAlignment="Center" FocusVisualStyle="{x:Null}" Margin="5,0,0,0"/> |
|
|
|
<TextBlock Text="任务ID:" Width="40" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchOrderId}" WaterRemark="精确匹配"/> |
|
|
|
<TextBlock Text="部门:" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" WaterRemark="精确匹配" Text="{Binding SearchProductId}"/> |
|
|
|
<TextBlock Text="店铺:" VerticalAlignment="Center" Margin="5,0,0,0"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchSku}" WaterRemark="精确匹配"/> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Margin="0,0,0,5" Height="30"> |
|
|
|
<c:BButton Content="今天" Width="50" Height="25" Margin="5,0,0,0" |
|
|
|
Command="{Binding SetSearchDateCommand}" |
|
|
|
CommandParameter="{StaticResource d0}"/> |
|
|
|
<c:BButton Content="昨天" Width="50" Height="25" Margin="5,0,0,0" |
|
|
|
Command="{Binding SetSearchDateCommand}" |
|
|
|
CommandParameter="{StaticResource d1}"/> |
|
|
|
<c:BButton Content="近3天" Width="50" Height="25" Margin="5,0,0,0" |
|
|
|
Command="{Binding SetSearchDateCommand}" |
|
|
|
CommandParameter="{StaticResource d3}"/> |
|
|
|
<c:BButton Content="近7天" Width="50" Height="24" Margin="5,0,0,0" |
|
|
|
Command="{Binding SetSearchDateCommand}" |
|
|
|
CommandParameter="{StaticResource d7}"/> |
|
|
|
<c:BButton Content="近15天" Width="50" Height="25" Margin="5,0,0,0" |
|
|
|
Command="{Binding SetSearchDateCommand}" |
|
|
|
CommandParameter="{StaticResource d15}"/> |
|
|
|
<c:BButton Content="近30天" Width="50" Height="25" Margin="5,0,0,0" |
|
|
|
Command="{Binding SetSearchDateCommand}" |
|
|
|
CommandParameter="{StaticResource d30}"/> |
|
|
|
<!--<TextBlock Text="服务单" VerticalAlignment="Center" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding IncludeAfterOrder,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}"/>--> |
|
|
|
<!--<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchServiceId}" WaterRemark="精确匹配" |
|
|
|
Visibility="{Binding IncludeAfterOrder,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}"/>--> |
|
|
|
<TextBlock Width="40" Text=" SKU:" VerticalAlignment="Center" Margin="5,0,0,0" |
|
|
|
Visibility="{Binding Visibility,ElementName=listbox_order}"/> |
|
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchWaybill}" WaterRemark="前缀模糊匹配" |
|
|
|
Visibility="{Binding Visibility,ElementName=listbox_order}"/> |
|
|
|
|
|
|
|
|
|
|
|
<c:BButton Content="同步" Width="50" Margin="5,0,0,0" Command="{Binding SyncOrderCommand}" ToolTipService.InitialShowDelay="0" ToolTipService.ShowDuration="10000" |
|
|
|
Visibility="Collapsed"> |
|
|
|
<c:BButton.ToolTip> |
|
|
|
<StackPanel> |
|
|
|
<TextBlock Text="1.使用筛选条件中的开始时间和结束时间进行同步"/> |
|
|
|
<TextBlock Text="2.从开始时间起每次同步3小时时长的订单直到到达结束时间"/> |
|
|
|
<TextBlock Text="3.已存在未结束的同步任务将不会重复执行"/> |
|
|
|
</StackPanel> |
|
|
|
</c:BButton.ToolTip> |
|
|
|
</c:BButton> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Grid Grid.Column="1" Grid.RowSpan="3"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition/> |
|
|
|
<RowDefinition/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<Button Content="搜索" Width="50" VerticalAlignment="Stretch" Margin="5,0,0,0" Command="{Binding SearchOrderCommand}" |
|
|
|
Grid.RowSpan="2" Background="#8080ff" BorderThickness="0" Foreground="White"/> |
|
|
|
<Button Grid.RowSpan="2" Content="导出" Command="{Binding ExportCommand}" Width="50" Grid.Column="1" |
|
|
|
Visibility="{Binding Visibility,ElementName=listbox_order}" Background="#02a7f0" BorderThickness="0" Foreground="White"/> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Row="1" HorizontalAlignment="Left"> |
|
|
|
<Button Content="批量结清" Width="100" VerticalAlignment="Stretch" Command="{Binding SearchOrderCommand}" |
|
|
|
Grid.RowSpan="2" Background="#8080ff" BorderThickness="0" Foreground="White"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid Grid.Row="2" Margin="0 5 0 0"> |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="30"/> |
|
|
|
<RowDefinition/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="30"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="100"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="70"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
<ColumnDefinition MinWidth="100"/> |
|
|
|
<ColumnDefinition Width="60"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<CheckBox HorizontalAlignment="Center" HorizontalContentAlignment="Center" Grid.Column="0"/> |
|
|
|
<TextBlock Text="订单号" Grid.Column="1" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="状态" Grid.Column="2" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="部门" Grid.Column="3" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="店铺名" Grid.Column="4" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="对接人员" Grid.Column="5" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="采购SKU名称" Grid.Column="6" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="SKU数量" 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}"/> |
|
|
|
<TextBlock Text="原始金额" Grid.Column="11" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="促销折扣" Grid.Column="12" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="结算金额" Grid.Column="13" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="注意事项/对接备注" Grid.Column="14" Style="{StaticResource middleTextBlock}"/> |
|
|
|
<TextBlock Text="操作" Grid.Column="15" Style="{StaticResource middleTextBlock}"/> |
|
|
|
|
|
|
|
<Border Width="1" HorizontalAlignment="Left" Background="{StaticResource Border.Brush}"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="1"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="2"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="3"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="4"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="5"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="6"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="7"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="8"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="9"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="10"/> |
|
|
|
<Border Width="1" HorizontalAlignment="Right" Background="{StaticResource Border.Brush}" Grid.Column="11"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<c:PageControl PageIndex="{Binding PageIndex}" |
|
|
|
PageSize="{Binding PageSize}" |
|
|
|
RecordCount="{Binding OrderCount}" |
|
|
|
Grid.Row="3" |
|
|
|
HorizontalAlignment="Left"> |
|
|
|
<b:Interaction.Triggers> |
|
|
|
<b:EventTrigger EventName="OnPageIndexChanged"> |
|
|
|
<b:InvokeCommandAction Command="{Binding OrderPageIndexChangedCommand}" PassEventArgsToCommand="True"/> |
|
|
|
</b:EventTrigger> |
|
|
|
</b:Interaction.Triggers> |
|
|
|
</c:PageControl> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Page> |