From 3435ffa71894cb3f355185970558fbff93897639 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 15 Aug 2024 16:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=88=9B=E5=BB=BA=E5=B7=A5=E8=89=BA?= =?UTF-8?q?=E8=B7=AF=E7=BA=BF=E7=82=B9=E5=87=BB=E4=B8=8A=E4=B8=80=E6=AD=A5?= =?UTF-8?q?=E6=97=B6=E5=88=9B=E5=BB=BA=E5=A4=9A=E6=9D=A1=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mtm/routepack_form.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/mtm/routepack_form.vue b/src/views/mtm/routepack_form.vue index da4ac074..8d270754 100644 --- a/src/views/mtm/routepack_form.vue +++ b/src/views/mtm/routepack_form.vue @@ -244,6 +244,7 @@ export default { let form = {}; form.name = that.form.name; form.material = that.form.material; + console.log("that.form",that.form) if (that.form.id) { that.$API.mtm.routepack.update .req(that.form.id, that.form) @@ -258,7 +259,9 @@ export default { } else { that.$API.mtm.routepack.create.req(form).then((res) => { this.active = 1; + that.form.id = res.id; that.routepack = res.id; + console.log("that.form",that.form) }); } },