|
@ -13,28 +13,32 @@ |
|
|
mc:Ignorable="d" |
|
|
mc:Ignorable="d" |
|
|
d:DesignHeight="450" d:DesignWidth="1500"> |
|
|
d:DesignHeight="450" d:DesignWidth="1500"> |
|
|
<UserControl.Resources> |
|
|
<UserControl.Resources> |
|
|
<ObjectDataProvider x:Key="storageTypeProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}"> |
|
|
<ResourceDictionary> |
|
|
<ObjectDataProvider.MethodParameters> |
|
|
<ObjectDataProvider x:Key="storageTypeProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}"> |
|
|
<x:Type TypeName="cmodel:StorageType"/> |
|
|
<ObjectDataProvider.MethodParameters> |
|
|
</ObjectDataProvider.MethodParameters> |
|
|
<x:Type TypeName="cmodel:StorageType"/> |
|
|
</ObjectDataProvider> |
|
|
</ObjectDataProvider.MethodParameters> |
|
|
<ctr:OrderStorageTypeOptionConverter x:Key="ostConverter"/> |
|
|
</ObjectDataProvider> |
|
|
<ctr:ProfitRatioConverter x:Key="profitRatioConverter"/> |
|
|
<ctr:OrderStorageTypeOptionConverter x:Key="ostConverter"/> |
|
|
<ctr:WaybillNoConverter x:Key="waybillConverter"/> |
|
|
<ctr:ProfitRatioConverter x:Key="profitRatioConverter"/> |
|
|
<ctr:MultiParameterTransferConverter x:Key="mptConverter"/> |
|
|
<ctr:WaybillNoConverter x:Key="waybillConverter"/> |
|
|
<ctr:SaleGrossProfitConverter x:Key="sgpcConverter"/> |
|
|
<ctr:MultiParameterTransferConverter x:Key="mptConverter"/> |
|
|
|
|
|
<ctr:SaleGrossProfitConverter x:Key="sgpcConverter"/> |
|
|
|
|
|
</ResourceDictionary> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</UserControl.Resources> |
|
|
</UserControl.Resources> |
|
|
|
|
|
|
|
|
<Grid> |
|
|
<Grid> |
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="460,15,0,0"> |
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="550,15,0,0"> |
|
|
<c:BTextBox x:Name="tb" Width="150" Height="30" TextChanged="tb_TextChanged" Text="{Binding SearchDepartment,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></c:BTextBox> |
|
|
<c:BTextBox x:Name="tb" Width="150" Height="30" TextChanged="tb_TextChanged" Text="{Binding SearchDepartment,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="部门名称"></c:BTextBox> |
|
|
<ListBox MaxHeight="300" x:Name="tipBox" SelectionChanged="SelectionChangeCommand" Background="{StaticResource Border.Background}"> |
|
|
<ListBox MaxHeight="300" x:Name="tipBox" SelectionChanged="SelectionChangeCommand" Background="{StaticResource Border.Background}"> |
|
|
|
|
|
|
|
|
</ListBox> |
|
|
</ListBox> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="660,15,0,0" |
|
|
<StackPanel Panel.ZIndex="100" HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="750,15,0,0" |
|
|
> |
|
|
> |
|
|
<c:BTextBox x:Name="tbShop" Width="150" Height="30" TextChanged="tbShop_TextChanged" Text="{Binding SearchShopName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></c:BTextBox> |
|
|
<c:BTextBox x:Name="tbShop" Width="150" Height="30" TextChanged="tbShop_TextChanged" Text="{Binding SearchShopName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="店铺名称"></c:BTextBox> |
|
|
<ListBox MaxHeight="300" x:Name="tipBoxShop" SelectionChanged="tipBoxShop_SelectionChanged" Background="{StaticResource Border.Background}"> |
|
|
<ListBox MaxHeight="300" x:Name="tipBoxShop" SelectionChanged="tipBoxShop_SelectionChanged" Background="{StaticResource Border.Background}"> |
|
|
|
|
|
|
|
|
</ListBox> |
|
|
</ListBox> |
|
@ -56,25 +60,61 @@ |
|
|
</Grid.ColumnDefinitions> |
|
|
</Grid.ColumnDefinitions> |
|
|
<StackPanel Orientation="Horizontal" Height="30" > |
|
|
<StackPanel Orientation="Horizontal" Height="30" > |
|
|
<StackPanel.Resources> |
|
|
<StackPanel.Resources> |
|
|
<Style TargetType="DatePickerTextBox"> |
|
|
<ResourceDictionary> |
|
|
<Setter Property="IsReadOnly" Value="True"/> |
|
|
<ResourceDictionary.MergedDictionaries> |
|
|
</Style> |
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/> |
|
|
|
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/> |
|
|
|
|
|
</ResourceDictionary.MergedDictionaries> |
|
|
|
|
|
</ResourceDictionary> |
|
|
</StackPanel.Resources> |
|
|
</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}"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Border CornerRadius="0" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Margin="5,0,0,0"> |
|
|
|
|
|
<ComboBox BorderThickness="0" Width="110" VerticalContentAlignment="Center" ItemsSource="{Binding SelectIdList}" HorizontalContentAlignment="Center" Text="{Binding SelectTaskId ,Mode=TwoWay}" /> |
|
|
|
|
|
</Border> |
|
|
|
|
|
<UniformGrid Width="150" Margin="5,0,0,0" Rows="1" Columns="1"> |
|
|
|
|
|
<c:BTextBox Width="150" WaterRemark="任务ID" Text="{Binding SearchTaskId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
|
Visibility="{Binding SelectTaskId,Mode=OneWay,Converter={StaticResource objConverter},ConverterParameter=任务ID:Visible:Collapsed}" |
|
|
|
|
|
/> |
|
|
|
|
|
<c:BTextBox Width="150" WaterRemark="拳探订单号" Text="{Binding SearchOrderSn,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
|
Visibility="{Binding SelectTaskId,Mode=OneWay,Converter={StaticResource objConverter},ConverterParameter=拳探订单号:Visible:Collapsed}" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</UniformGrid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Border CornerRadius="0" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Margin="5,0,0,0"> |
|
|
|
|
|
<ComboBox BorderThickness="0" VerticalContentAlignment="Center" ItemsSource="{Binding SelectSkuList}" HorizontalContentAlignment="Center" Text="{Binding SelectSku ,Mode=TwoWay}" /> |
|
|
|
|
|
</Border> |
|
|
|
|
|
<UniformGrid Width="150" Margin="5,0,0,0" Rows="1" Columns="1"> |
|
|
|
|
|
<c:BTextBox Width="150" WaterRemark="SKUID" Text="{Binding SearchSkuId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
|
Visibility="{Binding SelectSku,Mode=OneWay,Converter={StaticResource objConverter},ConverterParameter=SKU:Visible:Collapsed}" |
|
|
|
|
|
/> |
|
|
|
|
|
<c:BTextBox Width="150" WaterRemark="SPUID" Text="{Binding SearchSpuId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
|
Visibility="{Binding SelectSku,Mode=OneWay,Converter={StaticResource objConverter},ConverterParameter=SPU:Visible:Collapsed}" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</UniformGrid> |
|
|
|
|
|
|
|
|
<TextBlock Text="部门: " VerticalAlignment="Center" Margin="16,0,2,0"/> |
|
|
<TextBlock Text="部门: " VerticalAlignment="Center" Margin="16,0,2,0"/> |
|
|
<c:BTextBox Visibility="Hidden" Width="150" Height="30" TextChanged="tb_TextChanged" ></c:BTextBox> |
|
|
<c:BTextBox Visibility="Hidden" Width="150" Height="30" ></c:BTextBox> |
|
|
|
|
|
|
|
|
<TextBlock x:Name="textblock_shop" Text="店铺:" VerticalAlignment="Center" Margin="16,0,0,0"/> |
|
|
<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="店铺名称"/> |
|
|
<c:BTextBox Name="btbShopName" Width="150" Visibility="Hidden" Margin="5,0,0,0" /> |
|
|
<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"/> |
|
|
<Border CornerRadius="0" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}" Margin="5,0,0,0"> |
|
|
<c:BTextBox Width="150" Margin="5,0,0,0" Text="{Binding SearchExpressName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="模糊搜索"/> |
|
|
<ComboBox Width="125" BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" ItemsSource="{Binding SelectExpressList}" Text="{Binding SelectExpress }"/> |
|
|
|
|
|
</Border> |
|
|
|
|
|
<UniformGrid Width="150" Margin="5,0,0,0" Rows="1" Columns="1"> |
|
|
|
|
|
<c:BTextBox Width="150" Text="{Binding SearchWayBillNo,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="精准搜索" |
|
|
|
|
|
Visibility="{Binding SelectExpress,Converter={StaticResource objConverter},ConverterParameter=物流单号:Visible:Collapsed}" |
|
|
|
|
|
/> |
|
|
|
|
|
<c:BTextBox Width="150" Text="{Binding SearchExpressName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" WaterRemark="模糊搜索" |
|
|
|
|
|
Visibility="{Binding SelectExpress,Converter={StaticResource objConverter},ConverterParameter=物流公司名称:Visible:Collapsed}" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</UniformGrid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button Content="搜索" Width="94" Height="30" VerticalAlignment="Stretch" Margin="10,0,0,0" |
|
|
<Button Content="搜索" Width="94" Height="30" VerticalAlignment="Stretch" Margin="10,0,0,0" |
|
|
Command="{Binding SearchTaskCommand}" |
|
|
Command="{Binding SearchTaskCommand}" |
|
|