From 1fb93f73037a8c40ea87c7f09f568df16a6869d1 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期五, 06 六月 2025 17:26:42 +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