Browse Source

档案盘点 搜索bug

master
x_ying 3 years ago
parent
commit
f2cb0a3244
  1. 9
      src/views/archivesManage/archivesCheck/index.vue

9
src/views/archivesManage/archivesCheck/index.vue

@ -152,7 +152,7 @@ export default {
// tableData: [],
selections: [],
keyWord: '',
stateVal: 0,
stateVal: -1,
stateOptions: [
{ value: -1, label: '全部' },
{ value: 0, label: '待执行' },
@ -164,8 +164,7 @@ export default {
{ value: 'region', label: '区域' },
{ value: 'id', label: '盘点单号' }
],
deleteVisible: false,
source: null
deleteVisible: false
}
},
computed: {
@ -176,6 +175,7 @@ export default {
methods: {
//
[CRUD.HOOK.beforeRefresh]() {
this.crud.downloadLoading = true
this.crud.query.checkState = null
this.crud.query.id = null
this.crud.query.region = null
@ -185,9 +185,10 @@ export default {
// todo
if (this.cateSearch === 'region') {
this.crud.query.region = this.keyWord
} else if (this.searchVal === 'id') {
} else if (this.cateSearch === 'id') {
this.crud.query.id = this.keyWord
}
this.crud.downloadLoading = false
},
//
handleDel() {

Loading…
Cancel
Save