|
@@ -336,7 +336,7 @@ export default {
|
|
|
if (res.status == 200) {
|
|
|
this.$message.info(res.message)
|
|
|
this.openBaseModal = false
|
|
|
- this.searchForm()
|
|
|
+ this.searchForm(true)
|
|
|
this.$router.push({ name: 'expenseReimbursementEdit', params: { sn: res.data.expenseAccountSn } })
|
|
|
}
|
|
|
})
|
|
@@ -364,10 +364,12 @@ export default {
|
|
|
this.$refs.table.refresh(true)
|
|
|
this.$refs.table.clearSelected()
|
|
|
},
|
|
|
- searchForm () {
|
|
|
+ searchForm (flag) {
|
|
|
this.isSearch = true
|
|
|
this.$refs.table.refresh(true)
|
|
|
- // this.$refs.table.clearSelected()
|
|
|
+ if (flag) {
|
|
|
+ this.$refs.table.clearSelected()
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
activated () {
|