Commit 72b7d526 by 胡悦

hebing

2 parents a489be49 99aaf13f
......@@ -191,6 +191,8 @@ export default {
IdChange: [0, 0, 0],
activeName: 'first',
merchantInfo: {},
isEdit: false,
editOptions: ['address', 'merchantChannelName', 'contactor', 'contactPhone', 'phone', 'email'],
List: [
{
name: 'merchantName',
......@@ -390,6 +392,16 @@ export default {
this.activeName = 'first'
this.merchantId = row.merchantId
},
// 编辑,取消
handleEdit(isCancel) {
// 保存
if (!isCancel && this.isEdit) {
console.log('调保存接口--')
this.isEdit = !this.isEdit
} else {
this.isEdit = !this.isEdit
}
},
// 切换tab
handleClick(tab, event) {
switch (tab.name) {
......@@ -538,5 +550,8 @@ export default {
.el-tabs__header {
background-color: #fafafa;
}
.detail .el-input {
width: 80%;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!