ソースを参照

fix: 归档编辑生成修复

shiyanyu 2 週間 前
コミット
825896cdc1

+ 3 - 0
src/views/costAudit/auditInfo/archivesManage/ArchiveProofread.vue

@@ -387,6 +387,7 @@
           ],
         },
         currentCoverRemarkRow: null,
+        tableRow: {},
       }
     },
     watch: {
@@ -424,6 +425,7 @@
         }
       },
       handleGenerate(row) {
+        this.tableRow = row
         // 处理生成操作
         this.currentGenerateRow = row
 
@@ -715,6 +717,7 @@
               documentType: this.generateForm.documentType,
               retentionPeriod: this.generateForm.retentionPeriod,
               archiveNo: this.generateForm.archiveNo,
+              relatedId: this.tableRow.relatedId,
             }
 
             // 如果有ID,说明是编辑