Commit b6310aa4 by cwq0219
2 parents 2b7b1622 830f91ad
......@@ -336,7 +336,7 @@ export default {
{
label: '父商户名称',
prop: 'parentMerchantName',
width: '100px'
width: '200px'
},
{
label: '父商户号',
......@@ -528,8 +528,6 @@ export default {
this.merchantDialogVisible = !this.merchantDialogVisible
},
submitMerchant() {
console.log(this.merchantInfo)
console.log(this.businessList)
const params = {}
params.groupId = this.groupId
params.merchantId = this.merchantInfo.merchantId
......@@ -538,9 +536,12 @@ export default {
params.method = groupDetailMethods.GroupModifyLevel
request.req(params).then(res => {
console.log(res)
notice.okTips()
this.merchantDialogVisible = !this.merchantDialogVisible
}).catch(err => {
notice.errorTips(err)
})
// 调用接口
// this.merchantDialogVisible = !this.merchantDialogVisible
},
// 树操作
// 父商户搜索
......@@ -555,6 +556,7 @@ export default {
console.log(res)
this.loading = false
this.businessList = res.merchantParams
this.allMerchant = res.merchantParams
}).catch(err => {
notice.errorTips(err)
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!