|
@@ -6,7 +6,8 @@
|
|
|
<el-tag effect="dark" size="medium">床号: {{ patient.bedNo }}</el-tag>
|
|
|
<el-tag effect="dark" size="medium">住院次数: {{ patient.admissTimes }}</el-tag>
|
|
|
<el-tag effect="dark" size="medium">性别: {{ cptSex(patient.sex) }}</el-tag>
|
|
|
- 住院号: <el-input v-model="inpatientNo" style="width: 100px" clearable placeholder="住院号"></el-input>
|
|
|
+ 住院号:
|
|
|
+ <el-input v-model="inpatientNo" style="width: 100px" clearable placeholder="住院号"></el-input>
|
|
|
<el-button type="primary" icon="el-icon-search" @click="chaXunHuanZheXinXi">查询患者信息</el-button>
|
|
|
<el-button type="danger" style="margin-left: 20px" icon="el-icon-close" @click="guanBiDialog">关闭</el-button>
|
|
|
<el-button type="warning" style="margin-left: 20px" @click="chaoZuoZhiNan = true">操作指南</el-button>
|
|
@@ -22,11 +23,11 @@
|
|
|
<div>4、录入类型:该费用是怎么产生,护士录入,医嘱,医技</div>
|
|
|
<div>
|
|
|
5、费用状态:未退-代表该费用没有被退,已退-代表费用是退费数据,被退-代表那些正的被退了
|
|
|
- <span style="color: red">(该条件只对在本系统中有效,如果无效请点击退费匹配 (退费匹配就在本页面的关闭旁边),或选择全部)</span><br />
|
|
|
+ <span style="color: red">(该条件只对在本系统中有效,如果无效请点击退费匹配 (退费匹配就在本页面的关闭旁边),或选择全部)</span><br/>
|
|
|
</div>
|
|
|
<div>6、点击查询即可查询费用(如提示没有数据,请检查搜索的条件)</div>
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item title=" 二、退费" name="2"> 1、选中表格中的多选按钮(小框框),然后点击退费即可,请仔细检查 </el-collapse-item>
|
|
|
+ <el-collapse-item title=" 二、退费" name="2"> 1、选中表格中的多选按钮(小框框),然后点击退费即可,请仔细检查</el-collapse-item>
|
|
|
<el-collapse-item title=" 三、撤销退费" name="3">
|
|
|
<div>1、如果退费退错了,可以点击费用后面的撤销按钮,前提是该费用没有被上传到医保,如果已经上传了且你一定要把这一条费用完全删除,那请先要医保科撤销上传。</div>
|
|
|
<div>2、如果需要撤销退费的权限,请向信息科,提供工号,该权限只能提供给护士长。</div>
|
|
@@ -50,13 +51,14 @@
|
|
|
</el-dialog>
|
|
|
<el-tabs v-model="xmlrTabs">
|
|
|
<el-tab-pane label="已录入项目" name="ylrxm">
|
|
|
- 项目名称:<el-select
|
|
|
- v-model="patient.chargeCode"
|
|
|
- remote
|
|
|
- filterable
|
|
|
- clearable
|
|
|
- @blur="patient.chargeCode = $event.target.value.trim()"
|
|
|
- :remote-method="remoteMethodChargeCode"
|
|
|
+ 项目名称:
|
|
|
+ <el-select
|
|
|
+ v-model="patient.chargeCode"
|
|
|
+ remote
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ @blur="patient.chargeCode = $event.target.value.trim()"
|
|
|
+ :remote-method="remoteMethodChargeCode"
|
|
|
>
|
|
|
<el-option v-for="item in chargeCodeNameData" :key="item.code" :label="item.name" :value="item.code">
|
|
|
<span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
|
|
@@ -64,21 +66,23 @@
|
|
|
<span>{{ item.name }}</span>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
- 录入日期:<el-date-picker
|
|
|
- type="daterange"
|
|
|
- v-model="dateRange"
|
|
|
- placeholder="选择日期"
|
|
|
- style="width: 280px"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- :shortcuts="shortcuts"
|
|
|
+ 录入日期:
|
|
|
+ <el-date-picker
|
|
|
+ type="daterange"
|
|
|
+ v-model="dateRange"
|
|
|
+ placeholder="选择日期"
|
|
|
+ style="width: 280px"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ :shortcuts="shortcuts"
|
|
|
></el-date-picker>
|
|
|
<el-button
|
|
|
- @click="riQiPaiXu === 'DESC' ? (riQiPaiXu = 'ASC') : (riQiPaiXu = 'DESC')"
|
|
|
- type="success"
|
|
|
- :icon="riQiPaiXu === 'DESC' ? 'el-icon-caret-bottom' : 'el-icon-caret-top'"
|
|
|
- >{{ riQiPaiXu === 'DESC' ? '日期降序' : '日期升序' }}</el-button
|
|
|
+ @click="riQiPaiXu === 'DESC' ? (riQiPaiXu = 'ASC') : (riQiPaiXu = 'DESC')"
|
|
|
+ type="success"
|
|
|
+ :icon="riQiPaiXu === 'DESC' ? 'el-icon-caret-bottom' : 'el-icon-caret-top'"
|
|
|
+ >{{ riQiPaiXu === 'DESC' ? '日期降序' : '日期升序' }}
|
|
|
+ </el-button
|
|
|
>
|
|
|
<el-select style="width: 70px" v-model="feiYongLeiXingCode">
|
|
|
<el-option v-for="item in feiYongLeiXing" :key="item.code" :label="item.name" :value="item.code">
|
|
@@ -103,8 +107,9 @@
|
|
|
</el-select>
|
|
|
<el-button type="primary" @click="queryFeiYong" icon="el-icon-search">查询</el-button>
|
|
|
<el-button type="danger" @click="xiangMuTuiFeiClick" icon="el-icon-delete-solid">退费</el-button>
|
|
|
- <el-table :height="tableHeight" @selection-change="handleSelectionChange" :data="cptTableDataHuanZheFeiYong" stripe highlight-current-row class="eltable">
|
|
|
- <el-table-column type="selection" style="width: 100px"> </el-table-column>
|
|
|
+ <el-table :height="tableHeight" @selection-change="handleSelectionChange" :data="cptTableDataHuanZheFeiYong"
|
|
|
+ stripe highlight-current-row class="eltable">
|
|
|
+ <el-table-column type="selection" style="width: 100px"></el-table-column>
|
|
|
<el-table-column label="流水号" prop="detailSn" width="70px"></el-table-column>
|
|
|
<el-table-column label="医嘱号" prop="orderNo" width="70px"></el-table-column>
|
|
|
<el-table-column prop="chargeDate" label="录入日期" width="70px"></el-table-column>
|
|
@@ -124,11 +129,11 @@
|
|
|
<el-table-column label="账单码" prop="billItemName"></el-table-column>
|
|
|
<el-table-column label="是否退费" prop="tuiFeiFlag">
|
|
|
<template #default="scope">
|
|
|
- <span v-if="scope.row.oriDetailSn === -1" style="color: red">已退费 <br /> </span>
|
|
|
+ <span v-if="scope.row.oriDetailSn === -1" style="color: red">已退费 <br/> </span>
|
|
|
<span v-if="scope.row.oriDetailSn > 0"
|
|
|
- ><span style="color: #e6a23c">退费数据</span> <br />
|
|
|
+ ><span style="color: #e6a23c">退费数据</span> <br/>
|
|
|
<span style="color: teal">
|
|
|
- 原流水号为 <br />
|
|
|
+ 原流水号为 <br/>
|
|
|
【 {{ scope.row.oriDetailSn }} 】
|
|
|
</span>
|
|
|
</span>
|
|
@@ -137,13 +142,13 @@
|
|
|
<el-table-column label="撤销退费" v-if="quanXian.indexOf(1) > -1 || quanXian.indexOf(35) > -1">
|
|
|
<template #default="scope">
|
|
|
<el-popconfirm
|
|
|
- confirm-button-text="确认"
|
|
|
- cancel-button-text="取消"
|
|
|
- icon="el-icon-info"
|
|
|
- iconColor="red"
|
|
|
- title="是否删除该数据"
|
|
|
- v-if="scope.row.oriDetailSn != -1 && scope.row.transFlagYb === '0' && (quanXian.indexOf(1) > -1 || quanXian.indexOf(35) > -1)"
|
|
|
- @confirm="cheXiaoTuiFeiClick(scope.$index, scope.row)"
|
|
|
+ confirm-button-text="确认"
|
|
|
+ cancel-button-text="取消"
|
|
|
+ icon="el-icon-info"
|
|
|
+ iconColor="red"
|
|
|
+ title="是否删除该数据"
|
|
|
+ v-if="scope.row.oriDetailSn != -1 && scope.row.transFlagYb === '0' && (quanXian.indexOf(1) > -1 || quanXian.indexOf(35) > -1)"
|
|
|
+ @confirm="cheXiaoTuiFeiClick(scope.$index, scope.row)"
|
|
|
>
|
|
|
<template #reference>
|
|
|
<el-button type="danger">撤销</el-button>
|
|
@@ -153,14 +158,14 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<el-pagination
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="handleCurrentChange"
|
|
|
- :current-page="patient.currentPage"
|
|
|
- :page-sizes="[20, 30, 40, 50]"
|
|
|
- :page-size="patient.pageSize"
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="total"
|
|
|
- style="margin-top: 5px"
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="patient.currentPage"
|
|
|
+ :page-sizes="[20, 30, 40, 50]"
|
|
|
+ :page-size="patient.pageSize"
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :total="total"
|
|
|
+ style="margin-top: 5px"
|
|
|
></el-pagination>
|
|
|
</el-tab-pane>
|
|
|
<!-- 项目录入 -->
|
|
@@ -186,7 +191,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<!-- 这个下面查看录入的项目 -->
|
|
|
- <el-table :data="muBanNeiRongData" :height="tableHeight - 27" class="eltable" style="margin-top: 10px" stripe highlight-current-row>
|
|
|
+ <el-table :data="muBanNeiRongData" :height="tableHeight - 27" class="eltable"
|
|
|
+ style="margin-top: 10px" stripe highlight-current-row>
|
|
|
<el-table-column label="录入信息">
|
|
|
<el-table-column label="录入时间">
|
|
|
<template #default>
|
|
@@ -198,7 +204,8 @@
|
|
|
<el-table-column label="执行科室" prop="deptCode">
|
|
|
<template #default="scope">
|
|
|
<el-select style="width: 90%" v-model="scope.row.deptCode" filterable>
|
|
|
- <el-option v-for="item in deptData" :key="item.code" :label="item.name" :value="item.code">
|
|
|
+ <el-option v-for="item in deptData" :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>{{ item.name }}</span></el-option
|
|
@@ -210,7 +217,8 @@
|
|
|
<el-table-column label="数量" prop="amount" width="130">
|
|
|
<template #default="scope">
|
|
|
<!--precision 限制输入的精度 0 就是不带任何一位小数点 -->
|
|
|
- <el-input-number v-model="scope.row.amount" style="width: 120px" :min="0" :precision="1"></el-input-number>
|
|
|
+ <el-input-number v-model="scope.row.amount" style="width: 120px" :min="0"
|
|
|
+ :precision="1"></el-input-number>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
@@ -237,12 +245,13 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
搜索:
|
|
|
- <el-select v-model="chargePyCode" remote filterable clearable @change="getDanGeXiangMu" default-first-option :remote-method="rmChargePyCode">
|
|
|
+ <el-select v-model="chargePyCode" remote filterable clearable @change="getDanGeXiangMu"
|
|
|
+ default-first-option :remote-method="rmChargePyCode">
|
|
|
<el-option
|
|
|
- v-for="item in xiangMuData.slice((danGeXiangMuCurrentPage - 1) * 20, danGeXiangMuCurrentPage * 20)"
|
|
|
- :key="item.chargeCode"
|
|
|
- :label="item.chargeName"
|
|
|
- :value="item.chargeCode"
|
|
|
+ v-for="item in xiangMuData.slice((danGeXiangMuCurrentPage - 1) * 20, danGeXiangMuCurrentPage * 20)"
|
|
|
+ :key="item.chargeCode"
|
|
|
+ :label="item.chargeName"
|
|
|
+ :value="item.chargeCode"
|
|
|
>
|
|
|
<span style="color: #8492a6; font-size: 12px">{{ item.chargeCode }}</span>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
@@ -253,14 +262,14 @@
|
|
|
<span style="color: #e6a23c"> {{ item.chargeAmount }} 元</span>
|
|
|
</el-option>
|
|
|
<el-pagination
|
|
|
- @current-change="danGeXiangMuCurrentChange"
|
|
|
- :current-page="danGeXiangMuCurrentPage"
|
|
|
- :page-size="20"
|
|
|
- layout=" prev, pager, next,total"
|
|
|
- :total="xiangMuData.length"
|
|
|
- style="margin-top: 5px"
|
|
|
- :pager-count="5"
|
|
|
- small
|
|
|
+ @current-change="danGeXiangMuCurrentChange"
|
|
|
+ :current-page="danGeXiangMuCurrentPage"
|
|
|
+ :page-size="20"
|
|
|
+ layout=" prev, pager, next,total"
|
|
|
+ :total="xiangMuData.length"
|
|
|
+ style="margin-top: 5px"
|
|
|
+ :pager-count="5"
|
|
|
+ small
|
|
|
></el-pagination>
|
|
|
</el-select>
|
|
|
<el-button type="success" @click="danGeXiangMuBaoCun">保存</el-button>
|
|
@@ -279,7 +288,8 @@
|
|
|
<span>{{ item.name }}</span></el-option
|
|
|
>
|
|
|
</el-select>
|
|
|
- </template></el-table-column
|
|
|
+ </template>
|
|
|
+ </el-table-column
|
|
|
>
|
|
|
<el-table-column label="单价" prop="chargeAmount"></el-table-column>
|
|
|
<el-table-column label="数量" prop="amount">
|
|
@@ -299,12 +309,21 @@
|
|
|
</el-dialog>
|
|
|
<el-dialog title="保存模板" v-model="baoCunMuBanDialog">
|
|
|
<el-row>
|
|
|
- <el-col :span="24"> 模板名称:<el-input v-model="cunMuBanPojo.name" maxlength="15" @blur="zhuanPinYin" show-word-limit></el-input> </el-col>
|
|
|
- <el-col :span="12"> 拼音码:<el-input v-model="cunMuBanPojo.pyCode" maxlength="8" show-word-limit></el-input> </el-col>
|
|
|
- <el-col :span="12"> 五笔码:<el-input v-model="cunMuBanPojo.dcode" maxlength="8" show-word-limit></el-input> </el-col>
|
|
|
- <el-col :span="12"> 创建科室:<el-input v-model="cunMuBanPojo.dept" disabled></el-input> </el-col>
|
|
|
+ <el-col :span="24"> 模板名称:
|
|
|
+ <el-input v-model="cunMuBanPojo.name" maxlength="15" @blur="zhuanPinYin" show-word-limit></el-input>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12"> 拼音码:
|
|
|
+ <el-input v-model="cunMuBanPojo.pyCode" maxlength="8" show-word-limit></el-input>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12"> 五笔码:
|
|
|
+ <el-input v-model="cunMuBanPojo.dcode" maxlength="8" show-word-limit></el-input>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12"> 创建科室:
|
|
|
+ <el-input v-model="cunMuBanPojo.dept" disabled></el-input>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-button style="margin-top: 10px" icon="el-icon-upload" type="primary" @click="baoCunMuBan">保存</el-button>
|
|
|
+ <el-button style="margin-top: 10px" icon="el-icon-upload" type="primary" @click="baoCunMuBan">保存
|
|
|
+ </el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-dialog>
|
|
@@ -314,10 +333,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { computed, onMounted, ref, watch } from 'vue'
|
|
|
+import {computed, onMounted, ref, watch} from 'vue'
|
|
|
import store from '@/store'
|
|
|
-import { cptSex } from '@/utils/computed'
|
|
|
-import { shortcuts } from '@/data/shortcuts'
|
|
|
+import {cptSex} from '@/utils/computed'
|
|
|
+import {shortcuts} from '@/data/shortcuts'
|
|
|
import {
|
|
|
getChargeCode,
|
|
|
getHuanZheFeiYong,
|
|
@@ -331,18 +350,19 @@ import {
|
|
|
getDept,
|
|
|
getPyCode,
|
|
|
cheXiaoTuiFei,
|
|
|
-} from '@/api/yibao/xiang-mu-lu-ru'
|
|
|
-import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
-import { costState } from '@/utils/computed'
|
|
|
-import { getDatetime } from '@/utils/date'
|
|
|
-import { clone } from '@/utils/clone'
|
|
|
-import { getPatientInfo } from '@/api/yibao/patient'
|
|
|
-import { yiZhuTuiFeiLeiXing, feiYongLeiXing, tuiFeiLeiXin } from '@/data/index'
|
|
|
+} from '../../api/yibao/xiang-mu-lu-ru'
|
|
|
+import {ElMessage, ElMessageBox} from 'element-plus'
|
|
|
+import {costState} from '@/utils/computed'
|
|
|
+import {getDatetime} from '@/utils/date'
|
|
|
+import {clone} from '@/utils/clone'
|
|
|
+import {getPatientInfo} from '@/api/yibao/patient'
|
|
|
+import {yiZhuTuiFeiLeiXing, feiYongLeiXing, tuiFeiLeiXin} from '@/data/index'
|
|
|
import HuoQuMuBan from '@/components/med-tec-mod/HuoQuMuBan.vue'
|
|
|
-import { getDateRangeFormatDate } from '@/utils/date'
|
|
|
-import { baseinfo } from '@/data/inpatient'
|
|
|
+import {getDateRangeFormatDate} from '@/utils/date'
|
|
|
+import {baseinfo} from '@/data/inpatient'
|
|
|
+
|
|
|
export default {
|
|
|
- components: { HuoQuMuBan },
|
|
|
+ components: {HuoQuMuBan},
|
|
|
props: {
|
|
|
init: {
|
|
|
type: Number,
|
|
@@ -415,13 +435,13 @@ export default {
|
|
|
inputErrorMessage: '患者住院号不能为空 (∩•̀ω•́)⊃-*⋆',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
- .then(({ value }) => {
|
|
|
- inpatientNo.value = value
|
|
|
- chaXunHuanZheXinXi()
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- guanBiDialog()
|
|
|
- })
|
|
|
+ .then(({value}) => {
|
|
|
+ inpatientNo.value = value
|
|
|
+ chaXunHuanZheXinXi()
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ guanBiDialog()
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -429,25 +449,25 @@ export default {
|
|
|
*/
|
|
|
const chaXunHuanZheXinXi = () => {
|
|
|
getPatientInfo(inpatientNo.value)
|
|
|
- .then((res) => {
|
|
|
- patient.value = res
|
|
|
- patient.value.currentPage = 1
|
|
|
- patient.value.pageSize = 40
|
|
|
- patient.value.total = 0
|
|
|
- patient.value.orderNo = 0
|
|
|
- patient.value.deptCode = store.state.user.info.deptCode
|
|
|
- queryFeiYong()
|
|
|
- if (patient.value.ward === store.state.user.info.deptCode) {
|
|
|
- panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
- } else {
|
|
|
- xmlrTabs.value = 'ylrxm'
|
|
|
- panDuanSFTongGuoBingShiJinRu.value = false
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- patient.value = {}
|
|
|
- jinRuPanDuanSFXieDaiHuanZheXinXi()
|
|
|
- })
|
|
|
+ .then((res) => {
|
|
|
+ patient.value = res
|
|
|
+ patient.value.currentPage = 1
|
|
|
+ patient.value.pageSize = 40
|
|
|
+ patient.value.total = 0
|
|
|
+ patient.value.orderNo = 0
|
|
|
+ patient.value.deptCode = store.state.user.info.deptCode
|
|
|
+ queryFeiYong()
|
|
|
+ if (patient.value.ward === store.state.user.info.deptCode) {
|
|
|
+ panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
+ } else {
|
|
|
+ xmlrTabs.value = 'ylrxm'
|
|
|
+ panDuanSFTongGuoBingShiJinRu.value = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ patient.value = {}
|
|
|
+ jinRuPanDuanSFXieDaiHuanZheXinXi()
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const total = ref(0)
|
|
@@ -463,19 +483,19 @@ export default {
|
|
|
patient.value.currentPage = 1
|
|
|
patient.value.total = 0
|
|
|
getHuanZheFeiYong(patient.value)
|
|
|
- .then((res) => {
|
|
|
- tableDataHuanZheFeiYong.value = res
|
|
|
- cptTableDataHuanZheFeiYong.value = res.records
|
|
|
- total.value = res.total
|
|
|
- if (patient.value.admissWard === store.state.user.info.deptCode) {
|
|
|
- panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- tableDataHuanZheFeiYong.value = []
|
|
|
- cptTableDataHuanZheFeiYong.value = []
|
|
|
- patient.value.total = 0
|
|
|
- })
|
|
|
+ .then((res) => {
|
|
|
+ tableDataHuanZheFeiYong.value = res
|
|
|
+ cptTableDataHuanZheFeiYong.value = res.records
|
|
|
+ total.value = res.total
|
|
|
+ if (patient.value.admissWard === store.state.user.info.deptCode) {
|
|
|
+ panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ tableDataHuanZheFeiYong.value = []
|
|
|
+ cptTableDataHuanZheFeiYong.value = []
|
|
|
+ patient.value.total = 0
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const handleQueryFeiYong = () => {
|
|
@@ -486,18 +506,18 @@ export default {
|
|
|
patient.value.feiYongLeiXingCode = feiYongLeiXingCode.value
|
|
|
patient.value.total = total.value
|
|
|
getHuanZheFeiYong(patient.value)
|
|
|
- .then((res) => {
|
|
|
- tableDataHuanZheFeiYong.value = res
|
|
|
- cptTableDataHuanZheFeiYong.value = res.records
|
|
|
- if (patient.value.admissWard === store.state.user.info.deptCode) {
|
|
|
- panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- tableDataHuanZheFeiYong.value = []
|
|
|
- cptTableDataHuanZheFeiYong.value = []
|
|
|
- patient.value.total = 0
|
|
|
- })
|
|
|
+ .then((res) => {
|
|
|
+ tableDataHuanZheFeiYong.value = res
|
|
|
+ cptTableDataHuanZheFeiYong.value = res.records
|
|
|
+ if (patient.value.admissWard === store.state.user.info.deptCode) {
|
|
|
+ panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ tableDataHuanZheFeiYong.value = []
|
|
|
+ cptTableDataHuanZheFeiYong.value = []
|
|
|
+ patient.value.total = 0
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -550,21 +570,22 @@ export default {
|
|
|
}
|
|
|
if (patient.value.list.length > 0) {
|
|
|
ElMessageBox.confirm(
|
|
|
- `退费数量为:<span style='color:red'>【${chargeAmount}】</span> ,总价格为:<span style='color:#E6A23C'>【${chargeFee.toFixed(2)}】</span>`,
|
|
|
- '请认真核对',
|
|
|
- {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning',
|
|
|
- dangerouslyUseHTMLString: true,
|
|
|
- }
|
|
|
+ `退费数量为:<span style='color:red'>【${chargeAmount}】</span> ,总价格为:<span style='color:#E6A23C'>【${chargeFee.toFixed(2)}】</span>`,
|
|
|
+ '请认真核对',
|
|
|
+ {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ }
|
|
|
)
|
|
|
- .then(() => {
|
|
|
- xiangMuTuiFei(patient.value).then((res) => {
|
|
|
- queryFeiYong()
|
|
|
+ .then(() => {
|
|
|
+ xiangMuTuiFei(patient.value).then((res) => {
|
|
|
+ queryFeiYong()
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
})
|
|
|
- })
|
|
|
- .catch(() => {})
|
|
|
} else {
|
|
|
ElMessage.warning({
|
|
|
message: '请先选择退费数据',
|
|
@@ -580,7 +601,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
const cheXiaoTuiFeiClick = (index, row) => {
|
|
|
- cheXiaoTuiFei(row.inpatientNo, row.admissTimes, row.ledgerSn, row.detailSn).then(() => {})
|
|
|
+ cheXiaoTuiFei(row.inpatientNo, row.admissTimes, row.ledgerSn, row.detailSn).then(() => {
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
//////////////////////////////////// 以上全部是 已录入项目 //////////////////////////////////////////////////////////////////////////////
|
|
@@ -733,13 +755,14 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
confirmButtonText: '确定',
|
|
|
})
|
|
|
- .then(() => {
|
|
|
- xiangMuFeiYongShangChuan(shangChuanFeiYong).then(() => {
|
|
|
- muBanNeiRongData.value = []
|
|
|
- muBanCode = []
|
|
|
+ .then(() => {
|
|
|
+ xiangMuFeiYongShangChuan(shangChuanFeiYong).then(() => {
|
|
|
+ muBanNeiRongData.value = []
|
|
|
+ muBanCode = []
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
})
|
|
|
- })
|
|
|
- .catch(() => {})
|
|
|
}
|
|
|
|
|
|
// 上面就是上传 项目
|
|
@@ -794,23 +817,23 @@ export default {
|
|
|
}
|
|
|
|
|
|
watch(
|
|
|
- () => props.init,
|
|
|
- () => {
|
|
|
- if (!baseinfo().inpatientNo) {
|
|
|
- jinRuPanDuanSFXieDaiHuanZheXinXi()
|
|
|
- } else {
|
|
|
- patient.value = clone(baseinfo())
|
|
|
- patient.value.currentPage = 1
|
|
|
- patient.value.pageSize = 40
|
|
|
- patient.value.tuiFeiFlag = 0
|
|
|
- patient.value.total = 0
|
|
|
- patient.value.orderNo = 0
|
|
|
- patient.value.deptCode = store.state.user.info.deptCode
|
|
|
- zhiXingKeShi.value = patient.value.zkWard
|
|
|
- panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
- queryFeiYong()
|
|
|
+ () => props.init,
|
|
|
+ () => {
|
|
|
+ if (!baseinfo().inpatientNo) {
|
|
|
+ jinRuPanDuanSFXieDaiHuanZheXinXi()
|
|
|
+ } else {
|
|
|
+ patient.value = clone(baseinfo())
|
|
|
+ patient.value.currentPage = 1
|
|
|
+ patient.value.pageSize = 40
|
|
|
+ patient.value.tuiFeiFlag = 0
|
|
|
+ patient.value.total = 0
|
|
|
+ patient.value.orderNo = 0
|
|
|
+ patient.value.deptCode = store.state.user.info.deptCode
|
|
|
+ zhiXingKeShi.value = patient.value.zkWard
|
|
|
+ panDuanSFTongGuoBingShiJinRu.value = true
|
|
|
+ queryFeiYong()
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
)
|
|
|
|
|
|
onMounted(() => {
|
|
@@ -842,12 +865,13 @@ export default {
|
|
|
ElMessageBox.confirm('该模板非本人创建是否强制删除', '提示', {
|
|
|
type: 'warning',
|
|
|
})
|
|
|
- .then(() => {
|
|
|
- shanChuMuBan(data.name, data.opIdCode).then((res) => {
|
|
|
- muBanData.value.splice(index, 1)
|
|
|
+ .then(() => {
|
|
|
+ shanChuMuBan(data.name, data.opIdCode).then((res) => {
|
|
|
+ muBanData.value.splice(index, 1)
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
})
|
|
|
- })
|
|
|
- .catch(() => {})
|
|
|
} else {
|
|
|
shanChuMuBan(data.name, data.opIdCode).then((res) => {
|
|
|
muBanData.value.splice(index, 1)
|