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

diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 1360086..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
@@ -330,6 +331,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 +605,8 @@
         organcharge: null,
         amount: null,
         organState: null,
-        organchargedesc: null
+        organchargedesc: null,
+        organtime: null
       },
       // 鏂板寮圭獥
       addOpen: false,
@@ -827,7 +840,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 +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