Commit 0a9d7d90 by 前端

Merge branch 'kuangyq_dev_v2.3.0' into 'v2.3.0'

预发布bug解决

See merge request !60
2 parents e3e9cbf4 887bb47d
......@@ -79,6 +79,7 @@ export default {
handleClose() {
this.visible = false
this.selectLevel = []
this.checkObj.first = ''
this.lastLevel = true
},
submit() {
......@@ -92,11 +93,11 @@ export default {
this.$emit('select', this.checkObj)
this.visible = false
this.selectLevel = []
this.checkObj.first = ''
this.lastLevel = true
},
// 选中时触发
selectChange(val) {
console.log(val)
this.$set(this.selectLevel, val.depth - 1, val)
this.lastLevel = val.childrenNum ? true : false
},
......@@ -111,7 +112,6 @@ export default {
},
// 点击页签,返回
backLevel(item) {
console.log(item)
this.checkObj.first = ''
this.lastLevel = item.childrenNum ? true : false
console.log(this.lastLevel)
......
......@@ -78,6 +78,7 @@ export default {
handleClose() {
this.visible = false
this.selectLevel = []
this.checkObj.first = ''
this.lastLevel = true
},
submit() {
......@@ -91,6 +92,7 @@ export default {
this.$emit('selectMerchant', this.checkObj)
this.visible = false
this.selectLevel = []
this.checkObj.first = ''
this.lastLevel = true
},
// 选中时触发
......
......@@ -99,7 +99,6 @@ export default {
},
// 获取搜索框输入值
handleInput: utils.debounce(function(val) {
console.log(333)
this.searchValue = val
this.pageParams.pageNum = 1
// 判断是商户账户调用还是企业微信调用
......@@ -108,7 +107,7 @@ export default {
return
}
this.getSearchList(val)
}, 300),
}, 100),
// 根据输入内容搜索企微门店数据
getSearchList(val) {
// this.searchList = []
......@@ -169,7 +168,6 @@ export default {
this.searchKey = val
this.$emit('getCurDepartment', val)
this.visible = false
console.log(this.visible)
},
// 选择企微门店
select(val) {
......@@ -185,13 +183,11 @@ export default {
},
// 输入框失去焦点调用
handleBlur() {
console.log(111)
this.visible = false
// this.searchList = []
},
// 输入框获取焦点
handleFocus() {
console.log(222)
this.pageParams = {
pageNum: 1,
pageSize: 10
......@@ -208,10 +204,7 @@ export default {
// 下拉框触底获取下一页数据
load() {
this.pageParams.pageNum++
console.log(this.count)
console.log(this.searchList.length)
if (this.searchList.length < this.count) {
console.log(555)
if (this.name === 'merchant') {
this.getMerchantSearchList()
return
......
......@@ -102,7 +102,9 @@ export default {
dataList: [],
customWidth: 113,
shopName: '',
selectedDepartment: ''
selectedDepartment: '',
tempDepart: {},
curTempMerchant: {}
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!