3
0
Fork 0

feat(CashDetails): 提现明细总计行数据错位问题处理

This commit is contained in:
woody 2025-08-20 14:19:06 +08:00
parent 09b7ed1d60
commit 6cab5ec070
3 changed files with 25 additions and 6 deletions

View File

@ -279,3 +279,11 @@ export function batchReject(data) {
data
})
}
export function refreshPayStatus(params) {
return request({
url: '/pay/manage/online-payment/compensationCallBack',
method: 'get',
params
})
}

View File

@ -1004,10 +1004,9 @@ export default {
numberToCurrencyNo(obj.serviceCharge),
numberToCurrencyNo(obj.incomeTax),
numberToCurrencyNo(obj.issuedAmount),
numberToCurrencyNo(obj.settleCashAmount),
numberToCurrencyNo(obj.settleServiceCharge),
numberToCurrencyNo(obj.settleIncomeTax),
numberToCurrencyNo(obj.settleIssuedAmount),
'',
'',
'',
'',
'',
'',

View File

@ -310,12 +310,14 @@
>
<template slot-scope="scope">
<el-button
v-show="scope.row.payStatus !== 1"
v-has-buttons="['OnlinePayDetailsRefreshStatus']"
style="color: #ffad41"
type="text"
size="small"
@click="toFixed(scope.row.pkId)"
@click="refreshStatus(scope.row)"
>
{{ '导出' }}
刷新状态
</el-button>
</template>
</el-table-column>
@ -491,6 +493,16 @@ export default {
return 'success-row'
}
return ''
},
refreshStatus({ businessCode }) {
api.refreshPayStatus({ businessCode }).then((res) => {
if (res.code === 200) {
this.$message.success('刷新成功')
this.getDataList()
} else {
this.$message.error(res.msg)
}
})
}
}
}