|
|
@ -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() { |
|
|
|