From f43aeaa3b3960e7b886023a41bd799fce7232ce5 Mon Sep 17 00:00:00 2001 From: cuilei <ray_tsu1@163.com> Date: 星期二, 03 六月 2025 13:34:33 +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