From 5743e533414c608a12f9323f17a7c86721c7f54c Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 06 十一月 2026 00:13:43 +0800
Subject: [PATCH] organfee

---
 src/views/project/unitCost/organfee/index.vue |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 4989f32..c3afdba 100644
--- a/src/views/project/unitCost/organfee/index.vue
+++ b/src/views/project/unitCost/organfee/index.vue
@@ -16,7 +16,8 @@
           filterable
           size="small"
           style="width: 200px"
-          @change="handleHospitalFilterChange"
+          @change="handleHospitalFilterChange" 
+          allow-create
         >
          <el-option label="鏈~鍐欏洖娆惧尰闄�" value="__EMPTY__" />
           <el-option
@@ -896,7 +897,17 @@
         this.queryParams.hospitalno = null;
         this.queryParams.hospitalnoIsNull = true;
       } else {
-        this.queryParams.hospitalno = value;
+        const selectedOption = this.organizationList.findIndex(item => item.organizationid === value);
+        if(selectedOption==-1){
+          this.queryParams.hospitalname = value;
+          this.queryParams.hospitalno=null;
+        } 
+        else{
+          this.queryParams.hospitalno=value;
+          this.queryParams.hospitalname=null;
+        }
+          
+  
         this.queryParams.hospitalnoIsNull = false;
       }
       this.queryParams.pageNum = 1;

--
Gitblit v1.9.3