Browse Source

出纳优化

lihong 2 months ago
parent
commit
74c8f2ccbf

+ 13 - 2
src/components/zfsf/PatientInfoHead.vue

@@ -82,12 +82,18 @@
   </el-descriptions>
 </template>
 <script setup >
-import {ref} from "vue";
+import {onMounted, ref} from "vue";
 import {stringNotBlank} from "@/utils/blank-utils";
 import {queryCashFlag,queryPatientInfoPage} from '@/api/zfsf/cashier-process.js'
 import {getPatientBaseInfo} from "@/api/medical-advice/medical-advice-management";
+import {useZIndex} from "element-plus";
 const emit = defineEmits(['selectPatientInfo']);
-
+const props = defineProps({
+  inOutFlag: {
+    type: Number,
+    required: false,
+  }
+})
 const  cashFlag = ref(false)
 
 const  cashName = ref('已出纳')
@@ -161,6 +167,11 @@ const fetchPatientData = (row)=>{
   emit('selectPatientInfo',inpatientParam.value)
 }
 
+onMounted(() => {
+  if(props.inOutFlag){
+    headParam.value.inOutFlag = props.inOutFlag
+  }
+})
 const showCashName = (val)=>{
   cashFlag.value = true
   cashName.value = val

+ 1 - 2
src/views/hospitalization/zfsf/CashierProcessInfo.vue

@@ -526,8 +526,7 @@ const saveCashData = ()=>{
       param.depositFileList.push(obj)
     }
       saveCashierData(param).then(res=> {
-         queryFpAndYjj(param)
-        selectPrintZyFp(param)
+        chongZhiData()
       })
   })
 }

+ 1 - 1
src/views/hospitalization/zfsf/RecourseRepresentation.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="layout_container">
     <header>
-      <PatientBaseList ref="patientBaseListRef" @selectPatientInfo="selectPatient"></PatientBaseList>
+      <PatientBaseList ref="patientBaseListRef" :inOutFlag="1" @selectPatientInfo="selectPatient"></PatientBaseList>
     </header>
     <div class="layout_main">
       <div style="height: 20px">