From 5337df8b2a495d78c3f45f9d7bf0985e7b5e3d5b Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 18 十月 2023 19:54:47 +0800
Subject: [PATCH] 位置类型的枚举值修改

---
 src/views/warehouseManage/position/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/warehouseManage/position/index.vue b/src/views/warehouseManage/position/index.vue
index 90b282d..78077cc 100644
--- a/src/views/warehouseManage/position/index.vue
+++ b/src/views/warehouseManage/position/index.vue
@@ -142,7 +142,7 @@
       console.log(row)
       this.editConfig.title = "缂栬緫"
       this.editConfig.infomation = { ...row }
-      this.editConfig.infomation.parentId = Number(this.editConfig.infomation.parentId)
+      this.editConfig.infomation.parentId = this.editConfig.infomation.parentId?Number(this.editConfig.infomation.parentId):null
       this.editConfig.visible = true
     },
     // 鏂板缓

--
Gitblit v1.8.0