diff --git a/src/views/points/appeal/components/AppealLedgerPanel.vue b/src/views/points/appeal/components/AppealLedgerPanel.vue index 9f90eba..241d00e 100644 --- a/src/views/points/appeal/components/AppealLedgerPanel.vue +++ b/src/views/points/appeal/components/AppealLedgerPanel.vue @@ -266,13 +266,17 @@ export default { this.approveTaskMissing = false this.approveFlow = [] this.approveFlowLoading = false + // 用列表返回的 adjustPoints 回填「调整积分」,便于审批人查看/沿用已有调整值 + const adjustPoints = row.adjustPoints === undefined || row.adjustPoints === null || row.adjustPoints === '' + ? undefined + : Number(row.adjustPoints) this.approveForm = { appealNo: row.appealNo, userName: row.userName, reportNo: row.reportNo, appealReason: row.appealReason, result: '1', - adjustPoints: undefined, + adjustPoints: Number.isNaN(adjustPoints) ? undefined : adjustPoints, comment: '' } this.approveVisible = true