From ea0250cf26f16b5f40f2da259796b9c581e39b6b Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期六, 12 十月 2024 13:44:56 +0800
Subject: [PATCH] 修改itemid

---
 src/views/data/ind/item/DerIndDefineForm.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/data/ind/item/DerIndDefineForm.vue b/src/views/data/ind/item/DerIndDefineForm.vue
index 60a72f1..b05021c 100644
--- a/src/views/data/ind/item/DerIndDefineForm.vue
+++ b/src/views/data/ind/item/DerIndDefineForm.vue
@@ -262,7 +262,7 @@
     formLoading.value = true
     try {
       formData.value.itemType = 'DER'
-      formData.value.derItem.atomItemId = formData.value.atomItem.id
+      formData.value.derItem.atomItemId = formData.value.atomItem.itemId
       if(formData.value.derItem.dimension.length > 0){
         let dimension = ''
         for (let index in formData.value.derItem.dimension){
@@ -322,7 +322,7 @@
       const itemData = await ItemApi.getItem(event)
       formData.value.atomItem.itemName = itemData.itemName
       formData.value.atomItem.id = itemData.atomItem.id
-      formData.value.atomItem.itemId = itemData.id
+      formData.value.atomItem.itemId = itemData.atomItem.itemId
       const queryParams = reactive({
         dataSetId: itemData.atomItem.dataSet,
       })

--
Gitblit v1.9.3