浏览代码

fix: 归档编辑生成修复

shiyanyu 2 周之前
父节点
当前提交
825896cdc1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/costAudit/auditInfo/archivesManage/ArchiveProofread.vue

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

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