Commit 92f17f98 by cen Committed by chenwq1

fix: 工单确认修改

1 parent 3a5d8f20
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
let warrantyCardList = [] let warrantyCardList = []
for (var i = 0; i < data?.subOrderList?.length; i++) { for (var i = 0; i < data?.subOrderList?.length; i++) {
let e = data?.subOrderList[i] let e = data?.subOrderList[i]
total_price += e.finalPrice total_price += Number(e.finalPrice) || 0
// 根据订单类型决定使用哪个价格: // 根据订单类型决定使用哪个价格:
// - 正常订单(1)和冲量活动(4):使用 totalPrice(原价) // - 正常订单(1)和冲量活动(4):使用 totalPrice(原价)
// - 打折策略(2)、买赠策略(3)、组合付款(5):使用 finalPrice(优惠后价格) // - 打折策略(2)、买赠策略(3)、组合付款(5):使用 finalPrice(优惠后价格)
...@@ -373,7 +373,7 @@ export default { ...@@ -373,7 +373,7 @@ export default {
item.packageGoodsOrderList.forEach(g => { item.packageGoodsOrderList.forEach(g => {
g.positionStr = this.positionTypeList.filter(v => v.positionValue == g.upgradeGoodsPosition)[0]?.positionName || '' g.positionStr = this.positionTypeList.filter(v => v.positionValue == g.upgradeGoodsPosition)[0]?.positionName || ''
}) })
total_price += item.finalPrice total_price += Number(item.finalPrice) || 0
}) })
data = { data = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!