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 { @@ -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

Loading…
Cancel
Save