Commit b6310aa4 by cwq0219
2 parents 2b7b1622 830f91ad
...@@ -336,7 +336,7 @@ export default { ...@@ -336,7 +336,7 @@ export default {
{ {
label: '父商户名称', label: '父商户名称',
prop: 'parentMerchantName', prop: 'parentMerchantName',
width: '100px' width: '200px'
}, },
{ {
label: '父商户号', label: '父商户号',
...@@ -528,8 +528,6 @@ export default { ...@@ -528,8 +528,6 @@ export default {
this.merchantDialogVisible = !this.merchantDialogVisible this.merchantDialogVisible = !this.merchantDialogVisible
}, },
submitMerchant() { submitMerchant() {
console.log(this.merchantInfo)
console.log(this.businessList)
const params = {} const params = {}
params.groupId = this.groupId params.groupId = this.groupId
params.merchantId = this.merchantInfo.merchantId params.merchantId = this.merchantInfo.merchantId
...@@ -538,9 +536,12 @@ export default { ...@@ -538,9 +536,12 @@ export default {
params.method = groupDetailMethods.GroupModifyLevel params.method = groupDetailMethods.GroupModifyLevel
request.req(params).then(res => { request.req(params).then(res => {
console.log(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 { ...@@ -555,6 +556,7 @@ export default {
console.log(res) console.log(res)
this.loading = false this.loading = false
this.businessList = res.merchantParams this.businessList = res.merchantParams
this.allMerchant = res.merchantParams
}).catch(err => { }).catch(err => {
notice.errorTips(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!