소스 검색

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

master
Nah 1 년 전
부모
커밋
081389186f
3개의 변경된 파일12개의 추가작업 그리고 9개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

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

### 2023.10.18:

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

불러오는 중...
취소
저장