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

Loading…
Cancel
Save