|
@ -11,6 +11,8 @@ namespace BBWY.Client.Models |
|
|
PurchasePlatformList = new List<PurchasePlatformModel>(); |
|
|
PurchasePlatformList = new List<PurchasePlatformModel>(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private PurchasePlatformModel selectedPurchasePlatformModel; |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 商品Id
|
|
|
/// 商品Id
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
@ -41,10 +43,20 @@ namespace BBWY.Client.Models |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public IList<PurchasePlatformModel> PurchasePlatformList { get; set; } |
|
|
public IList<PurchasePlatformModel> PurchasePlatformList { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 选中的采购平台
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public PurchasePlatformModel SelectedPurchasePlatformModel |
|
|
|
|
|
{ |
|
|
|
|
|
get => selectedPurchasePlatformModel; |
|
|
|
|
|
set { Set(ref selectedPurchasePlatformModel, value); } |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public void CreatePlatformList() |
|
|
public void CreatePlatformList() |
|
|
{ |
|
|
{ |
|
|
PurchasePlatformList.Add(new PurchasePlatformModel() { ProductId = this.Id, PurchasePlatform = Platform.阿里巴巴 }); |
|
|
PurchasePlatformList.Add(new PurchasePlatformModel() { ProductId = this.Id, PurchasePlatform = Platform.阿里巴巴 }); |
|
|
PurchasePlatformList.Add(new PurchasePlatformModel() { ProductId = this.Id, PurchasePlatform = Platform.拳探 }); |
|
|
PurchasePlatformList.Add(new PurchasePlatformModel() { ProductId = this.Id, PurchasePlatform = Platform.拳探 }); |
|
|
|
|
|
SelectedPurchasePlatformModel = PurchasePlatformList[0]; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|