From a6cdc43d699044409e06c78583a2337ccaa3b96e Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期三, 04 十一月 2026 14:41:27 +0800
Subject: [PATCH] 器官回款机构搜索

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

diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 4989f32..202e73b 100644
--- a/src/views/project/unitCost/organfee/index.vue
+++ b/src/views/project/unitCost/organfee/index.vue
@@ -16,7 +16,9 @@
           filterable
           size="small"
           style="width: 200px"
-          @change="handleHospitalFilterChange"
+          @change="handleHospitalFilterChange" 
+          filterable鈥�
+          allow-create
         >
          <el-option label="鏈~鍐欏洖娆惧尰闄�" value="__EMPTY__" />
           <el-option
@@ -896,7 +898,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