| | |
| | | > |
| | | <el-form-item label="患者编号" prop="patId"> |
| | | <el-input v-model="formData.patId" placeholder="请输入患者编号" @input="getRentInfoByPatId" /> |
| | | <Qrcode v-if="formData.patId !== undefined && formData.patId !== ''" :text="formData.patId" logo="/logo.gif" :width=100 /> |
| | | <Barcode v-if="!isStringEmpty(formData.patId) && 1 === checkTypeStore.getCheckTypeDispBarCode(formData.checkType)" :value="formData.patId" :width=100 /> |
| | | </el-form-item> |
| | | <el-form-item label="患者名称" prop="patName"> |
| | | <el-input v-model="formData.patName" placeholder="请输入患者名称" /> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import {defineComponent, PropType} from "vue"; |
| | | import {Barcode} from "@/components/Barcode"; |
| | | import { DevRentApi, DevRentVO } from '@/api/ecg/devrent' |
| | | import {QueueVO} from "@/api/ecg/queue"; |
| | | import {isStringEmpty} from "@/utils/stringUtil"; |
| | |
| | | import {RoomBedVO} from "@/api/ecg/doctor"; |
| | | import {hiprint} from "vue-plugin-hiprint"; |
| | | import {AppointmentApi, AppointmentVO} from "@/api/ecg/appointment"; |
| | | import { useCheckTypeStoreWithOut } from '@/store/modules/checkType' |
| | | import {PrefixInteger} from "@/utils/formatter"; |
| | | import {useCheckTypeStore} from '@/store/modules/checkType' |
| | | import {calGender, getBookBeginTime} from "@/utils"; |
| | | |
| | | /** 设备领用 表单 */ |
| | |
| | | |
| | | const autoPrint = ref<boolean>(true); |
| | | |
| | | const checkTypeStore = useCheckTypeStoreWithOut() |
| | | const checkTypeStore = useCheckTypeStore() |
| | | |
| | | const formData = ref<DevRentVO>({ |
| | | id: undefined, |