|
|
@ -42,7 +42,221 @@ |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Grid Grid.Row="1" Visibility="{Binding PackCerState,Mode=TwoWay,Converter={StaticResource objConverter},ConverterParameter=合格证信息:Visible:Collapsed}"> |
|
|
|
<local:QualitySetCerControl model="{Binding CertificateModel,Mode=TwoWay}"/> |
|
|
|
<!--<local:QualitySetCerControl model="{Binding CertificateModel,Mode=TwoWay}"/>--> |
|
|
|
|
|
|
|
<Grid > |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="40"/> |
|
|
|
<RowDefinition/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal"> |
|
|
|
<RadioButton GroupName="cer" HorizontalAlignment="Left" VerticalContentAlignment="Center" IsChecked="{Binding CertificateModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:CertificateLabelModel.标准无3c}}" CommandParameter="{x:Static cmodel:CertificateLabelModel.标准无3c}" Content="标准" Margin="10,0,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<RadioButton GroupName="cer" HorizontalAlignment="Left" VerticalContentAlignment="Center" IsChecked="{Binding CertificateModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:CertificateLabelModel.标准有3c}}" CommandParameter="{x:Static cmodel:CertificateLabelModel.标准有3c}" Content="带3c标" Margin="10,0,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<RadioButton GroupName="cer" HorizontalAlignment="Left" VerticalContentAlignment="Center" IsChecked="{Binding CertificateModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:CertificateLabelModel.无型号}}" CommandParameter="{x:Static cmodel:CertificateLabelModel.无型号}" Content="无型号" Margin="10,0,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<RadioButton GroupName="cer" HorizontalAlignment="Left" VerticalContentAlignment="Center" IsChecked="{Binding CertificateModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:CertificateLabelModel.适用年龄 }}" CommandParameter="{x:Static cmodel:CertificateLabelModel.适用年龄}" Content="适用年龄" Margin="10,0,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
</StackPanel> |
|
|
|
<DockPanel Grid.Row="1" > |
|
|
|
<Border Visibility="{Binding CertificateModel.LabelModel,Converter={StaticResource objConverter}, ConverterParameter=无型号:Visible:Collapsed}" BorderBrush="Black" BorderThickness="1" Width="380" Height="298" Margin="1" VerticalAlignment="Top" HorizontalAlignment="Left"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<TextBlock VerticalAlignment="Top" HorizontalAlignment="Center" Text="合格证" FontSize="18" Margin="0 10 0 25" /> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="品牌:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0" /> |
|
|
|
<c:BTextBox Height="25" IsReadOnly="True" Text="{Binding CertificateModel.Brand,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
<TextBlock Text="品名:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="材质:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="材质" Command="{Binding ShowDataCommand}" Width="126"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.Shader,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="执行标准:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="执行标准" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" WaterRemark="如多个标准请使用逗号分隔" Height="25" Text="{Binding CertificateModel.ExcuteStander,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="生产日期:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<c:BTextBox WaterRemark="不填则不打印" Height="25" Text="{Binding CertificateModel.ProduceDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="生产商:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="18 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="生产商" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.ProductShop,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 0"> |
|
|
|
<TextBlock Text="地址:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="地址" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" MinHeight="44" Text="{Binding CertificateModel.ProductAdress,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
<Border Name="shiyongnianling" Visibility="{Binding CertificateModel.LabelModel,Converter={StaticResource objConverter}, ConverterParameter=适用年龄:Visible:Collapsed}" BorderBrush="Black" BorderThickness="1" Width="380" Height="298" Margin="1" VerticalAlignment="Top" HorizontalAlignment="Left"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<TextBlock VerticalAlignment="Top" HorizontalAlignment="Center" Text="合格证" FontSize="18" Margin="0 10 0 25" /> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="品牌:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0" /> |
|
|
|
<c:BTextBox Height="25" IsReadOnly="True" Text="{Binding CertificateModel.Brand,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
<TextBlock Text="品名:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="材质:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="材质" Command="{Binding ShowDataCommand}" Width="126"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.Shader,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
<TextBlock Text="适用年龄:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6,0,0,0" /> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.ApplyAge,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="124" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="执行标准:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="执行标准" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" WaterRemark="如多个标准请使用逗号分隔" Height="25" Text="{Binding CertificateModel.ExcuteStander,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="生产日期:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<c:BTextBox WaterRemark="不填则不打印" Height="25" Text="{Binding CertificateModel.ProduceDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="生产商:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="18 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="生产商" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.ProductShop,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 0"> |
|
|
|
<TextBlock Text="地址:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="地址" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" MinHeight="44" Text="{Binding CertificateModel.ProductAdress,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
<Border Visibility="{Binding CertificateModel.LabelModel,Converter={StaticResource objConverter}, ConverterParameter=标准无3c:Visible:Collapsed}" BorderBrush="Black" BorderThickness="1" Width="380" Height="298" Margin="1" VerticalAlignment="Top" HorizontalAlignment="Left"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<TextBlock VerticalAlignment="Top" HorizontalAlignment="Center" Text="合格证" FontSize="18" Margin="0 10 0 25" /> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="品牌:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0" /> |
|
|
|
<c:BTextBox Height="25" IsReadOnly="True" Text="{Binding CertificateModel.Brand,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
<TextBlock Text="型号:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.ProductNo,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="品名:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
<TextBlock Text="材质:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="材质" Command="{Binding ShowDataCommand}" Width="126"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.Shader,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="执行标准:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="执行标准" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" WaterRemark="如多个标准请使用逗号分隔" Height="25" Text="{Binding CertificateModel.ExcuteStander,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="生产日期:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<c:BTextBox WaterRemark="不填则不打印" Height="25" Text="{Binding CertificateModel.ProduceDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="生产商:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="18 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="生产商" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.ProductShop,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 0"> |
|
|
|
<TextBlock Text="地址:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="地址" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" MinHeight="44" Text="{Binding CertificateModel.ProductAdress,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
<Border Visibility="{Binding CertificateModel.LabelModel,Converter={StaticResource objConverter}, ConverterParameter=标准有3c:Visible:Collapsed}" BorderBrush="Black" BorderThickness="1" Width="380" Height="298" Margin="1" VerticalAlignment="Top" HorizontalAlignment="Left"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" > |
|
|
|
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Text="合格证" FontSize="18" Margin="157 0 70 0" /> |
|
|
|
<Image Source="pack://siteoforigin:,,,/Resources/Images/3c.png" Width="54" Height="40" VerticalAlignment="Top" Margin="0 5 0 0" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 2 0 5"> |
|
|
|
<TextBlock Text="工厂编号:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="203,0,0,0" /> |
|
|
|
<c:BTextBox Text="{Binding CertificateModel.FactoryNumber,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Height="25" Width="100" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="品牌:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0" /> |
|
|
|
<c:BTextBox Height="25" IsReadOnly="True" Text="{Binding CertificateModel.Brand,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
<TextBlock Text="型号:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.ProductNo,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="品名:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<c:BTextBox Height="25" Text="{Binding CertificateModel.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
<TextBlock Text="材质:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30,0,0,0"/> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="材质" Command="{Binding ShowDataCommand}" Width="126"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowShader,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.Shader,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="126" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="执行标准:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
|
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="执行标准" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowExcuteStander,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" WaterRemark="如多个标准请使用逗号分隔" Height="25" Text="{Binding CertificateModel.ExcuteStander,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 10"> |
|
|
|
<TextBlock Text="生产日期:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6 0 0 0" /> |
|
|
|
<c:BTextBox WaterRemark="不填则不打印" Height="25" Text="{Binding CertificateModel.ProduceDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
<TextBlock Text="生产商:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="18 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="生产商" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductShop,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" Height="25" Text="{Binding CertificateModel.ProductShop,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 10 0 0"> |
|
|
|
<TextBlock Text="地址:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="30 0 0 0" /> |
|
|
|
<Grid> |
|
|
|
<c:BButton Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Visible:Collapsed}" Style="{StaticResource LinkButton}" Content="点击查看" Panel.ZIndex="10" Foreground="Red" CommandParameter="地址" Command="{Binding ShowDataCommand}" Width="296"/> |
|
|
|
<c:BTextBox Visibility="{Binding IsShowProductAdress,Converter={StaticResource objConverter},ConverterParameter=True:Collapsed:Visible}" MinHeight="44" Text="{Binding CertificateModel.ProductAdress,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="296" VerticalAlignment="Top" HorizontalAlignment="Left"/> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
</DockPanel> |
|
|
|
|
|
|
|
<!--<c:RoundWaitProgress Play="{Binding IsLoading}" Panel.ZIndex="999" |
|
|
|
WaitText="正在提交中" |
|
|
|
Grid.RowSpan="4"/>--> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</Grid> |
|
|
|