From 7e0dfafab86926e91f4146a32141da8e5d48eee8 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 23 Apr 2025 14:45:20 +0800 Subject: [PATCH] fix:coding802 --- src/views/mtm/route_form.vue | 4 ++++ src/views/mtm/routepack_form.vue | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index 3b633f51..253c568f 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -22,6 +22,7 @@ v-model="form.process" placeholder="工序" clearable + filterable style="width: 100%" > @@ -315,7 +314,9 @@ export default { this.active = 1; that.form.id = res.id; that.routepack = res.id; + that.query.routepack = res.id; that.form.material_name = res.material_name; + that.apiObj = that.$API.mtm.route.list; }); } that.materials.forEach((item) => { @@ -406,11 +407,12 @@ export default { that.tLoading = false; }); }, - //本地更新数据 handleSaveSuccess() { - this.$refs.tables.refresh(); - this.getDEGdatas(); + console.log("handleSaveSuccess"); + let that = this; + that.$refs.tables.refresh(); + that.getDEGdatas(); }, }, };