Commit 0520eb75 by 前端

Merge branch 'xuyl_dev_v3.2.0' into 'v3.2.0'

更新

See merge request !70
2 parents 3502f4d1 a11b6389
......@@ -152,6 +152,7 @@ export default {
this.defalutStartTime,
this.defalutEndTime,
])
this.$emit('sendResetTable','reset')
this.$nextTick(() => {
this.handleSearch()
})
......
<template>
<div style='margin: 16px'>
<ProfitSearch ref='profitSearch' @sendSearchForm='getSearchForm' />
<ProfitSearch ref='profitSearch' @sendSearchForm='getSearchForm' @sendResetTable='reset' />
<el-button type='primary' size='small' @click='handleOutput'
>导出
</el-button
......@@ -80,7 +80,7 @@ export default {
employeeCount: '',
totalPoints: ''
},
verificationWriteOff:true,
verificationWriteOff: true,
profitSearchForm: {},
dialogVisible: false,
totalScore: '',
......@@ -174,14 +174,14 @@ export default {
this.verificationWriteOff = true
}
})
if (!this.verificationWriteOff){
if (!this.verificationWriteOff) {
return this.$message({
type: 'error',
message: '所选中的积分记录包含「是否积分提现=是」或「核销状态=已核销」,请剔除后再进行操作!'
})
}
this.processSelectedData()
this.dialogVisible = true
this.processSelectedData()
this.dialogVisible = true
},
processSelectedData() {
let obj = {}
......@@ -260,6 +260,12 @@ export default {
this.$refs.profitTable.refreshTable(false, true)
}, 500)
},
reset() {
if (this.choiceData){
this.$refs.profitTable.mutiSelectArr.list = []
this.$refs.profitTable.$children[0].clearSelection()
}
},
getTotalScore(val) {
let { totalScore } = val
this.totalScore = totalScore
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!