|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
x:Class="SunlightAggregationTerminal.QueryDetail"
|
|
|
|
|
Title="细节" >
|
|
|
|
|
<Grid RowDefinitions="Auto, *" >
|
|
|
|
|
<Grid BackgroundColor="#CCCCCC" Padding="10" Grid.Row="0" Grid.Column="0">
|
|
|
|
|
<VerticalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="工单: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_Dyelot" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
<Label Text="@" FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_ReDye" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="机台: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_Machine" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="下单时间: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_CreationTime" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="工艺: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_FabricName1" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="面料: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_FabricName" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="客户: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label x:Name="_CustomerName" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="颜色: " FontAttributes="Bold" FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label FontSize="22" BackgroundColor="Black"/>
|
|
|
|
|
<Label x:Name="_ColorName" FontAttributes="Bold" FontSize="22" TextColor="Gray"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<BoxView x:Name="_Color" HeightRequest="25" />
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Grid x:Name="_data" Grid.Row="1" Grid.Column="0" BackgroundColor="#F0F0F0">
|
|
|
|
|
<CollectionView x:Name="CardCollectionView_data" RemainingItemsThreshold="5">
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border BackgroundColor="White" Stroke="#CCCCCC"
|
|
|
|
|
StrokeThickness="2" Margin="10,0,10,10"
|
|
|
|
|
StrokeShape="RoundRectangle 10">
|
|
|
|
|
<VerticalStackLayout VerticalOptions="Center">
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="步骤: " FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label Text="{Binding StepNumber}" FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="呼叫时间: " FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label Text="{Binding CallTime}" FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="完成时间: " FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label Text="{Binding DispenseEndTime}" FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="用时: " FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
<Label Text="{Binding UsageTime}" FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
<BoxView HeightRequest="3" Color="#CCCCCC" />
|
|
|
|
|
<HorizontalStackLayout>
|
|
|
|
|
<Label Text="{Binding ProductName}" FontAttributes="Bold"
|
|
|
|
|
FontSize="22" TextColor="Black"/>
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
</CollectionView>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid x:Name="LoadingIndicator" Grid.Row="1" Grid.Column="0"
|
|
|
|
|
BackgroundColor="Gray" IsVisible="False" Opacity="0.9">
|
|
|
|
|
<VerticalStackLayout Padding="30" Spacing="10"
|
|
|
|
|
VerticalOptions="Center"
|
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
|
<ActivityIndicator IsRunning="True"
|
|
|
|
|
Color="#512BD4"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
VerticalOptions="Center" />
|
|
|
|
|
<Label Text="查询中..." FontAttributes="Bold"
|
|
|
|
|
FontSize="24" TextColor="Black"/>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</ContentPage>
|