Browse Source

新增仓库类类型聚水潭齐越仓,聚水潭惠安仓

AddValidOverTime
shanji 2 years ago
parent
commit
125c6f0b6c
  1. 7
      BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs
  2. 8
      BBWY.Server.Model/Enums.cs

7
BBWY.Server.Business/PurchaseOrderV2/BatchPurchase/BatchPurchaseBusiness.cs

@ -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;
} }

8
BBWY.Server.Model/Enums.cs

@ -208,11 +208,11 @@
} }
/// <summary> /// <summary>
/// 仓库类型(如业务不需要则为null) 商家仓 = 1, 京仓 = 2, 云仓 = 3, 聚水潭=4 /// 仓库类型(如业务不需要则为null) 商家仓 = 1, 京仓 = 2, 云仓 = 3, 聚水潭齐越仓 = 4, 聚水潭惠安仓 = 5
/// </summary> /// </summary>
public enum StockType public enum StockType
{ {
= 1, = 2, = 3, = 4 = 1, = 2, = 3, = 4, = 5
} }
/// <summary> /// <summary>
@ -373,11 +373,11 @@
} }
/// <summary> /// <summary>
/// 入仓类型 (发回齐越 = 0, 厂商代发入仓 = 1) /// 入仓类型 (发回齐越 = 0, 厂商代发入仓 = 1, 其他仓不包装=2)
/// </summary> /// </summary>
public enum IntoStoreType public enum IntoStoreType
{ {
= 0, = 1 = 0, = 1, = 2
} }
} }
} }

Loading…
Cancel
Save