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