guarantee-lsq há 2 anos atrás
pai
commit
b2603b803f
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      src/views/sb/scraps/modules/DetailAudit.vue

+ 5 - 1
src/views/sb/scraps/modules/DetailAudit.vue

@@ -119,7 +119,11 @@ export default {
       } else if (record.remark === this.DictCache.VALUE.CUSTOM_TEMPLATE_SB_REMARK.SB_STOP_FORM) {
         this.sbInfoStop = true
       }
-      model.id = record.targetId // 将targetId赋给model,带入history,用作提交
+      if (record.targetId === undefined) {
+        model.id = record.id // 将targetId赋给model,带入history,用作提交
+      } else {
+        model.id = record.targetId // 将targetId赋给model,带入history,用作提交
+      }
       const modal = this.$refs.history
       model.auditModelKey = record.remark
       modal.base(model, this.task.taskId)