|
@ -89,9 +89,9 @@ namespace BBWY.Client.ViewModels |
|
|
MessageBoxImage.Warning); |
|
|
MessageBoxImage.Warning); |
|
|
if (result != MessageBoxResult.Yes) return; |
|
|
if (result != MessageBoxResult.Yes) return; |
|
|
//;
|
|
|
//;
|
|
|
var parameters = (object[])obj ; |
|
|
var parameters = (object[])obj; |
|
|
|
|
|
|
|
|
var PurchasePlatform = (Platform)parameters[0] ;//采购平台
|
|
|
var PurchasePlatform = (Platform)parameters[0];//采购平台
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var purchaseAccount = globalContext.User.Shop.PurchaseAccountList.FirstOrDefault(p => p.PurchasePlatformId == PurchasePlatform); |
|
|
var purchaseAccount = globalContext.User.Shop.PurchaseAccountList.FirstOrDefault(p => p.PurchasePlatformId == PurchasePlatform); |
|
@ -102,6 +102,7 @@ namespace BBWY.Client.ViewModels |
|
|
Task.Factory.StartNew(() => QueryPurchaseOrder(PageIndex)); |
|
|
Task.Factory.StartNew(() => QueryPurchaseOrder(PageIndex)); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
if (res.Data != null) |
|
|
MessageBox.Show(res.Data.Msg); |
|
|
MessageBox.Show(res.Data.Msg); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -122,6 +123,7 @@ namespace BBWY.Client.ViewModels |
|
|
Task.Factory.StartNew(() => QueryPurchaseOrder(PageIndex)); |
|
|
Task.Factory.StartNew(() => QueryPurchaseOrder(PageIndex)); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
if (res.Data != null) |
|
|
MessageBox.Show(res.Data.Msg); |
|
|
MessageBox.Show(res.Data.Msg); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|