From 722789502ee51e0bbd5f0e9b8688b00c5e77201c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 7 Aug 2026 16:17:34 +0800 Subject: [PATCH] feat(wpm): improve handover record details --- src/views/wpm_gx/handover.vue | 80 ++++--- src/views/wpm_gx/handover_form.vue | 330 ++++++++++++++++------------- 2 files changed, 240 insertions(+), 170 deletions(-) diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index e76670b5..ca64c413 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -97,24 +97,25 @@ width="50" > - + @@ -471,21 +472,21 @@ export default { }); }, //编辑 - table_edit(row) { + async table_edit(row) { this.type=row.type; this.dialog.save = true; this.mode = "edit"; - this.$nextTick(() => { - this.$refs.saveDialog.open("edit").setData(row); - }); + await this.$nextTick(); + this.$refs.saveDialog.open("edit", "", row.mtype); + await this.$refs.saveDialog.loadData(row.id); }, - table_show(row){ + async table_show(row){ this.type=row.type; this.dialog.save = true; this.mode = "show"; - this.$nextTick(() => { - this.$refs.saveDialog.open("show").setData(row); - }); + await this.$nextTick(); + this.$refs.saveDialog.open("show", "", row.mtype); + await this.$refs.saveDialog.loadData(row.id); }, //删除 async table_del(row) { @@ -603,6 +604,35 @@ export default { };