From ac83abeeafb189a84e9f3ea52b57acee979a353c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 18 九月 2023 13:31:32 +0800
Subject: [PATCH] 1.往来单位导入测试中
---
src/views/materialManager/inventoryList.vue | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/views/materialManager/inventoryList.vue b/src/views/materialManager/inventoryList.vue
index ca58758..f1e0090 100644
--- a/src/views/materialManager/inventoryList.vue
+++ b/src/views/materialManager/inventoryList.vue
@@ -704,6 +704,9 @@
i.idparent = i.idparent ? i.idparent : '-1'
})
this.treeLeftArr = res.data
+ this.treeLeftArr.forEach(e => {
+ e.name = e.code + ' ' + e.name
+ })
this.treeLeft = arrayToTree(this.treeLeft.concat(res.data), {
parentProperty: 'idparent',
customID: 'code',
--
Gitblit v1.9.3