Browse Source

Web 申诉台账去审批弹层按 adjustPoints 回填调整积分

master
DU 1 month ago committed by trae-solo-agent
parent
commit
61c1e089c1
  1. 6
      src/views/points/appeal/components/AppealLedgerPanel.vue

6
src/views/points/appeal/components/AppealLedgerPanel.vue

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

Loading…
Cancel
Save