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.
148 lines
8.5 KiB
148 lines
8.5 KiB
3 years ago
|
<Page x:Class="BBWY.Client.Views.BillCorrection.BillCorrectionView"
|
||
|
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.BillCorrection"
|
||
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls"
|
||
|
xmlns:cmodel="clr-namespace:BBWY.Client.Models" xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||
|
mc:Ignorable="d"
|
||
|
DataContext="{Binding BillCorrection,Source={StaticResource Locator}}"
|
||
|
d:DesignHeight="1080" d:DesignWidth="1920"
|
||
|
Title="BillCorrectionView">
|
||
|
<Page.Resources>
|
||
|
<ObjectDataProvider x:Key="storageTypeProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
|
||
|
<ObjectDataProvider.MethodParameters>
|
||
|
<x:Type TypeName="cmodel:StorageType"/>
|
||
|
</ObjectDataProvider.MethodParameters>
|
||
|
</ObjectDataProvider>
|
||
|
</Page.Resources>
|
||
|
<Grid>
|
||
|
<c:RoundWaitProgress Play="{Binding IsLoading}" Panel.ZIndex="999"/>
|
||
|
<Grid Margin="5,0">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="40"/>
|
||
|
<RowDefinition Height="5"/>
|
||
|
<RowDefinition Height="100"/>
|
||
|
<RowDefinition Height="5"/>
|
||
|
<RowDefinition Height="40"/>
|
||
|
<RowDefinition Height="5"/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Border Background="{StaticResource Border.Background}" Padding="5,0">
|
||
|
<Border.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>
|
||
|
</Border.Resources>
|
||
|
<StackPanel Orientation="Horizontal">
|
||
|
<DatePicker Height="30" Margin="5,0,0,0" SelectedDate="{Binding StartDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
||
|
<DatePicker Height="30" Margin="5,0,0,0" SelectedDate="{Binding EndDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
||
|
<c:BButton Content="查询" Margin="5,0,0,0" Padding="10,0" Command="{Binding SearchHistoryCommand}"/>
|
||
|
<c:BButton Content="矫正" Padding="10,0" Command="{Binding CorrectCommand}" Background="#02A7F0"/>
|
||
|
<c:BButton Content="清空" Padding="10,0" Command="{Binding ClearCommand}" Background="{StaticResource Text.Pink}"/>
|
||
|
</StackPanel>
|
||
|
</Border>
|
||
|
|
||
|
<Grid Grid.Row="2">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="auto"/>
|
||
|
<RowDefinition Height="5"/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="0.33*"/>
|
||
|
<ColumnDefinition Width="5"/>
|
||
|
<ColumnDefinition Width="0.33*"/>
|
||
|
<ColumnDefinition Width="5"/>
|
||
|
<ColumnDefinition Width="0.34*"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<TextBlock Text="快递账单"/>
|
||
|
<TextBlock Text="入仓账单" Grid.Column="2" />
|
||
|
<TextBlock Text="出仓账单" Grid.Column="4"/>
|
||
|
|
||
|
<Border BorderThickness="1" BorderBrush="{StaticResource Border.Brush}"
|
||
|
Grid.Row="2">
|
||
|
<Grid Margin="5,0">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<StackPanel Orientation="Horizontal">
|
||
|
<c:BButton Content="邮政快递" Padding="10,0"
|
||
|
Background="White" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}"
|
||
|
Foreground="{StaticResource Text.Color}"
|
||
|
Command="{Binding ImportSaleFreightBillCommand}" CommandParameter="YZ"/>
|
||
|
<c:BButton Content="圆通快递" Padding="10,0" Margin="5,0"
|
||
|
Background="White" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}"
|
||
|
Foreground="{StaticResource Text.Color}"
|
||
|
Command="{Binding ImportSaleFreightBillCommand}" CommandParameter="YT"/>
|
||
|
<c:BButton Content="京东快递" Padding="10,0"
|
||
|
Background="White" BorderThickness="1" BorderBrush="{StaticResource Border.Brush}"
|
||
|
Foreground="{StaticResource Text.Color}"
|
||
|
Command="{Binding ImportSaleFreightBillCommand}" CommandParameter="JD"/>
|
||
|
</StackPanel>
|
||
|
<ListBox ItemsSource="{Binding SaleFreightBillFileList}"
|
||
|
ItemContainerStyle="{StaticResource NoBgListBoxItemStyle}"
|
||
|
Style="{StaticResource NoScrollViewListBoxStyle}"
|
||
|
Grid.Row="1"
|
||
|
Foreground="{StaticResource Text.Link.Color}">
|
||
|
<ListBox.ItemsPanel>
|
||
|
<ItemsPanelTemplate>
|
||
|
<StackPanel Orientation="Horizontal"/>
|
||
|
</ItemsPanelTemplate>
|
||
|
</ListBox.ItemsPanel>
|
||
|
<ListBox.ItemTemplate>
|
||
|
<DataTemplate>
|
||
|
<TextBlock Text="{Binding}" Margin="5,0"/>
|
||
|
</DataTemplate>
|
||
|
</ListBox.ItemTemplate>
|
||
|
</ListBox>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
|
||
|
<Border BorderThickness="1" BorderBrush="{StaticResource Border.Brush}"
|
||
|
Grid.Row="2" Grid.Column="2" >
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
|
||
|
<Border BorderThickness="1" BorderBrush="{StaticResource Border.Brush}"
|
||
|
Grid.Row="2" Grid.Column="4" >
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
<RowDefinition Height="0.5*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</Grid>
|
||
|
|
||
|
<Border Background="{StaticResource Border.Background}" Padding="5,0" Grid.Row="4">
|
||
|
<Grid>
|
||
|
<StackPanel Orientation="Horizontal">
|
||
|
<TextBlock Text="发货类型" VerticalAlignment="Center"/>
|
||
|
<ComboBox Margin="5,0,0,0" ItemsSource="{Binding Source={StaticResource storageTypeProvider}}"
|
||
|
Height="25" VerticalContentAlignment="Center"/>
|
||
|
<TextBlock Text="订单号" VerticalAlignment="Center" Margin="5,0,0,0"/>
|
||
|
<c:BTextBox Width="150" Height="25" Margin="5,0,0,0"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
||
|
<c:BButton Content="结果搜索" Padding="10,0" Command="{Binding SearchLocalCommand}"/>
|
||
|
<c:BButton Content="清空条件" Padding="10,0" Command="{Binding ClearLocalConditionCommand}" Background="{StaticResource Text.Pink}"/>
|
||
|
<c:BButton Content="导出Excel" Padding="10,0" Background="#02A7F0" Command="{Binding ExportCommand}"/>
|
||
|
<c:BButton Content="保存" Padding="10,0" Background="#1CC2A2" Command="{Binding SaveCommand}"/>
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</Border>
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
</Page>
|