Commit 5b925897 by 前端

商户调整

1 parent c3df96a7
......@@ -27,6 +27,7 @@
placeholder="请选择商户"
size="small"
@change="changeMerchant"
@focus="selectMerchant"
>
<el-option
v-for="(item, index) in merchantList"
......@@ -456,6 +457,7 @@ export default {
},
mounted() {
this.$root.eventBus.$on('params', (params) => {
console.log(params)
// 判断是否是编辑
if (params && params.type) {
this.isEditor = true
......@@ -467,8 +469,8 @@ export default {
this.isClone = true
this.findMissionDeail(params.id)
}
this.selectMerchant()
})
this.selectMerchant()
},
methods: {
// 点击选择活动/任务
......@@ -505,7 +507,7 @@ export default {
return
}
let params = {}
params.sceneCode = 'SC00' + this.basicForm.businessScene
params.sceneCode = 'SC003'
params.merchantName = query
taskApi.findMerchantByScene(params).then((res) => {
this.merchantList = res.data.data
......@@ -521,8 +523,6 @@ export default {
remoteMethod(query) {
if (query !== '') {
this.selectMerchant(query)
} else {
this.merchantList = []
}
},
// 选择活动
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!