This commit is contained in:
邹宗楠
2023-08-19 10:50:15 +08:00
parent 018308ce61
commit 5cb97fb787
4 changed files with 29 additions and 7 deletions

View File

@@ -764,6 +764,11 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao.
if intVendorSkuID != 0 && v.VendorSkuID != "-70000" { // todo hard code
skuBindInfo := skumapper[v.VendorSkuID]
if skuBindInfo == nil {
// 商品直接在美团创建,本地不存在商品信息,且为美团商品.如果门店是报价门店则获取商品的进货价
//if v.ShopPrice == model.NO && v.VendorID == model.VendorIDMTWM && order.OrderPayPercentage >= 50 {
//
//}
if v.ShopPrice == 0 {
v.ShopPrice = v.SalePrice * 70 / 100
}