Browse Source

订单列表显示退货

qianyi
shanji 3 years ago
parent
commit
5ae8ab602a
  1. 22
      BBWY.Client/Views/Order/OrderList.xaml
  2. 12
      BBWY.Server.API/appsettings.json

22
BBWY.Client/Views/Order/OrderList.xaml

@ -375,18 +375,24 @@
<Run Text="{Binding ItemTotal}"/>
</TextBlock>
<StackPanel Orientation="Horizontal">
<TextBlock Text="SPU:"/>
<c:BButton Content="{Binding ProductId}" Style="{StaticResource LinkButton}"
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<TextBlock Text="SPU:"/>
<c:BButton Content="{Binding ProductId}" Style="{StaticResource LinkButton}"
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}"
CommandParameter="{Binding ProductId}"
Margin=" 5,0,0,0"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="SKU:"/>
<c:BButton Content="{Binding Id}" Style="{StaticResource LinkButton}"
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="SKU:"/>
<c:BButton Content="{Binding Id}" Style="{StaticResource LinkButton}"
Command="{Binding DataContext.CopyTextCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Page}}}"
CommandParameter="{Binding Id}"
Margin=" 5,0,0,0"/>
</StackPanel>
</StackPanel>
<c:BButton Content="修改售后" Padding="5,0" Margin="5,0,0,0" Background="#EC808D"
Visibility="{Binding DataContext.OrderState,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListBox}},Converter={StaticResource objConverter},ConverterParameter=已完成:Visible:Collapsed}"/>
</StackPanel>
<TextBlock>
<Run Text="货号:" />
@ -397,6 +403,10 @@
<Run Text="买家备注:" />
<Run Text="{Binding BuyerRemark}"/>
</TextBlock>
<Border BorderBrush="#EC808D" BorderThickness="1" HorizontalAlignment="Left" Padding="5,2"
Visibility="{Binding IsRefund,ConverterParameter=true:Visible:Collapsed,Converter={StaticResource objConverter}}">
<TextBlock Text="退货" Foreground="#EC808D"/>
</Border>
</StackPanel>
<Border Grid.ColumnSpan="2" VerticalAlignment="Bottom" Height="1" Background="{StaticResource Border.Brush}"

12
BBWY.Server.API/appsettings.json

@ -33,6 +33,18 @@
{
"StoreId": "110023168",
"StoreName": "广州亚一综合B仓6号库"
},
{
"StoreId": "110008191",
"StoreName": "广州公共平台仓4号库"
},
{
"StoreId": "110017918",
"StoreName": "北京公共平台仓26号库"
},
{
"StoreId": "110013947",
"StoreName": "西安亚一3CA仓2号库"
}
]
}

Loading…
Cancel
Save