| | |
| | | import {calGender, getBookBeginTime} from "@/utils"; |
| | | import {DICT_TYPE} from "@/utils/dict"; |
| | | import {tranlateDevState} from "@/utils/statusFormatter"; |
| | | import {getCheckTypeName} from "../../../../utils/checkTypeFormatter"; |
| | | import {getCheckTypeName, needAutoFeeConfirm} from "../../../../utils/checkTypeFormatter"; |
| | | |
| | | /** 设备领用 表单 */ |
| | | defineComponent({ name: 'DevReadyPanel' }) |
| | |
| | | }) |
| | | |
| | | const displayBarCode = ref<string> () |
| | | |
| | | const needAutoFeeConfirm = (checkType: number | null | undefined) => { |
| | | if (checkType == null) |
| | | return false |
| | | |
| | | return checkTypeStore.getExpenseRecognition(checkType) |
| | | } |
| | | |
| | | const getRentInfoByPatId = () => { |
| | | const tempPatId = formData.value.patId; |
| | |
| | | } |
| | | |
| | | const getDisplayBarcode = (): string => { |
| | | if (!formData.value.checkType) |
| | | if (formData.value.checkType == null) |
| | | return "" |
| | | |
| | | const displayBarcode: number[] = checkTypeStore.getCheckTypeDispBarCode(formData.value.checkType!) |
| | |
| | | } |
| | | |
| | | const getBarcode = (): string => { |
| | | if (!formData.value.checkType) |
| | | if (formData.value.checkType == null) |
| | | return "" |
| | | |
| | | const patSource = formData.value.patDetails?.source |