Commit f7f13e18 by 匡雅琴

关联企微bug修复

1 parent db2e9746
......@@ -14,7 +14,7 @@
<template v-for="item in searchList">
<li :key="item.id" class="el-cascader__suggestion-item" :class="item.departmentName == searchKey.departmentName" v-if="!item.childrenNums" @click="selectMerchantItem(item)">
<div>{{ item.merchantName }}</div>
<div class="parent-merchant">{{ item.parentMerchant }}</div>
<div class="parent-merchant">{{ item.parentMerchantName }}</div>
</li>
</template>
</template>
......@@ -132,7 +132,6 @@ export default {
// supRangeMerchantNo-商户ID
params.parentMerchantNo = this.$globalState.session.merchantId
this.$apis.baseInfo.findMerchantTreeList(params).then(res => {
console.log(res)
if (res.data.length) {
this.count = res.count
if (res.pageNum == 1) {
......@@ -140,7 +139,6 @@ export default {
} else {
this.searchList = this.searchList.concat(res.data)
}
console.log(this.searchList)
}
})
this.visible = true
......@@ -166,7 +164,6 @@ export default {
},
// 选择商户账户
selectMerchant(val) {
console.log(val)
this.searchKey.id = val.first.merchantNo + ''
this.searchKey.departmentName = val.first.merchantName
this.$emit('getCurMerchant', val.first)
......
......@@ -116,7 +116,6 @@ export default {
},
// 获取当前选择的商户
getCurMerchant(val) {
console.log(val)
this.curTempMerchant = {
merchantId: val.merchantNo,
merchantName: val.merchantName
......@@ -149,7 +148,6 @@ export default {
...this.curTempMerchant,
...this.tempDepart
}
console.log(this.curGLData)
let flag = false
this.dataList.forEach(item => {
if (item.departmentId == this.curGLData.departmentId || item.merchantId == this.curGLData.merchantId) {
......@@ -212,7 +210,6 @@ export default {
})
let all = [...arrpara1, ...arrpara2, ...arrpara3]
let para = Object.assign({}, ...all)
console.log(para)
this.$confirm(' 请确认是否关联当前信息?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!