From 5674bd6b2ce079c713b4f89b7e07cdf5110c3e17 Mon Sep 17 00:00:00 2001
From: hyingbo <1363390067@qq.com>
Date: 星期三, 30 七月 2025 18:55:03 +0800
Subject: [PATCH] 工具管理-刃磨信息字段取值错误

---
 src/views/tms/modules/WarehouseModal.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/tms/modules/WarehouseModal.vue b/src/views/tms/modules/WarehouseModal.vue
index e046771..9140e14 100644
--- a/src/views/tms/modules/WarehouseModal.vue
+++ b/src/views/tms/modules/WarehouseModal.vue
@@ -20,6 +20,12 @@
     components: {
       WarehouseForm
     },
+    props: {
+      treeSelected: {
+        type: Object,
+        default: {}
+      }
+    },
     data () {
       return {
         title:'',
@@ -29,10 +35,10 @@
       }
     },
     methods: {
-      add () {
+      add (nextSeq) {
         this.visible=true
         this.$nextTick(()=>{
-          this.$refs.realForm.add();
+          this.$refs.realForm.add(this.treeSelected, nextSeq);
         })
       },
       edit (record) {

--
Gitblit v1.9.3