代码提交
This commit is contained in:
@ -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,
|
||||
}
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user