修改商户类型详情

This commit is contained in:
luofei 2024-03-22 17:25:30 +08:00
parent efc2a0655f
commit 27648b69e0

View File

@ -113,6 +113,9 @@ export default {
description: "", description: "",
update_time: "", update_time: "",
create_time: "", create_time: "",
is_allow_apply: "",
is_search_display: "",
auto_margin_rate: "",
}, },
}; };
}, },
@ -150,13 +153,16 @@ export default {
description: info.description, description: info.description,
update_time: info.update_time, update_time: info.update_time,
create_time: info.create_time, create_time: info.create_time,
auto_margin_rate: info.auto_margin_rate,
is_allow_apply: info.is_allow_apply,
is_search_display: info.is_search_display,
merchant_count: info.merchant_count || 0 merchant_count: info.merchant_count || 0
}; };
this.$nextTick(()=>{ this.$nextTick(()=>{
this.$refs.editForm.name = 'basic'; this.$refs.editForm.name = 'basic';
this.$refs.editForm.setChecked(); this.$refs.editForm.setChecked();
}) })
}) })
.catch((res) => { .catch((res) => {
this.loading = false; this.loading = false;