更新
This commit is contained in:
parent
2f0f405bdd
commit
ea68a3f422
@ -275,7 +275,7 @@
|
||||
</el-card>
|
||||
<!-- 添加商户弹出层 -->
|
||||
<el-dialog
|
||||
title="添加商品"
|
||||
:title="edit == 0 ? '新增商户信息' : '编辑商户信息'"
|
||||
:visible.sync="popFormVisible"
|
||||
@close="close('form')"
|
||||
>
|
||||
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user