|
|
@@ -30,7 +30,7 @@ import { formatDate } from '@/filters'
|
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { queryAccountInOutApply } from '@/services/api/bank'
|
|
|
-import { getInOutApplyStatusName, getInOutExecuteTypeName } from '@/constants/order'
|
|
|
+import { getInOutApplyStatusName, getInOutExecuteTypeName, getInOutApplyStatusList } from '@/constants/order'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppFilter from '@pc/components/base/table-filter/index.vue'
|
|
|
|
|
|
@@ -38,19 +38,23 @@ const { filterOptons, getQueryParams } = useDataFilter<Model.AccountInOutApplyRe
|
|
|
const filterDate = shallowRef<string[]>([])
|
|
|
|
|
|
filterOptons.buttonList = [
|
|
|
- { lable: '查询', className: 'el-button--info', onClick: () => onSearch() },
|
|
|
- { lable: '重置', className: 'el-button--info', onClick: () => onSearch(true) }
|
|
|
+ { lable: '重置', className: 'el-button--info', onClick: () => onSearch(true) },
|
|
|
+ { lable: '查询', className: 'el-button--info', onClick: () => onSearch() }
|
|
|
]
|
|
|
|
|
|
filterOptons.selectList = [
|
|
|
{
|
|
|
key: 'querytype',
|
|
|
- selectedValue: 2,
|
|
|
+ selectedValue: undefined,
|
|
|
options: [
|
|
|
{ label: '出金', value: 1 },
|
|
|
{ label: '入金', value: 2 },
|
|
|
- ],
|
|
|
- locked: true,
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'applystatus',
|
|
|
+ selectedValue: undefined,
|
|
|
+ options: getInOutApplyStatusList()
|
|
|
}
|
|
|
]
|
|
|
|