Browse Source

门诊补录添加内容

lighter 1 năm trước cách đây
mục cha
commit
e9878ae2ad

+ 0 - 2
src/views/medical-insurance/outpatient/MzRegister.vue

@@ -138,7 +138,6 @@
                   <span v-if="item.specification">({{ item.specification }})</span>
                   <span v-else>({{ item.drugUnit }})</span>
                 </div>
-
                 <div>
                   <div class="receipt-tips" style="color: purple;font-size: 12px">
                     <span v-if="item.drugQuan">
@@ -891,7 +890,6 @@ function seeMzBlRecord() {
   if (nullTimes()) {
     return
   }
-  // alert('317452-0');
   showMzBlRecord.value = true
 }
 

+ 30 - 7
src/views/medical-insurance/outpatient/MzSpltryRcrd.vue

@@ -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>&nbsp;
-            <span style="color: rgb(94, 50, 50)"> {{ index + 1 }})【{{ item.chargeItemCode }}】{{ item.drugName }}&nbsp;&times;&nbsp;&nbsp;{{
-                item.quantity
-              }} </span>
-            <span :style="{ color: item.nationalCode ? 'green' : 'red', fontWeight: 'bold' }"> &nbsp;&nbsp;【医保码:{{
-                item.nationalCode || '未匹配'
-              }} 】</span>
+            <span style="color: rgb(94, 50, 50)"> {{ index + 1 }})【{{ item.chargeItemCode }}】{{ item.drugName }}
+              &nbsp;&times;&nbsp;&nbsp;{{item.quantity }}
+            </span>
+            <span :style="{ color: item.nationalCode ? 'green' : 'red', fontWeight: 'bold' }">
+              &nbsp;&nbsp;【医保码:{{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