Explorar o código

fix:修改成本审核问题

luzhixia hai 1 mes
pai
achega
8701df3053
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      src/views/costAudit/auditInfo/auditManage/details.vue

+ 7 - 0
src/views/costAudit/auditInfo/auditManage/details.vue

@@ -54,6 +54,7 @@
         >
           <cost-audit
             :id="id"
+            ref="costAudit"
             :selected-project="selectedProject"
             :current-node="currentNode"
             :current-status="currentStatus"
@@ -450,6 +451,12 @@
           console.log(122)
           this.loadCostSurveyList()
         }
+        if (tab && tab.name === 'costAudit' && this.id) {
+          // 加载成本审核列表
+          this.$nextTick(() => {
+            this.$refs.costAudit.getDetail()
+          })
+        }
       },
       async loadSubmitMaterials() {
         try {