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

@ -19,12 +19,17 @@
<el-table-column prop="source" label="结算类型" width="180">
<template #default="scope">
<el-tag v-if="scope.row.source == 0" type="success">零售</el-tag>
<el-tag v-else>{{scope.row.source}}</el-tag>
<el-tag v-else>{{ scope.row.source }}</el-tag>
</template>
</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">
<template #default="scope">
{{scope.row.netReceipts}}
{{ scope.row.netReceipts }}
</template>
</el-table-column>
<el-table-column prop="dockerName" label="医生" width="180"></el-table-column>
@ -45,6 +50,15 @@ import {onMounted, ref} from "vue";
import {post} from "@/utils/request.ts";
import {getToday, formatDateArray, getThisMonth} from "@/utils/dateUtils.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 date = ref()