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 |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 1360086..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
@@ -330,6 +332,17 @@
             </el-form-item>
           </el-col>
           <el-col :span="12">
+            <el-form-item label="鏀舵鏃ユ湡" prop="organtime">
+              <el-date-picker
+                v-model="editForm.organtime"
+                type="date"
+                value-format="yyyy-MM-dd"
+                placeholder="璇烽�夋嫨鏀舵鏃ユ湡"
+                style="width: 100%"
+              />
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
             <el-form-item label="鍒╃敤鐘舵��" prop="organState">
               <el-select
                 v-model="editForm.organState"
@@ -593,7 +606,8 @@
         organcharge: null,
         amount: null,
         organState: null,
-        organchargedesc: null
+        organchargedesc: null,
+        organtime: null
       },
       // 鏂板寮圭獥
       addOpen: false,
@@ -827,7 +841,8 @@
           row.organState === null || row.organState === undefined
             ? null
             : String(row.organState),
-        organchargedesc: row.organchargedesc || ""
+        organchargedesc: row.organchargedesc || "",
+        organtime: row.organtime
       };
       this.editOpen = true;
     },
@@ -883,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