|
@ -756,14 +756,16 @@ namespace BBWY.Client.ViewModels |
|
|
{ |
|
|
{ |
|
|
PurchaseSkuList.Add(item); continue; |
|
|
PurchaseSkuList.Add(item); continue; |
|
|
} |
|
|
} |
|
|
|
|
|
PurchaseSkuItemBasicInfoResponse skuItem = null; |
|
|
var skuItem = list.Data.ItemList.FirstOrDefault(f => f.PurchaseSkuId == item.PurchaseSkuId); |
|
|
if (list.Data != null) skuItem = list.Data.ItemList.FirstOrDefault(f => f.PurchaseSkuId == item.PurchaseSkuId); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
App.Current.Dispatcher.Invoke(new Action(() => |
|
|
App.Current.Dispatcher.Invoke(new Action(() => |
|
|
{ |
|
|
{ |
|
|
PurchaseSkuList.Add(new PurchaseSku |
|
|
PurchaseSkuList.Add(new PurchaseSku |
|
|
{ |
|
|
{ |
|
|
Logo = skuItem.Logo, |
|
|
Logo = skuItem?.Logo, |
|
|
Title = skuItem.Title, |
|
|
Title = skuItem?.Title, |
|
|
IsNeedCer = item.IsNeedCer, |
|
|
IsNeedCer = item.IsNeedCer, |
|
|
PurchaseSkuId = item.PurchaseSkuId, |
|
|
PurchaseSkuId = item.PurchaseSkuId, |
|
|
CerDTO = item.CerDTO, |
|
|
CerDTO = item.CerDTO, |
|
|