Browse Source

关联原材料检测报告树形控件获取

duy 2 years ago
parent
commit
6953be31a5
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/tentative/material/components/TestTreeMaterial.vue

+ 4 - 2
src/views/tentative/material/components/TestTreeMaterial.vue

@@ -98,8 +98,9 @@ watch(() => [
     props.tenantId,
     props.idPrefix,
     props.wbsType,
-    props.fromType
-], ([expandKeys, UserProjectId, UserContractId, UserWbsTempId, UserTenantId, UserIdPrefix, wbs_type,fromType]) => {
+    props.fromType,
+    props.MixRatioTestTreeData
+], ([expandKeys, UserProjectId, UserContractId, UserWbsTempId, UserTenantId, UserIdPrefix, wbs_type,fromType,MixRatioTest_treeData]) => {
     TreeExpandKey.value = expandKeys
     projectId.value = UserProjectId
     contractId.value = UserContractId
@@ -108,6 +109,7 @@ watch(() => [
     idPrefix.value = UserIdPrefix
     wbsType.value = wbs_type
     fromTypedata.value=fromType
+    treedata.value=MixRatioTest_treeData
 })
 
 //事件