From 81ced3885266779c3a3813a0e4687962375b1d62 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 09 六月 2025 19:16:43 +0800
Subject: [PATCH] gx

---
 src/views/home/components/lis_.ui.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/views/home/components/lis_.ui.vue b/src/views/home/components/lis_.ui.vue
index 31f5806..5df7c16 100644
--- a/src/views/home/components/lis_.ui.vue
+++ b/src/views/home/components/lis_.ui.vue
@@ -25,8 +25,7 @@
 							</el-col>
 						</el-row>
 					</el-col>
-					<el-col :span="20" class="card_box patTabel" v-loading="loading" >
-						<el-empty v-if="tableData.length <= 0" description="暂无检验数据" />
+					<el-col :span="20" class="patTabel" v-loading="loading" >
 						<el-table  stripe border :data="tableData" class="patient_table" :row-class-name="feeItemTableRowClassName">
 							<el-table-column  min-width="110"  fixed  prop="itemType" label="检验日期">
 								<template #default="scope">
@@ -113,7 +112,7 @@
 				});
 			}
 		} else {
-			ElMessage.warning('请选择患者');
+			// ElMessage.warning('请选择患者');
 		}
 	}
 );
@@ -149,7 +148,7 @@
  * 查询
  */
 const searchFun = async () => {
-	if (!searchForm.value.patCode) return ElMessage.warning('请选择患者');
+	if (!searchForm.value.patCode) return true
 	if (!searchForm.value.feeItemName) return ElMessage.warning('请选择收费项目');
 	loading.value = true;
 	try {
@@ -591,7 +590,7 @@
 		height -= demoFormDom.scrollHeight;
 	}
 
-	height = height - 200;
+	height = height - 140;
 	tableHeight.value = height;
 };
 
@@ -707,7 +706,7 @@
 		// @ts-ignore
 		searchForm.value.patCode = patientsInfo.value.code
 	} else {
-		ElMessage.warning('请选择患者');
+		// ElMessage.warning('请选择患者');
 	}
 	getFeeItems();
 });

--
Gitblit v1.8.0