|
@@ -71,11 +71,10 @@ Page({
|
|
|
typeName: this.formatPeriod(item.activationCodeInfo?.times || 1, item.activationCodeInfo.type)
|
|
|
})
|
|
|
})
|
|
|
- const firstGoods = tempGoods[0]
|
|
|
let refundStyleStr = ''
|
|
|
- if(firstGoods?.refundStyle === 'TURN_BACK') {
|
|
|
+ if(result.refundStyle === 'TURN_BACK') {
|
|
|
refundStyleStr = '原路返回'
|
|
|
- } else if(firstGoods?.refundStyle === 'OFFLINE') {
|
|
|
+ } else if(result.refundStyle === 'OFFLINE') {
|
|
|
refundStyleStr = '线下'
|
|
|
}
|
|
|
const goodsInfo = {
|
|
@@ -83,8 +82,8 @@ Page({
|
|
|
createTime: result.createTime,
|
|
|
wechatStatus: result.wechatStatus,
|
|
|
goods: tempGoods,
|
|
|
- refundTime: firstGoods.refundTime,
|
|
|
- refundAmount: firstGoods.refundAmount,
|
|
|
+ refundTime: result.refundTime,
|
|
|
+ refundAmount: this.formatPrice(result.refundAmount || 0, 'ALL'),
|
|
|
refundStyleStr
|
|
|
}
|
|
|
this.setData({
|