|
@@ -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
|