|
@@ -375,7 +375,7 @@
|
|
<!-- 调用方法:传递事件参数 -->
|
|
<!-- 调用方法:传递事件参数 -->
|
|
<!-- TargetObject="{Binding }" 表示目标对象是当前的数据上下文 -->
|
|
<!-- TargetObject="{Binding }" 表示目标对象是当前的数据上下文 -->
|
|
<b:CallMethodAction TargetObject="{Binding }"
|
|
<b:CallMethodAction TargetObject="{Binding }"
|
|
- MethodName="fdgDelivery_SelectionChanged" />
|
|
|
|
|
|
+ MethodName="FdgDelivery_SelectionChanged" />
|
|
|
|
|
|
</b:EventTrigger>
|
|
</b:EventTrigger>
|
|
</b:Interaction.Triggers>
|
|
</b:Interaction.Triggers>
|
|
@@ -568,8 +568,8 @@
|
|
IsEnabled="False"
|
|
IsEnabled="False"
|
|
Style="{StaticResource CustomFieldTextBoxStyle}" />
|
|
Style="{StaticResource CustomFieldTextBoxStyle}" />
|
|
|
|
|
|
- <!-- 检验合格数量、剩余数量:非保存列 -->
|
|
|
|
- <StackPanel x:Name="spRemainQty"
|
|
|
|
|
|
+ <!-- 可发运数量:非保存列 -->
|
|
|
|
+ <!--<StackPanel x:Name="spRemainQty"
|
|
Orientation="Horizontal">
|
|
Orientation="Horizontal">
|
|
<TextBlock Text="可发运数量:"
|
|
<TextBlock Text="可发运数量:"
|
|
Style="{StaticResource CustomTextBlockStyle}" />
|
|
Style="{StaticResource CustomTextBlockStyle}" />
|
|
@@ -578,7 +578,7 @@
|
|
Foreground="Red"
|
|
Foreground="Red"
|
|
TextAlignment="Left"
|
|
TextAlignment="Left"
|
|
Style="{StaticResource CustomTextBlockStyle}" />
|
|
Style="{StaticResource CustomTextBlockStyle}" />
|
|
- </StackPanel>
|
|
|
|
|
|
+ </StackPanel>-->
|
|
|
|
|
|
</WrapPanel>
|
|
</WrapPanel>
|
|
</Grid>
|
|
</Grid>
|
|
@@ -760,7 +760,8 @@
|
|
Content="导入"
|
|
Content="导入"
|
|
Tag="{x:Static utils:RegularFontUtil.Arrow_Circle_Down_32}"
|
|
Tag="{x:Static utils:RegularFontUtil.Arrow_Circle_Down_32}"
|
|
Template="{StaticResource CustomToolBarButtomTemplate}"
|
|
Template="{StaticResource CustomToolBarButtomTemplate}"
|
|
- Command="{Binding ImportDetailCommand}" />
|
|
|
|
|
|
+ Command="{Binding ImportDetailCommand}"
|
|
|
|
+ CommandParameter="{Binding ElementName=fdgDelivery}"/>
|
|
<Button x:Name="btnExportDtl"
|
|
<Button x:Name="btnExportDtl"
|
|
Content="导出"
|
|
Content="导出"
|
|
Tag="{x:Static utils:RegularFontUtil.Arrow_Circle_Up_32}"
|
|
Tag="{x:Static utils:RegularFontUtil.Arrow_Circle_Up_32}"
|
|
@@ -812,23 +813,22 @@
|
|
<!-- 选择单元格切换事件 -->
|
|
<!-- 选择单元格切换事件 -->
|
|
<b:EventTrigger EventName="SelectedCellsChanged">
|
|
<b:EventTrigger EventName="SelectedCellsChanged">
|
|
<b:CallMethodAction TargetObject="{Binding }"
|
|
<b:CallMethodAction TargetObject="{Binding }"
|
|
- MethodName="fdgDeliveryDetail_SelectedCellsChanged" />
|
|
|
|
|
|
+ MethodName="FdgDeliveryDetail_SelectedCellsChanged" />
|
|
</b:EventTrigger>
|
|
</b:EventTrigger>
|
|
|
|
|
|
</b:Interaction.Triggers>
|
|
</b:Interaction.Triggers>
|
|
|
|
|
|
<!-- 数据结构 -->
|
|
<!-- 数据结构 -->
|
|
<fdg:FilterDataGrid.Columns>
|
|
<fdg:FilterDataGrid.Columns>
|
|
- <!--<DataGridTextColumn Header="序号" Width="*" />-->
|
|
|
|
<fdg:FilterDataGridCheckBoxColumn Header=" " Width="30"
|
|
<fdg:FilterDataGridCheckBoxColumn Header=" " Width="30"
|
|
ElementStyle="{StaticResource CheckBoxColumnElementStyle}"
|
|
ElementStyle="{StaticResource CheckBoxColumnElementStyle}"
|
|
EditingElementStyle="{StaticResource CheckBoxColumnElementStyle}"
|
|
EditingElementStyle="{StaticResource CheckBoxColumnElementStyle}"
|
|
- Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType=DataGridRow}, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"/>
|
|
|
|
- <fdg:FilterDataGridTextColumn Header="批次号" Width="100"
|
|
|
|
|
|
+ Binding="{Binding IsSelected, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
+ <fdg:FilterDataGridTextColumn Header="材料批号" Width="200"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
Binding="{Binding BatchNo, UpdateSourceTrigger=PropertyChanged}" />
|
|
Binding="{Binding BatchNo, UpdateSourceTrigger=PropertyChanged}" />
|
|
- <fdg:FilterDataGridTextColumn Header="材料包号" Width="100"
|
|
|
|
|
|
+ <fdg:FilterDataGridTextColumn Header="包号" Width="100"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
Binding="{Binding PacketNo, UpdateSourceTrigger=PropertyChanged}" />
|
|
Binding="{Binding PacketNo, UpdateSourceTrigger=PropertyChanged}" />
|
|
@@ -848,22 +848,10 @@
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
Binding="{Binding UsageStatus}" />
|
|
Binding="{Binding UsageStatus}" />
|
|
- <!-- 不可编辑:直接使用Text类型列,直接赋值 -->
|
|
|
|
- <!--<fdg:FilterDataGridComboBoxColumn Header="使用状态" Width="100"
|
|
|
|
- SelectedItemBinding="{Binding UsageStatus, UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
- <DataGridComboBoxColumn.ItemsSource>
|
|
|
|
- <x:Array Type="sys:String" >
|
|
|
|
- <sys:String>未使用</sys:String>
|
|
|
|
- <sys:String>部分使用</sys:String>
|
|
|
|
- <sys:String>全部使用</sys:String>
|
|
|
|
- </x:Array>
|
|
|
|
- </DataGridComboBoxColumn.ItemsSource>
|
|
|
|
- </fdg:FilterDataGridComboBoxColumn>-->
|
|
|
|
<fdg:FilterDataGridTextColumn Header="备注" Width="200"
|
|
<fdg:FilterDataGridTextColumn Header="备注" Width="200"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
ElementStyle="{StaticResource TextColumnElementStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
EditingElementStyle="{StaticResource TextColumnEditingStyle}"
|
|
Binding="{Binding ShipNote, UpdateSourceTrigger=PropertyChanged}" />
|
|
Binding="{Binding ShipNote, UpdateSourceTrigger=PropertyChanged}" />
|
|
-
|
|
|
|
</fdg:FilterDataGrid.Columns>
|
|
</fdg:FilterDataGrid.Columns>
|
|
</fdg:FilterDataGrid>
|
|
</fdg:FilterDataGrid>
|
|
</Grid>
|
|
</Grid>
|