This commit is contained in:
weipengfei 2023-09-27 18:16:27 +08:00
parent 2f0f405bdd
commit ea68a3f422

View File

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