dev
This commit is contained in:
parent
4a9d61ebd4
commit
3fb54390ef
|
|
@ -19,12 +19,17 @@
|
||||||
<el-table-column prop="source" label="结算类型" width="180">
|
<el-table-column prop="source" label="结算类型" width="180">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag v-if="scope.row.source == 0" type="success">零售</el-tag>
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</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 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="dockerName" label="医生" width="180"></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 {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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue