2024-08-07 09:45:18 +08:00
|
|
|
<UserControl x:Class="DM_Weight.Views.CheckOrderNewWindow"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
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"
|
|
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
|
xmlns:pagination="clr-namespace:DM_Weight.Components.pagination"
|
|
|
|
xmlns:local="clr-namespace:DM_Weight.Views"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
xmlns:convert="clr-namespace:DM_Weight.Converter"
|
|
|
|
xmlns:prism="http://prismlibrary.com/">
|
|
|
|
<UserControl.Resources>
|
|
|
|
<convert:OrderStatusConverter x:Key="OrderStatusConverter" />
|
|
|
|
<convert:DrawerSelectConverter x:Key="DrawerSelectConverter" />
|
2024-11-26 15:05:37 +08:00
|
|
|
<convert:DrawerContentConverter x:Key="DrawerContentConverter" />
|
2024-08-07 09:45:18 +08:00
|
|
|
<convert:BoxNumConverter x:Key="BoxNumConverter" />
|
|
|
|
<convert:StatusConverter x:Key="StatusConverter" />
|
|
|
|
<Style x:Key="st" TargetType="GridViewColumnHeader">
|
|
|
|
<Style.Setters>
|
|
|
|
<Setter Property="Height">
|
|
|
|
<Setter.Value>55</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
<Setter Property="Background">
|
|
|
|
<Setter.Value>#31ccec</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
<Setter Property="Foreground">
|
|
|
|
<Setter.Value>white</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
</Style.Setters>
|
|
|
|
</Style>
|
|
|
|
</UserControl.Resources>
|
2024-08-12 16:42:53 +08:00
|
|
|
<Grid>
|
2024-08-07 09:45:18 +08:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
2024-11-28 11:15:40 +08:00
|
|
|
<ColumnDefinition Width="Auto"/>
|
2024-08-07 09:45:18 +08:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid Margin="6" Grid.Column="0">
|
|
|
|
<Grid.Resources>
|
|
|
|
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignPaperLightButton}">
|
|
|
|
<Setter Property="Foreground" Value="#00a0ea" />
|
|
|
|
<Setter Property="BorderBrush" Value="#00a0ea" />
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
<Setter Property="Background" Value="#d1e7f5" />
|
|
|
|
<Setter Property="BorderBrush" Value="#d1e7f5" />
|
|
|
|
</Trigger>
|
|
|
|
<DataTrigger Value="True">
|
|
|
|
<DataTrigger.Binding>
|
|
|
|
<MultiBinding Converter="{StaticResource DrawerSelectConverter}">
|
|
|
|
<Binding RelativeSource="{ RelativeSource Mode=Self }" Path="Content" />
|
|
|
|
<Binding Path="DrawerNo" />
|
|
|
|
</MultiBinding>
|
|
|
|
</DataTrigger.Binding>
|
|
|
|
<Setter Property="Background" Value="#d1e7f5" />
|
|
|
|
<Setter Property="BorderBrush" Value="#d1e7f5" />
|
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</Grid.Resources>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
2024-08-12 16:42:53 +08:00
|
|
|
<!--<RowDefinition />-->
|
2024-08-07 09:45:18 +08:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition />
|
|
|
|
<ColumnDefinition />
|
|
|
|
</Grid.ColumnDefinitions>
|
2024-11-26 15:05:37 +08:00
|
|
|
<Button Margin="6 0 6 0" Grid.Row="0" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn1User,Converter={StaticResource DrawerContentConverter},ConverterParameter=1号药箱}" Background="{Binding Button1Color}" Command="{Binding UpdateDrawerNo,ConverterParameter=1}" CommandParameter="1" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=0}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="1" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn2User,Converter={StaticResource DrawerContentConverter},ConverterParameter=2号药箱}" Background="{Binding Button2Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="2" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=1}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="2" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn3User,Converter={StaticResource DrawerContentConverter},ConverterParameter=3号药箱}" Background="{Binding Button3Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="3" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=2}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="3" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn4User,Converter={StaticResource DrawerContentConverter},ConverterParameter=4号药箱}" Background="{Binding Button4Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="4" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=3}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="4" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn5User,Converter={StaticResource DrawerContentConverter},ConverterParameter=5号药箱}" Background="{Binding Button5Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="5" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=4}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="5" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn6User,Converter={StaticResource DrawerContentConverter},ConverterParameter=6号药箱}" Background="{Binding Button6Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="6" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=5}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="6" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn7User,Converter={StaticResource DrawerContentConverter},ConverterParameter=7号药箱}" Background="{Binding Button7Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="7" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=6}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="7" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn8User,Converter={StaticResource DrawerContentConverter},ConverterParameter=8号药箱}" Background="{Binding Button8Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="8" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=7}"/>
|
|
|
|
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="8" Grid.Column="0" Width="180" Height="60" Content="{Binding Btn9User,Converter={StaticResource DrawerContentConverter},ConverterParameter=9号药箱}" Background="{Binding Button9Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="9" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=8}"/>
|
|
|
|
<Button Margin="0 0 3 0" Grid.Row="0" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn10User,Converter={StaticResource DrawerContentConverter},ConverterParameter=10号药箱}" Background="{Binding Button10Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="10" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=9}"/>
|
2024-08-07 09:45:18 +08:00
|
|
|
|
2024-11-26 15:05:37 +08:00
|
|
|
<Button Grid.Row="1" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn11User,Converter={StaticResource DrawerContentConverter},ConverterParameter=11号药箱}" Background="{Binding Button11Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="11" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=10}"/>
|
|
|
|
<Button Grid.Row="2" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn12User,Converter={StaticResource DrawerContentConverter},ConverterParameter=12号药箱}" Background="{Binding Button12Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="12" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=11}"/>
|
|
|
|
<Button Grid.Row="3" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn13User,Converter={StaticResource DrawerContentConverter},ConverterParameter=13号药箱}" Background="{Binding Button13Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="13" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=12}"/>
|
|
|
|
<Button Grid.Row="4" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn14User,Converter={StaticResource DrawerContentConverter},ConverterParameter=14号药箱}" Background="{Binding Button14Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="14" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=13}"/>
|
|
|
|
<Button Grid.Row="5" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn15User,Converter={StaticResource DrawerContentConverter},ConverterParameter=15号药箱}" Background="{Binding Button15Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="15" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=14}"/>
|
|
|
|
<Button Grid.Row="6" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn16User,Converter={StaticResource DrawerContentConverter},ConverterParameter=16号药箱}" Background="{Binding Button16Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="16" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=15}"/>
|
|
|
|
<Button Grid.Row="7" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn17User,Converter={StaticResource DrawerContentConverter},ConverterParameter=17号药箱}" Background="{Binding Button17Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="17" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=16}"/>
|
|
|
|
<Button Grid.Row="8" Grid.Column="1" Width="180" Height="60" Content="{Binding Btn18User,Converter={StaticResource DrawerContentConverter},ConverterParameter=18号药箱}" Background="{Binding Button18Color}" Command="{Binding UpdateDrawerNo}" CommandParameter="18" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=17}"/>
|
2024-08-12 16:42:53 +08:00
|
|
|
<!--<Button Grid.Row="8" Grid.Column="1" Width="120" Content="19号药箱" Command="{Binding UpdateDrawerNo}" CommandParameter="19" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=19}"/>
|
|
|
|
<Button Grid.Row="9" Grid.Column="1" Width="120" Content="20号药箱" Command="{Binding UpdateDrawerNo}" CommandParameter="20" IsEnabled="{Binding DrawerNo, Converter={StaticResource BoxNumConverter}, ConverterParameter=20}"/>-->
|
2024-08-07 09:45:18 +08:00
|
|
|
|
|
|
|
</Grid>
|
2024-08-28 17:03:16 +08:00
|
|
|
<Grid Grid.Column="1" Margin="6">
|
2024-08-07 09:45:18 +08:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
</Grid.RowDefinitions>
|
2024-08-12 16:42:53 +08:00
|
|
|
<Grid Margin="0 6 0 6" Grid.Row="0" Grid.ColumnSpan="3">
|
2024-08-07 09:45:18 +08:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="2*" />
|
|
|
|
<ColumnDefinition Width="8*" />
|
|
|
|
<ColumnDefinition Width="5*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<DatePicker
|
|
|
|
Grid.Column="0"
|
|
|
|
SelectedDate="{Binding OrderDate, StringFormat=yyyy-MM-dd, TargetNullValue='',UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
SelectedDateFormat="Short"
|
|
|
|
Margin="6 0 0 0"
|
|
|
|
materialDesign:HintAssist.Hint="开方日期"
|
|
|
|
Style="{StaticResource MaterialDesignOutlinedDatePicker}" />
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
Margin="0 0 6 0"
|
|
|
|
VerticalAlignment="Center" Command="{Binding CheckOrder}"
|
|
|
|
Content="确认"
|
|
|
|
Style="{StaticResource MaterialDesignOutlinedLightButton}">
|
|
|
|
</Button>
|
|
|
|
<Button
|
|
|
|
Margin="0 0 6 0"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Style="{StaticResource MaterialDesignOutlinedLightButton}"
|
|
|
|
ToolTip="刷新" Command="{Binding Query}">
|
|
|
|
<materialDesign:PackIcon Kind="Refresh" />
|
|
|
|
</Button>
|
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
2024-08-12 16:42:53 +08:00
|
|
|
<!--<Grid Grid.Row="1" Grid.Column="0" Margin="0 0 -100 0">-->
|
|
|
|
<ListView Grid.Row="1" Grid.Column="0" Margin="0 0 6 0"
|
2024-08-07 09:45:18 +08:00
|
|
|
ItemsSource="{Binding OrderInfoList, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
|
|
|
SelectedItem="{Binding selectOrderInfo}"
|
|
|
|
materialDesign:ListViewAssist.HeaderRowBackground="#31ccec"
|
|
|
|
materialDesign:DataGridAssist.ColumnHeaderPadding="10"
|
|
|
|
materialDesign:ListViewAssist.ListViewItemPadding="13">
|
|
|
|
<ListView.Resources>
|
|
|
|
<Style TargetType="{x:Type GridViewColumnHeader}" BasedOn="{StaticResource {x:Type GridViewColumnHeader}}">
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
</Style>
|
|
|
|
</ListView.Resources>
|
2024-11-28 11:15:40 +08:00
|
|
|
<!--<i:Interaction.Triggers>
|
2024-08-07 09:45:18 +08:00
|
|
|
<i:EventTrigger EventName="SelectionChanged">
|
|
|
|
<i:InvokeCommandAction Command="{Binding RowSelected}" />
|
|
|
|
</i:EventTrigger>
|
2024-11-28 11:15:40 +08:00
|
|
|
</i:Interaction.Triggers>-->
|
2024-08-07 09:45:18 +08:00
|
|
|
<ListView.View>
|
|
|
|
<GridView ColumnHeaderContainerStyle="{StaticResource st}">
|
2024-08-12 16:42:53 +08:00
|
|
|
<GridViewColumn Header="选择" Width="30">
|
2024-08-07 09:45:18 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<CheckBox IsChecked="{Binding ItemIsChecked}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
<GridViewColumn Width="80"
|
|
|
|
Header="姓名"
|
|
|
|
DisplayMemberBinding="{Binding PName}" />
|
|
|
|
<GridViewColumn Width="30"
|
|
|
|
DisplayMemberBinding="{Binding Sex}"
|
|
|
|
Header="性别"/>
|
|
|
|
<GridViewColumn Width="100"
|
|
|
|
DisplayMemberBinding="{Binding OrderNo}"
|
|
|
|
Header="处方号"/>
|
|
|
|
<!--<GridViewColumn Width="240"
|
|
|
|
DisplayMemberBinding="{Binding DeptName}"
|
|
|
|
Header="科室"/>-->
|
2024-08-28 17:03:16 +08:00
|
|
|
<!--<GridViewColumn Width="100"
|
2024-08-07 09:45:18 +08:00
|
|
|
DisplayMemberBinding="{Binding _OrderDetail.DrugInfo.DrugName}"
|
|
|
|
Header="药品名称"/>
|
2024-08-12 16:42:53 +08:00
|
|
|
<GridViewColumn Width="80"
|
2024-08-07 09:45:18 +08:00
|
|
|
DisplayMemberBinding="{Binding _OrderDetail.SetManuNo}"
|
|
|
|
Header="药品批次"/>
|
2024-08-12 16:42:53 +08:00
|
|
|
<GridViewColumn Width="80"
|
2024-08-07 09:45:18 +08:00
|
|
|
DisplayMemberBinding="{Binding _OrderDetail.SetEffDate}"
|
|
|
|
Header="药品效期"/>
|
|
|
|
<GridViewColumn Width="30"
|
|
|
|
DisplayMemberBinding="{Binding _OrderDetail.Quantity}"
|
2024-08-28 17:03:16 +08:00
|
|
|
Header="数量"/>-->
|
|
|
|
|
|
|
|
<GridViewColumn Width="100" Header="药品名称">
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ListBox ItemsSource="{Binding OrderDetailList}" DisplayMemberPath="DrugInfo.DrugName" materialDesign:ListBoxItemAssist.ShowSelection="False"></ListBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
2024-11-28 11:15:40 +08:00
|
|
|
<GridViewColumn Width="80" Header="药品批次">
|
2024-08-28 17:03:16 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ListBox ItemsSource="{Binding OrderDetailList}" DisplayMemberPath="SetManuNo" materialDesign:ListBoxItemAssist.ShowSelection="False"></ListBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
2024-11-28 11:15:40 +08:00
|
|
|
<GridViewColumn Width="80" Header="药品效期">
|
2024-08-28 17:03:16 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ListBox ItemsSource="{Binding OrderDetailList}" DisplayMemberPath="SetEffDate" materialDesign:ListBoxItemAssist.ShowSelection="False"></ListBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
2024-11-28 11:15:40 +08:00
|
|
|
<GridViewColumn Width="30" Header="数量">
|
2024-08-28 17:03:16 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ListBox ItemsSource="{Binding OrderDetailList}" DisplayMemberPath="Quantity" materialDesign:ListBoxItemAssist.ShowSelection="False"></ListBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
2024-08-07 09:45:18 +08:00
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
</ListView>
|
2024-08-12 16:42:53 +08:00
|
|
|
<!--</Grid>-->
|
|
|
|
<!--<Grid Grid.Column="1" Grid.Row="1" Margin="0 0 0 0" HorizontalAlignment="Right">-->
|
2024-08-20 13:59:45 +08:00
|
|
|
<ListView Grid.Column="1" Grid.Row="1" Margin="0 0 0 0"
|
|
|
|
ItemsSource="{Binding TotalDrugList,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}"
|
2024-08-07 09:45:18 +08:00
|
|
|
materialDesign:ListViewAssist.HeaderRowBackground="#31ccec"
|
|
|
|
materialDesign:DataGridAssist.ColumnHeaderPadding="10"
|
|
|
|
materialDesign:ListViewAssist.ListViewItemPadding="13">
|
|
|
|
<ListView.Resources>
|
|
|
|
<Style TargetType="{x:Type GridViewColumnHeader}" BasedOn="{StaticResource {x:Type GridViewColumnHeader}}">
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
</Style>
|
|
|
|
</ListView.Resources>
|
|
|
|
<ListView.View>
|
|
|
|
<GridView ColumnHeaderContainerStyle="{StaticResource st}">
|
|
|
|
<GridViewColumn Width="100"
|
|
|
|
DisplayMemberBinding="{Binding DrugName}"
|
|
|
|
Header="药品名称"/>
|
|
|
|
<GridViewColumn Width="30"
|
|
|
|
DisplayMemberBinding="{Binding TotalCount}"
|
|
|
|
Header="合计数量"/>
|
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
</ListView>
|
2024-08-12 16:42:53 +08:00
|
|
|
<!--</Grid>-->
|
2024-08-07 09:45:18 +08:00
|
|
|
|
|
|
|
<pagination:Pagination Grid.Row="2" Grid.Column="2"
|
|
|
|
CurrentPage="{Binding PageNum}"
|
|
|
|
PageSize="{Binding PageSize}"
|
|
|
|
TotalPages="{Binding TotalCount}"
|
|
|
|
InfoTextIsEnabel="True"
|
|
|
|
/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|
|
|
|
|