Commit 212fdaac authored by GuanHua's avatar GuanHua

feat:下单接口添加最小起购数参数

parent a0af7fb6
......@@ -481,6 +481,7 @@ const CommodityDetail = (props) => {
category: commodityDetail.customerCategory.name,
brand: commodityDetail.brand.name,
stockCount: stockCount,
minOrder: commodityDetail.minOrder,
commodityPic: attrAndValList.commodityPic ? attrAndValList.commodityPic[0] : commodityDetail.mainPic,
attribute: attrAndValList.attributeAndValueList
}
......
......@@ -295,6 +295,7 @@ const Order: React.FC<OrderPropsType> = (props) => {
temp.brand = orderItem.brand
temp.logistics = orderItem.logistics
temp.deliveryType = orderItem.logistics.deliveryType
temp.minOrder = orderItem.minOrder
temp.memberId = orderInfo.supplyMembersId
temp.memberRoleId = orderInfo.supplyMembersRoleId
orderProductRequests.push(temp)
......
......@@ -512,6 +512,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
unitPrice: getUnitPrice(item.commodityUnitPrice, item.count),
logistics: item.commodityUnitPrice.commodity.logistics,
name: item.commodityUnitPrice.commodity.name,
minOrder: item.commodityUnitPrice.commodity.minOrder,
priceRange: item.commodityUnitPrice.priceRange,
category: item.commodityUnitPrice.commodity.customerCategory.name,
brand: item.commodityUnitPrice.commodity.brand.name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment