Browse Source

fix(forecast-audit): 将审批表单id从字符串类型改为数字类型

yz 1 month ago
parent
commit
4c591e5925
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/forecast-audit/auditIndex.js

+ 1 - 1
src/views/forecast-audit/auditIndex.js

@@ -427,7 +427,7 @@ export default {
         if (valid) {
           this.submitting = true
           const approvalData = {
-              id: String(this.approvalForm.id),
+              id: Number(this.approvalForm.id),
               approvalStatus: this.approvalForm.isApprove ? APPROVAL_STATUS.APPROVED : APPROVAL_STATUS.REJECTED,
               approvalComment: this.approvalForm.comment
             }