506583276@qq.com 2 years ago
parent
commit
6964d22723
  1. 9
      BBWY.Client/ViewModels/PackTask/CreatePackTaskViewModel.cs
  2. 2
      BBWY.Client/Views/MainWindow.xaml

9
BBWY.Client/ViewModels/PackTask/CreatePackTaskViewModel.cs

@ -552,6 +552,11 @@ namespace BBWY.Client.ViewModels.PackTask
private void InseartCer()
{
if (IsSetSpuCertificate)
{
new TipsWindow("无可用模板").Show();
return;
}
CertificateModel = new CertificateModel()
{
//SpuId = SpuCertificateModel.SpuId,
@ -587,7 +592,7 @@ namespace BBWY.Client.ViewModels.PackTask
private void SaveSpuCer()
{
if (string.IsNullOrEmpty(SpuCertificateModel.ExcuteStander)
|| string.IsNullOrEmpty(SpuCertificateModel.Shader) || string.IsNullOrEmpty(SpuCertificateModel.BrandName)
|| string.IsNullOrEmpty(SpuCertificateModel.BrandName)
|| string.IsNullOrEmpty(SpuCertificateModel.Brand) || string.IsNullOrEmpty(SpuCertificateModel.ProductShop)
|| string.IsNullOrEmpty(SpuCertificateModel.ProductAdress))
{
@ -615,8 +620,6 @@ namespace BBWY.Client.ViewModels.PackTask
IsSetSpuCertificate = false;
return;
}
IsNeedCertificateModel = "需要";
CertificateModel.Id = resData.Data;
IsSetSpuCertificate = false;
setSpuCerWindow.Close();
}

2
BBWY.Client/Views/MainWindow.xaml

@ -26,7 +26,7 @@
<!--<TextBlock Text="{Binding GlobalContext.User.TeamName}" Margin="5,0,0,0"/>
<TextBlock Text="{Binding GlobalContext.User.Shop.Platform}" Margin="5,0,0,0"/>-->
<TextBlock Text="{Binding GlobalContext.User.Shop.ShopName}" Margin="5,0,0,0"/>
<TextBlock Text="v10088" Margin="5,0,0,0"/>
<TextBlock Text="v10090" Margin="5,0,0,0"/>
</StackPanel>
</Border>
<Grid Grid.Row="1">

Loading…
Cancel
Save