fix(reportingData): 修复撤回申报数据的类型值错误
- 将 this.dropdownCode 替换为固定的 'cancellation' 字符串 - 确保在撤销对话框中提交的数据类型始终正确
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -131,7 +131,7 @@ | ... | @@ -131,7 +131,7 @@ |
| 131 | let obj = { | 131 | let obj = { |
| 132 | cancellationReason: this.cancelFormData.otherReason || this.cancelFormData.cancellationReason, | 132 | cancellationReason: this.cancelFormData.otherReason || this.cancelFormData.cancellationReason, |
| 133 | declareIds: [], | 133 | declareIds: [], |
| 134 | - type: this.dropdownCode, | 134 | + type: 'cancellation', |
| 135 | }; | 135 | }; |
| 136 | this.selectedDatas.forEach((item) => { | 136 | this.selectedDatas.forEach((item) => { |
| 137 | obj.declareIds.push(item.declareId); | 137 | obj.declareIds.push(item.declareId); |
| ... | @@ -188,4 +188,3 @@ | ... | @@ -188,4 +188,3 @@ |
| 188 | } | 188 | } |
| 189 | } | 189 | } |
| 190 | </style> | 190 | </style> |
| 191 | - | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment