|
|
@@ -0,0 +1,42 @@
|
|
|
+<!-- 出入金申请 - 当前申请嘻嘻 -->
|
|
|
+<template>
|
|
|
+ <app-table :data="dataList" v-model:columns="tableColumns" :loading="loading">
|
|
|
+ <!-- 申请类型 -->
|
|
|
+ <template #executetype="{ value }">
|
|
|
+ {{ getInOutExecuteTypeName(value) }}
|
|
|
+ </template>
|
|
|
+ <!-- 状态 -->
|
|
|
+ <template #applystatus="{ value }">
|
|
|
+ {{ getInOutApplyStatusName(value) }}
|
|
|
+ </template>
|
|
|
+ <!-- 申请时间 -->
|
|
|
+ <template #updatetime="{ value }">
|
|
|
+ {{ formatDate(value) }}
|
|
|
+ </template>
|
|
|
+ </app-table>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script lang="ts" setup>
|
|
|
+import { shallowRef } from 'vue'
|
|
|
+import { formatDate } from '@/filters'
|
|
|
+import { useRequest } from '@/hooks/request'
|
|
|
+import { queryAccountInOutApply } from '@/services/api/bank'
|
|
|
+import AppTable from '@pc/components/base/table/index.vue'
|
|
|
+import { getInOutApplyStatusName, getInOutExecuteTypeName } from '@/constants/order'
|
|
|
+
|
|
|
+const { loading, dataList } = useRequest(queryAccountInOutApply, {})
|
|
|
+
|
|
|
+const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
+ { prop: 'extoperateid', label: '流水号' },
|
|
|
+ { prop: 'amount', label: '金额' },
|
|
|
+ { prop: 'executetype', label: '申请类型' },
|
|
|
+ { prop: 'applystatus', label: '状态' },
|
|
|
+ { prop: 'accountname', label: '姓名' },
|
|
|
+ { prop: 'accountcode', label: '资金账号' },
|
|
|
+ { prop: 'bankname', label: '开户银行' },
|
|
|
+ { prop: 'bankaccountno', label: '卡号' },
|
|
|
+ { prop: 'charge', label: '手续费' },
|
|
|
+ { prop: 'updatetime', label: '申请时间' },
|
|
|
+ { prop: 'remark2', label: '备注' }
|
|
|
+])
|
|
|
+</script>
|