eight
2025-04-15 131726d427b95447df6c1ee14e1c36a0715b2033
src/views/ecg/doctor/components/DevReadyPanel.vue
@@ -11,7 +11,7 @@
      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" />
@@ -469,9 +469,14 @@
  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()