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);