Browse Source

10212

pjzs_starttask_update
506583276@qq.com 2 years ago
parent
commit
a0d49a78d2
  1. 2
      BBWY.Client/GlobalContext.cs
  2. 4
      BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs

2
BBWY.Client/GlobalContext.cs

@ -13,7 +13,7 @@ namespace BBWY.Client
{
ShopServiceGroupList = new List<string>();
ShopServiceGroupLowerList = new List<string>();
ClientVersion = "10211";
ClientVersion = "10212";
}

4
BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs

@ -535,7 +535,7 @@ namespace BBWY.Client.ViewModels
}
request.BarcodeId = BarCodeModel.Id;
}
IsNeedPrintCer = Need.;
if (IsNeedPrintCer == Need.)
if (PurchaseSkuList != null && PurchaseSkuList.Count > 0 && purchaseSkuList.Any(p => p.IsNeedCer))
{
if (PurchaseSkuList.Where(p => p.IsSetCertificate).Count() > 0)
@ -555,7 +555,7 @@ namespace BBWY.Client.ViewModels
return;
}
request.CerId = string.Join(",", PurchaseSkuList.Where(p => p.IsNeedCer && p.CerDTO.Id > 0).Select(p => p.CerDTO.Id));
IsNeedPrintCer = Need.;
}
try

Loading…
Cancel
Save