duy 7 ay önce
ebeveyn
işleme
01328da131

+ 3 - 1
src/views/desk/wbs/element-lib.vue

@@ -321,8 +321,9 @@ const editFormulaFinish = () => {
 //编辑元素
 const editElementShow = ref(false)
 const editElementInfo = ref({})
-const rowEditClick = (row) => {
+const rowEditClick = async (row) => {
     editElementInfo.value = row
+    await nextTick()
     editElementShow.value = true
 }
 //编辑元素表单信息
@@ -346,6 +347,7 @@ const editTable = async () => {
             fillRate: ele.fillRate,
         })
     })
+    await nextTick()
     editTableShow.value = true
 }
 const ownerTypeList = ref([])

+ 2 - 1
src/views/project/list/independent/index.vue

@@ -366,8 +366,9 @@ const editFormulaFinish = () => {
 //分配WBS
 const isAllocateShow = ref(false)
 const allocateWbsInfo = ref({})
-const assignWbs = (row) => {
+const assignWbs = async (row) => {
     allocateWbsInfo.value = row
+    await nextTick()
     isAllocateShow.value = true
 }