From 9afbeaa891f9b146df09f77bbb2324e33f57a3d4 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 29 Jan 2024 18:41:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E7=89=A9=E6=96=99?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mtm/materials.vue | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/views/mtm/materials.vue b/src/views/mtm/materials.vue index 82eeeed9..c7ce729c 100644 --- a/src/views/mtm/materials.vue +++ b/src/views/mtm/materials.vue @@ -25,12 +25,13 @@ - + @@ -47,15 +48,17 @@ - + @@ -129,6 +132,12 @@ export default { this.$refs.saveDialog.open("add"); }); }, + table_copy(row) { + this.dialog.save = true; + this.$nextTick(() => { + this.$refs.saveDialog.open("add").setData(row); + }); + }, //编辑 table_edit(row) { this.dialog.save = true;