From 8c605f85fc5b3297aa69e7d574d1a10235caa96c Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期六, 12 十月 2024 15:17:31 +0800 Subject: [PATCH] 修改itemid --- src/views/data/ind/item/DerIndDefineForm.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/data/ind/item/DerIndDefineForm.vue b/src/views/data/ind/item/DerIndDefineForm.vue index b05021c..f5b4235 100644 --- a/src/views/data/ind/item/DerIndDefineForm.vue +++ b/src/views/data/ind/item/DerIndDefineForm.vue @@ -243,7 +243,7 @@ }else { formData.value.derItem.dimension = "" } - await handleChange(formData.value.atomItem.itemId) + await handleChange(formData.value.derItem.atomItemId) } finally { formLoading.value = false } @@ -320,8 +320,9 @@ async function handleChange(event) { if (event !== null && event !== undefined) { const itemData = await ItemApi.getItem(event) + let a = itemData.atomItem.id + formData.value.atomItem.id = a formData.value.atomItem.itemName = itemData.itemName - formData.value.atomItem.id = itemData.atomItem.id formData.value.atomItem.itemId = itemData.atomItem.itemId const queryParams = reactive({ dataSetId: itemData.atomItem.dataSet, -- Gitblit v1.9.3