|
@@ -13,10 +13,20 @@
|
|
|
type="daterange"
|
|
|
></el-date-picker>
|
|
|
患者ID:
|
|
|
- <el-input v-model="patientId" clearable style="width: 120px" @blur="patientId = $event.target.value.trim()"
|
|
|
- @keyup.enter="getMzPatientClick"></el-input>
|
|
|
+ <el-input
|
|
|
+ v-model="patientId"
|
|
|
+ clearable
|
|
|
+ style="width: 120px"
|
|
|
+ @blur="patientId = $event.target.value.trim()"
|
|
|
+ @keyup.enter="getMzPatientClick"
|
|
|
+ ></el-input>
|
|
|
<el-select v-model="xiangMuZhuangTai" style="width: 90px">
|
|
|
- <el-option v-for="item in xiangMuZhuangTaiData" :key="item.code" :label="item.name" :value="item.code">
|
|
|
+ <el-option
|
|
|
+ v-for="item in xiangMuZhuangTaiData"
|
|
|
+ :key="item.code"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.code"
|
|
|
+ >
|
|
|
<span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
<span :style="{ color: item.color }">{{ item.name }}</span>
|
|
@@ -37,35 +47,63 @@
|
|
|
|
|
|
<div class="layout_main layout_container layout-horizontal">
|
|
|
<aside class="layout_el-table" style="width: 220px">
|
|
|
- <el-table :data="shouFeiData" highlight-current-row stripe
|
|
|
- @cell-click="getFeiYongXinXiClick">
|
|
|
+ <el-table
|
|
|
+ :data="shouFeiData"
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ @cell-click="getFeiYongXinXiClick"
|
|
|
+ >
|
|
|
<el-table-column label="收费信息">
|
|
|
<el-table-column label="缴费日期" prop="chargeDate" width="80"></el-table-column>
|
|
|
<el-table-column label="流水号">
|
|
|
<template #default="scope">
|
|
|
- <el-popover :width="800" placement="right" trigger="click">
|
|
|
+ <el-popover :width="960" placement="right" trigger="click">
|
|
|
<template #reference>
|
|
|
- <el-button type="success" @click="getFeiYongXinXiClick(scope.row)">{{
|
|
|
- scope.row.realNo
|
|
|
- }}
|
|
|
+ <el-button
|
|
|
+ type="success"
|
|
|
+ @click.stop="getFeiYongXinXiClick(scope.row)"
|
|
|
+ >
|
|
|
+ {{ scope.row.realNo }}
|
|
|
</el-button>
|
|
|
</template>
|
|
|
- <el-table :data="feiYongData" height="calc(100vh - 50%)" highlight-current-row stripe>
|
|
|
- <el-table-column label="缴费明细信息">
|
|
|
- <el-table-column label="待确认标志" prop="confirmFlag">
|
|
|
- <template #default="scope">
|
|
|
- <span v-html="confirmFlag(scope.row.confirmFlag)"></span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
- <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
- <el-table-column label="金额" prop="chargeFee"></el-table-column>
|
|
|
- <el-table-column label="确认时间" prop="confirmTime" width="80"></el-table-column>
|
|
|
- <el-table-column label="确认人" prop="confirmIdName"></el-table-column>
|
|
|
- <el-table-column label="执行科室" prop="execDeptName"></el-table-column>
|
|
|
- <el-table-column label="申请号" prop="reqNo"></el-table-column>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <div style="display: flex;">
|
|
|
+ <div style="height: calc(100vh - 50%)">
|
|
|
+ <el-table
|
|
|
+ :data="feiYongData"
|
|
|
+ height="calc(100vh - 50%)"
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ >
|
|
|
+ <el-table-column label="缴费明细信息">
|
|
|
+ <el-table-column label="待确认标志" prop="confirmFlag">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-html="confirmFlag(scope.row.confirmFlag)"></span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
+ <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
+ <el-table-column label="金额" prop="chargeFee"></el-table-column>
|
|
|
+ <el-table-column label="确认时间" prop="confirmTime" width="80"></el-table-column>
|
|
|
+ <el-table-column label="确认人" prop="confirmIdName"></el-table-column>
|
|
|
+ <el-table-column label="执行科室" prop="execDeptName"></el-table-column>
|
|
|
+ <el-table-column label="申请号" prop="reqNo"></el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex;width: 300px;margin-left: 4px">
|
|
|
+ <el-table
|
|
|
+ :data="yaoPinData"
|
|
|
+ height="calc(100vh - 50%)"
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ >
|
|
|
+ <el-table-column label="药品信息">
|
|
|
+ <el-table-column label="名称" prop="tcName" width="210"></el-table-column>
|
|
|
+ <el-table-column label="数量" prop="quantity"></el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</el-popover>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -199,12 +237,13 @@ import {useUserStore} from "@/pinia/user-store";
|
|
|
|
|
|
const userInfo = useUserStore().userInfo
|
|
|
const dateRange = ref(shortcuts[0].value)
|
|
|
-const patientId = ref(isDev ? '339138-4' : '')
|
|
|
+const patientId = ref(isDev ? '357135-4' : '')
|
|
|
const xiangMuZhuangTai = ref(0)
|
|
|
const chargeDate = ref('')
|
|
|
const patient = ref({})
|
|
|
const shouFeiData = ref([])
|
|
|
const feiYongData = ref([])
|
|
|
+const yaoPinData = ref([])
|
|
|
const keQueRenData = ref([])
|
|
|
const danGeXingXi = ref([])
|
|
|
|
|
@@ -248,7 +287,8 @@ const getFeiYongXinXiClick = (val) => {
|
|
|
chargeDate.value = val.chargeDate
|
|
|
getFeiYongXinXi(val.realNo, val.patientId, val.times, xiangMuZhuangTai.value).then((res) => {
|
|
|
keQueRenData.value = []
|
|
|
- feiYongData.value = res
|
|
|
+ feiYongData.value = res.f
|
|
|
+ yaoPinData.value = res.y
|
|
|
lingShiBaoCunJiaoFeiMingXi.value = XEUtils.clone(val)
|
|
|
if (needRule(1)) {
|
|
|
keQueRenData.value = XEUtils.clone(feiYongData.value, true)
|