Commit 309a61aa by 胡悦

修改新增商户

1 parent 8a082888
...@@ -128,19 +128,10 @@ export default { ...@@ -128,19 +128,10 @@ export default {
childLoading: false, childLoading: false,
businessList: [], businessList: [],
businessChildList: [], businessChildList: [],
addList: [ addList: []
// {
// label: '子商户1',
// merchant: '',
// merchantType: ''
// }
]
} }
}, },
watch: { watch: {
groupId(val) {
console.log(this.groupId)
},
addDialogVisible(val) { addDialogVisible(val) {
this.$validator.errors.clear() this.$validator.errors.clear()
}, },
...@@ -244,8 +235,6 @@ export default { ...@@ -244,8 +235,6 @@ export default {
}, },
// 子商户远程搜索 // 子商户远程搜索
remoteChildList(query) { remoteChildList(query) {
console.log(this.addForm.merchant)
console.log(query)
if (query !== '') { if (query !== '') {
this.childLoading = true this.childLoading = true
const params = {} const params = {}
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</div> </div>
</gl-dialog> </gl-dialog>
<add-business <add-business
:groupId="groupId" :groupId="groupId+''"
:addDialogVisible="addDialogVisible" :addDialogVisible="addDialogVisible"
@addData="handleAddData" @addData="handleAddData"
></add-business> ></add-business>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!