统计订单详情增加备注提示,
备注可以输入空
This commit is contained in:
1 parent
4e122fce6e
commit
6b36de2494
2 files changed
+10
-3
No files matched your search
@@ -183,9 +183,16 @@
|
|||||||
<DataGridTextColumn
|
<DataGridTextColumn
|
||||||
Width="1.1*"
|
Width="1.1*"
|
||||||
Binding="{Binding Remark}"
|
Binding="{Binding Remark}"
|
||||||
ElementStyle="{StaticResource CenterCellTextStyle}"
|
|
||||||
Header="备注"
|
Header="备注"
|
||||||
Visibility="{Binding Source={StaticResource ViewModel}, Path=Data.IsBuyerUnrefunded, Converter={StaticResource Boolean2VisibilityConverter}}" />
|
Visibility="{Binding Source={StaticResource ViewModel}, Path=Data.IsBuyerUnrefunded, Converter={StaticResource Boolean2VisibilityConverter}}">
|
||||||
|
<DataGridTextColumn.ElementStyle>
|
||||||
|
<Style TargetType="TextBlock">
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="ToolTip" Value="{Binding Remark}" />
|
||||||
|
</Style>
|
||||||
|
</DataGridTextColumn.ElementStyle>
|
||||||
|
</DataGridTextColumn>
|
||||||
<!-- 操作:仅“买手未退回金额的订单”弹窗显示(列可见性在构造函数里按订单明细类型设置) -->
|
<!-- 操作:仅“买手未退回金额的订单”弹窗显示(列可见性在构造函数里按订单明细类型设置) -->
|
||||||
<DataGridTemplateColumn
|
<DataGridTemplateColumn
|
||||||
x:Name="colUpdateRefund"
|
x:Name="colUpdateRefund"
|
||||||
|
|||||||
@@ -379,7 +379,7 @@ class ShowOrderDialogViewModel : BindableBaseEx
|
|||||||
|
|
||||||
private async Task UpdateRemark(ShopOrderDetailRow row)
|
private async Task UpdateRemark(ShopOrderDetailRow row)
|
||||||
{
|
{
|
||||||
string? remark = InputDialog.ShowText("请输入备注:", "备注", row.Remark);
|
string? remark = InputDialog.ShowText("请输入备注:", "备注", row.Remark, allowEmpty: true);
|
||||||
if (remark == null)
|
if (remark == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user