|
@@ -63,7 +63,8 @@
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
|
- <el-button type="danger" icon="Refresh" @click="clearinfo" style="margin-left: 8px"> 重置</el-button>
|
|
|
+ <el-button type="success" style="margin-left: 8px" @click="seeMzBlRecord">门诊病历</el-button>
|
|
|
+ <el-button type="danger" icon="Refresh" @click="clearinfo"> 重置</el-button>
|
|
|
</template>
|
|
|
<template #aside>
|
|
|
<el-table :data="historyReceipts" stripe highlight-current-row @row-click="fetchHistoryReceiptDetail">
|
|
@@ -108,12 +109,15 @@
|
|
|
<div v-for="(item, index) in currentReceipts" :key="index">
|
|
|
<div>
|
|
|
<el-checkbox v-model="item.checked"></el-checkbox>
|
|
|
- <span style="color: rgb(94, 50, 50)"> {{ index + 1 }})【{{ item.chargeItemCode }}】{{ item.drugName }} × {{
|
|
|
- item.quantity
|
|
|
- }} </span>
|
|
|
- <span :style="{ color: item.nationalCode ? 'green' : 'red', fontWeight: 'bold' }"> 【医保码:{{
|
|
|
- item.nationalCode || '未匹配'
|
|
|
- }} 】</span>
|
|
|
+ <span style="color: rgb(94, 50, 50)"> {{ index + 1 }})【{{ item.chargeItemCode }}】{{ item.drugName }}
|
|
|
+ × {{item.quantity }}
|
|
|
+ </span>
|
|
|
+ <span :style="{ color: item.nationalCode ? 'green' : 'red', fontWeight: 'bold' }">
|
|
|
+ 【医保码:{{item.nationalCode || '未匹配' }} 】
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div v-if="item.ybComment" style="color: gray;font-size: 12px;padding: 0 30px 0 50px">
|
|
|
+ 用药限制:{{item.ybComment}}
|
|
|
</div>
|
|
|
<div style="margin-bottom: 16px"></div>
|
|
|
</div>
|
|
@@ -191,6 +195,10 @@
|
|
|
<el-button type="primary" style="width: 120px" @click="mzSettle">确定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <mz-bl-record v-if="showMzBlRecord" :patient-id="currentRow.patNo"
|
|
|
+ :times="currentRow.times" @closed="showMzBlRecord = false"></mz-bl-record>
|
|
|
+
|
|
|
</template>
|
|
|
</page-layer>
|
|
|
</template>
|
|
@@ -230,6 +238,7 @@ import OutpatientDiagnoseSupply from '@/components/medical-insurance/outpatient-
|
|
|
import mzSettled from '@/assets/mz-settled.png'
|
|
|
import PageLayer from "@/layout/PageLayer";
|
|
|
import {allAdmdvses} from "@/data/admdvs";
|
|
|
+import MzBlRecord from "@/components/outpatient/MzBlRecord.vue";
|
|
|
|
|
|
const windowSize = store.state.app.windowSize
|
|
|
const receiptBoxStyle = {
|
|
@@ -766,6 +775,20 @@ const highlightYbCode = (hisCode, ybCode) => {
|
|
|
return ybCode ? `<span>${ybCode}</span>` : '<span style="color: red">医师无医保编码</span>'
|
|
|
}
|
|
|
|
|
|
+const showMzBlRecord = ref(false)
|
|
|
+function seeMzBlRecord() {
|
|
|
+ if (!currentRow.value.times) {
|
|
|
+ ElMessage({
|
|
|
+ message: '请先选择历史处方。',
|
|
|
+ type: 'warning',
|
|
|
+ duration: 2000,
|
|
|
+ showClose: true,
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ showMzBlRecord.value = true
|
|
|
+}
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
getMedTypesByFlag('clinic').then((res) => {
|
|
|
medTypes.value = res
|