This commit is contained in:
LiJianZhao 2025-05-15 15:07:31 +08:00
parent 4a9d61ebd4
commit 3fb54390ef
1 changed files with 16 additions and 2 deletions

View File

@ -22,6 +22,11 @@
<el-tag v-else>{{ scope.row.source }}</el-tag> <el-tag v-else>{{ scope.row.source }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="payType" label="支付类型" width="180">
<template #default="scope">
{{ payTypeMapping[scope.row.payType as keyof typeof payTypeMapping] || '未知' }}
</template>
</el-table-column>
<el-table-column prop="netReceipts" label="结算金额" width="180"> <el-table-column prop="netReceipts" label="结算金额" width="180">
<template #default="scope"> <template #default="scope">
{{ scope.row.netReceipts }} {{ scope.row.netReceipts }}
@ -45,6 +50,15 @@ import {onMounted, ref} from "vue";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import {getToday, formatDateArray, getThisMonth} from "@/utils/dateUtils.ts"; import {getToday, formatDateArray, getThisMonth} from "@/utils/dateUtils.ts";
import {apiConfig} from "@/assets/config/apiConfig.ts"; import {apiConfig} from "@/assets/config/apiConfig.ts";
import {reconciliationResult} from "@/assets/config/constants.ts";
const payTypeMapping = {
1: "医保",
2: "微信",
3: "支付宝",
4: "现金",
5: "其他",
}
const tableData = ref([]) const tableData = ref([])
const date = ref() const date = ref()