| | |
| | | v-loading="formLoading" |
| | | > |
| | | <el-form-item label="检查项目" prop=""> |
| | | {{formData?.checkType && getCheckTypeName(formData?.checkType)}} |
| | | {{getCheckTypeName(formData.checkType)}} |
| | | </el-form-item> |
| | | <el-form-item label="患者编号" prop="patId"> |
| | | <el-input v-model="formData.patId" placeholder="请输入患者编号" @input="getRentInfoByPatId" /> |
| | |
| | | if (formData.value.checkType == null) |
| | | return "" |
| | | |
| | | const displayBarcode: number[] = checkTypeStore.getCheckTypeDispBarCode(formData.value.checkType!) |
| | | if (formData.value.patDetails == null || formData.value.patDetails.source == null || |
| | | !displayBarcode.includes( formData.value.patDetails.source )) |
| | | if (formData.value.patDetails?.source == null) |
| | | return "" |
| | | |
| | | const displayBarcode: number[] = checkTypeStore.getCheckTypeDispBarCode(formData.value.checkType) |
| | | if (displayBarcode == null || displayBarcode.length === 0) |
| | | return "" |
| | | |
| | | if (!displayBarcode.includes( formData.value.patDetails.source )) |
| | | return "" |
| | | |
| | | return getBarcode() |