Bläddra i källkod

修改物料管理和配方管理界面的复制按钮。

master
Nah 1 år sedan
förälder
incheckning
081389186f
3 ändrade filer med 12 tillägg och 9 borttagningar
  1. +4
    -4
      BPA.SingleDevice/View/RawMaterialManagementView.xaml
  2. +5
    -5
      BPA.SingleDevice/View/RecipeManagementView.xaml
  3. +3
    -0
      README.md

+ 4
- 4
BPA.SingleDevice/View/RawMaterialManagementView.xaml Visa fil

@@ -91,23 +91,23 @@
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Button
Width="100"
Width="150"
Command="{Binding DataContext.EditCommand, RelativeSource={RelativeSource AncestorType=local:RawMaterialManagementView}}"
CommandParameter="{Binding Id}"
Foreground="#2196F3"
Style="{StaticResource TextButton}">
<bpa:Icon Type="Edit2Fill" />
</Button>
<Button
<!--<Button
Width="100"
Command="{Binding DataContext.CopyCommand, RelativeSource={RelativeSource AncestorType=local:RawMaterialManagementView}}"
CommandParameter="{Binding Id}"
Foreground="#2196F3"
Style="{StaticResource TextButton}">
<bpa:Icon Type="CopyleftFill" />
</Button>
</Button>-->
<Button
Width="100"
Width="150"
Command="{Binding DataContext.RemoveCommand, RelativeSource={RelativeSource AncestorType=local:RawMaterialManagementView}}"
CommandParameter="{Binding Id}"
Style="{StaticResource TextErrorButton}">


+ 5
- 5
BPA.SingleDevice/View/RecipeManagementView.xaml Visa fil

@@ -69,25 +69,25 @@
Width="180"
Binding="{Binding LastModified}"
Header="最后修改时间" />
<DataGridTemplateColumn Width="150" Header="操作">
<DataGridTemplateColumn Width="300" Header="操作">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Button
<Button Width="150"
Command="{Binding DataContext.EditCommand, RelativeSource={RelativeSource AncestorType=local:RecipeManagementView}}"
CommandParameter="{Binding Id}"
Foreground="#2196F3"
Style="{StaticResource TextButton}">
<bpa:Icon Type="Edit2Fill" />
</Button>
<Button
<!--<Button
Command="{Binding DataContext.CopyCommand, RelativeSource={RelativeSource AncestorType=local:RecipeManagementView}}"
CommandParameter="{Binding Id}"
Foreground="#2196F3"
Style="{StaticResource TextButton}">
<bpa:Icon Type="CopyleftFill" />
</Button>
<Button
</Button>-->
<Button Width="150"
Command="{Binding DataContext.RemoveCommand, RelativeSource={RelativeSource AncestorType=local:RecipeManagementView}}"
CommandParameter="{Binding Id}"
Style="{StaticResource TextErrorButton}">


+ 3
- 0
README.md Visa fil

@@ -1,2 +1,5 @@
# BPA.SingleDevice

### 2023.10.18:

1. 删除配方管理和物料管理的复制按钮。

Laddar…
Avbryt
Spara