配合示方生成混炼示方优化

This commit is contained in:
2026-07-30 17:40:31 +08:00
parent 5c27bacd11
commit dea9b7a58c
15 changed files with 541 additions and 107 deletions

View File

@@ -144,7 +144,7 @@
<!-- 毛重 -->
<hc:Col Span="12">
<hc:NumericUpDown Value="{Binding Record.GrossWeight}"
<hc:NumericUpDown Value="{Binding GrossWeightInput, UpdateSourceTrigger=PropertyChanged}"
Minimum="0"
DecimalPlaces="2"
Style="{StaticResource NumericUpDownPlus}"
@@ -158,7 +158,7 @@
<!-- 皮重 -->
<hc:Col Span="12">
<hc:NumericUpDown Value="{Binding Record.TareWeight}"
<hc:NumericUpDown Value="{Binding TareWeightInput, UpdateSourceTrigger=PropertyChanged}"
Minimum="0"
DecimalPlaces="2"
Style="{StaticResource NumericUpDownPlus}"
@@ -170,17 +170,18 @@
Margin="0,0,0,16"/>
</hc:Col>
<!-- 净重(只读 -->
<!-- 净重(自动:毛重-皮重 -->
<hc:Col Span="12">
<hc:NumericUpDown Value="{Binding Record.NetWeight}"
<hc:NumericUpDown Value="{Binding NetWeightInput, Mode=OneWay}"
Minimum="0"
DecimalPlaces="2"
Style="{StaticResource NumericUpDownPlus}"
IsEnabled="True"
IsReadOnly="True"
IsEnabled="False"
hc:InfoElement.Title="净重(KG)"
hc:InfoElement.TitleWidth="80"
hc:InfoElement.TitlePlacement="Left"
hc:InfoElement.Placeholder="自动计算"
hc:InfoElement.Placeholder="毛重-皮重自动计算"
Margin="0,0,0,16"/>
</hc:Col>