|
@@ -64,12 +64,17 @@
|
|
|
</template>
|
|
|
<template #aside>
|
|
|
<div style="display: flex">
|
|
|
- <div style="width: 40px">
|
|
|
+ <div style="width: 80px">
|
|
|
<el-table ref="timesTable" :data="unPaidReceipts" highlight-current-row @row-click="clickTimes" empty-text="无">
|
|
|
- <el-table-column label="次数" prop="times"></el-table-column>
|
|
|
+ <el-table-column label="次数" prop="times" width="40"></el-table-column>
|
|
|
+ <el-table-column label="诊间" width="40">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-html="isMztczf(scope.row)"></span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <div style="width: 260px">
|
|
|
+ <div style="width: 220px">
|
|
|
<el-table ref="ordersTable" :data="orderNos" highlight-current-row @row-click="clickOrderNo" empty-text="无">
|
|
|
<el-table-column label="处方" width="50">
|
|
|
<template #default="scope">
|
|
@@ -83,8 +88,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作">
|
|
|
<template #default="scope">
|
|
|
- <el-button text icon="Check" @click="markMzFees" :disabled="scope.row.status"> 生成 </el-button>
|
|
|
- <el-button text icon="Delete" @click="unmarkMzFees(scope.row)" :disabled="!scope.row.status"> 撤销 </el-button>
|
|
|
+ <button @click="markMzFees" :disabled="scope.row.status">生成</button>
|
|
|
+ <button @click="unmarkMzFees(scope.row)" :disabled="!scope.row.status">撤销</button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -422,6 +427,7 @@ const fetchReceipts = (param) => {
|
|
|
clearReadCardData()
|
|
|
getMzReceipts(param)
|
|
|
.then((res) => {
|
|
|
+ res[0].zgmztczf=1
|
|
|
unPaidReceipts.value = res
|
|
|
setTimeout(() => {
|
|
|
timesTable.value.setCurrentRow(res[0])
|
|
@@ -674,6 +680,10 @@ const revokeMzSettle = () => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+const isMztczf = (row) => {
|
|
|
+ return row.zgmztczf === 1 ? `<span style="color: green">医保</span>` : `<span>自费</span>`
|
|
|
+}
|
|
|
+
|
|
|
const clearinfo = () => {
|
|
|
patientId.value = ''
|
|
|
times.value = null
|