Ver Fonte

关联质检资料修改

duy há 1 ano atrás
pai
commit
3ca569ef20

+ 4 - 1
src/views/debit-pay/admin/components/middlepay/addBillBaseModal.vue

@@ -72,7 +72,10 @@ watch(() => props.dataId, (id) => {
 //监听
 watch(isShow, (val) => {
     if (val) {
-        getTableData()
+        setTimeout(() => {
+            getTableData()
+        }, 500)
+    
     }
 })
 

+ 1 - 1
src/views/debit-pay/admin/components/middlepay/qualityRleation.vue

@@ -151,7 +151,7 @@ const getTableData = async () => {
         ...searchForm.value,
         contractId:cid.value,
         projectId:projectId.value,
-        nodeId:curTree.value.id,
+        nodeId:curTree.value.pKeyId,
         contractIdRelation:curTree.value?.contractIdRelation || '',
   
     })