Pārlūkot izejas kodu

上报trialSelfInspectionRecordId值修改

duy 2 gadi atpakaļ
vecāks
revīzija
5f31e471f9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/tentative/detect/test-form.vue

+ 1 - 1
src/views/tentative/detect/test-form.vue

@@ -168,7 +168,7 @@
         
         <!--批量上报审批-->
         <HcReportModal  title="批量上报审批" url="informationWriteQuery/taskOne" :show="showReportModal" :projectId="projectId" :contractId="contractId" type="wbs" :typeData="reportTypeData"
-        :taskName="reportTaskName" :ids="reportIds" :addition="reportAddition" :trialSelfInspectionRecordId="dataId"  @hide="showReportModal = false" @finish="showReportFinish"/>
+        :taskName="reportTaskName" :ids="reportIds" :addition="reportAddition" :trialSelfInspectionRecordId="dataId.length>0?dataId:nodeIdvalue.value"  @hide="showReportModal = false" @finish="showReportFinish"/>
     </div>
 </template>