Commit 55931dfc by chenwq

bug修复

1 parent 9abc55c5
...@@ -141,6 +141,7 @@ export default { ...@@ -141,6 +141,7 @@ export default {
} }
] ]
}, },
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
defaultProps: { defaultProps: {
children: 'children', children: 'children',
label: 'name' label: 'name'
...@@ -189,6 +190,7 @@ export default { ...@@ -189,6 +190,7 @@ export default {
methods: { methods: {
clearData() { clearData() {
this.setectList = [] this.setectList = []
this.$refs.battleRef.clearMutiSelect()
this.config.merchantId = this.merchantList[0]?.merchantId this.config.merchantId = this.merchantList[0]?.merchantId
this.wechat = { this.wechat = {
automaticName: '', automaticName: '',
...@@ -241,11 +243,12 @@ export default { ...@@ -241,11 +243,12 @@ export default {
battleSetHandle() { battleSetHandle() {
if (this.setectList.length == 0) { if (this.setectList.length == 0) {
this.$message({ this.$message({
message: '请选择活动', message: '请选择园区店',
type: 'error' type: 'error'
}) })
return return
} }
this.getDepartmentTree()
this.battleVisible = true this.battleVisible = true
}, },
dateFormatFun(date) { dateFormatFun(date) {
...@@ -307,8 +310,8 @@ export default { ...@@ -307,8 +310,8 @@ export default {
}) })
}, },
handlebattleClose() { handlebattleClose() {
this.clearData()
this.battleVisible = false this.battleVisible = false
this.clearData()
}, },
handleDetails() { }, handleDetails() { },
handlebattleOn(data, sign) { handlebattleOn(data, sign) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!