From 4c8b185fea72bc3bb8fc380a196b8fe2a8e5f1af Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期四, 03 七月 2025 20:13:28 +0800
Subject: [PATCH] 设备管理问题修改

---
 src/views/tms/WarehouseList.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/tms/WarehouseList.vue b/src/views/tms/WarehouseList.vue
index 8d08ca8..9be0090 100644
--- a/src/views/tms/WarehouseList.vue
+++ b/src/views/tms/WarehouseList.vue
@@ -267,6 +267,12 @@
       this.$bus.$off('getCurrSelected', this.handleGetCurrSelected);
     },
     methods: {
+      handleAdd: function () {
+        const nextSeq = Number(this.dataSource[this.dataSource.length - 1].seq) + 1
+        this.$refs.modalForm.add(nextSeq);
+        this.$refs.modalForm.title = "鏂板";
+        this.$refs.modalForm.disableSubmit = false;
+      },
       handleStatus(record) {
         getAction(this.url.list, { parentId: record.id }).then((res) => {
           if (res.success) {

--
Gitblit v1.9.3