| | |
| | | const { t } = useI18n() // 国际化 |
| | | const message = useMessage() // 消息弹窗 |
| | | |
| | | const dialogVisible = ref(false) // 弹窗的是否展示 |
| | | |
| | | const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用 |
| | | |
| | | const autoPrint = ref<boolean>(true); |
| | | |
| | | const checkTypeStore = useCheckTypeStore() |
| | | |
| | | const formData = ref<Partial<DevRentVO>>({ |
| | | const formData = ref<DevRentVO>({ |
| | | id: undefined, |
| | | devId: undefined, |
| | | patId: undefined, |
| | |
| | | feeConfirm() |
| | | } |
| | | |
| | | dialogVisible.value = false |
| | | // 发送操作成功的事件 |
| | | emit('event_dev_ready') |
| | | resetForm() |
| | | getList() |
| | | |
| | | // 发送操作成功的事件 |
| | | emit('event_dev_ready') |
| | | message.success(t('操作完成')) |
| | | } finally { |
| | | formLoading.value = false |
| | |
| | | formData.value.patId = queueVO?.patId |
| | | formData.value.patName = queueVO?.patName |
| | | formData.value.checkType = queueVO?.bookCheckType |
| | | getFreeRentInfo(formData.value) |
| | | getFreeRentInfo(formData.value) // 待检查的信息 @ dev_rent 表 |
| | | copyBarcode() |
| | | } |
| | | defineExpose({ setPatient }) // 提供 setPatient 方法,用于设置患者 |
| | |
| | | const printBill = async (patId: string, checkType: number, printMode?: number) => { |
| | | |
| | | const curAppointment: AppointmentVO = await AppointmentApi.getCurAppointmentByPatIdAndCheckType( patId, checkType ) |
| | | console.info( curAppointment ) |
| | | //console.info( curAppointment ) |
| | | |
| | | // 引入后使用示例 |
| | | hiprint.init({ |