京西自提单不算配送费

This commit is contained in:
苏尹岚
2020-08-19 16:03:01 +08:00
parent c93402c1f5
commit 1372895cec

View File

@@ -762,6 +762,9 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
outJxOrder.FreightPrice = 0
}
}
if IsDeliverySelf {
outJxOrder.FreightPrice = 0
}
}
if err == nil {
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice