代码提交

This commit is contained in:
黄少君
2023-11-15 19:59:37 +08:00
parent dcab74274f
commit 35b43ffd97
43 changed files with 1265 additions and 387 deletions

View File

@ -230,15 +230,17 @@ const handleOrderInfo = async (option) => {
let price = 0
let productParamList = []
let productAttrUnique = []
goodsList.value.forEach(item => {
price += item.cartInfo.truePrice * item.cartInfo.cartNum
productParamList.push({
productId: item.productId
productId: item.productId,
productAttrUnique: item.cartInfo.productAttrUnique
})
})
totalPrice.value = price
totalPrice.value = price.toFixed(2)
data.value.orderId = res[0].orderId
data.value.serviceType = refundType.value
data.value.productParamList = productParamList
@ -281,9 +283,10 @@ const handleApplyForAfterSales = async () => {
title: '申请成功,请等待审核'
})
push({url: '/pages/refundInfo/refundInfo'}, {
type:'redirectTo',
data: {
id: res,
}
},
})
}