|
|
@ -235,6 +235,17 @@ namespace BBWY.Client.ViewModels |
|
|
|
sd.ShowDialog(); |
|
|
|
} |
|
|
|
else if (storageType == StorageType.代发) |
|
|
|
{ |
|
|
|
if (order.ItemList.Count > 1) |
|
|
|
{ |
|
|
|
MessageBox.Show("多个Sku请拆单", "提示"); |
|
|
|
return; |
|
|
|
} |
|
|
|
var chooseDFType = new ChooseDFType(order.ItemList[0].Id); |
|
|
|
if (chooseDFType.ShowDialog() != true) |
|
|
|
return; |
|
|
|
|
|
|
|
if (chooseDFType.DFType == DFType.关联订单) |
|
|
|
{ |
|
|
|
var relationPurchaseOrder = new RelationPurchaseOrder(orderId, null, order.ItemList.Select(osku => new RelationPurchaseOrderSku() |
|
|
|
{ |
|
|
@ -247,6 +258,11 @@ namespace BBWY.Client.ViewModels |
|
|
|
relationPurchaseOrder.Closed += RelationPurchaseOrder_Closed; |
|
|
|
relationPurchaseOrder.ShowDialog(); |
|
|
|
} |
|
|
|
else if (chooseDFType.DFType == DFType.在线采购) |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void RelationPurchaseOrder_Closed(object sender, EventArgs e) |
|
|
|