|
@ -725,7 +725,8 @@ namespace BBWY.Server.Business |
|
|
ProductAmount = currentOrderSkuProductAmount, |
|
|
ProductAmount = currentOrderSkuProductAmount, |
|
|
PurchaseFreight = currentOrderSkuFreightAmount, |
|
|
PurchaseFreight = currentOrderSkuFreightAmount, |
|
|
CreateTime = DateTime.Now, |
|
|
CreateTime = DateTime.Now, |
|
|
StockType = request.IntoStoreType == Enums.IntoStoreType.发回齐越 ? firstProductParam.StockType : null |
|
|
StockType = request.IntoStoreType == Enums.IntoStoreType.发回齐越 || request.IntoStoreType == Enums.IntoStoreType.其他仓不包装 ? |
|
|
|
|
|
firstProductParam.StockType : null |
|
|
}; |
|
|
}; |
|
|
insertPurchaseOrderSkuList.Add(purchaseOrderSku); |
|
|
insertPurchaseOrderSkuList.Add(purchaseOrderSku); |
|
|
|
|
|
|
|
@ -878,8 +879,10 @@ namespace BBWY.Server.Business |
|
|
return 1; |
|
|
return 1; |
|
|
if (stockType == Enums.StockType.商家仓) |
|
|
if (stockType == Enums.StockType.商家仓) |
|
|
return 0; |
|
|
return 0; |
|
|
if (stockType == Enums.StockType.聚水潭) |
|
|
if (stockType == Enums.StockType.聚水潭齐越仓) |
|
|
return 3; |
|
|
return 3; |
|
|
|
|
|
if (stockType == Enums.StockType.聚水潭惠安仓) |
|
|
|
|
|
return 4; |
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|