From ea68a3f422c041281f40e46c40a32262b3ff2dc6 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Wed, 27 Sep 2023 18:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/merchant/list/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/merchant/list/index.vue b/src/views/merchant/list/index.vue index 7fad077..79f3f59 100644 --- a/src/views/merchant/list/index.vue +++ b/src/views/merchant/list/index.vue @@ -275,7 +275,7 @@ @@ -1009,6 +1009,7 @@ export default { // 添加 onAdd () { this.add = true; + this.edit = 0; this.popFormVisible = true; this.form.auto_margin_rate = 0; //扣除 this.form.paid_margin = "0.00"; //支付的保证金 @@ -1027,6 +1028,7 @@ export default { //调用获取商圈 this.popFormVisible = true; //开启编辑表单 this.add = false; + this.edit = 1; const promise = await merchantUpdateApi(id); console.log("promise", promise); console.log(this.form);