From a1e90c3da21d88f994bac9c1feb91bf40e53a44d Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: 星期三, 18 八月 2021 13:01:21 +0800
Subject: [PATCH] 耗材无供应商也显示,申购管理试剂库、申请履历、收藏不显示无效试剂和无供应商试剂 可显示无供应商的耗材

---
 src/main/webapp/laboratory_stock_mng.xhtml |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/laboratory_stock_mng.xhtml b/src/main/webapp/laboratory_stock_mng.xhtml
index c863421..7573dde 100644
--- a/src/main/webapp/laboratory_stock_mng.xhtml
+++ b/src/main/webapp/laboratory_stock_mng.xhtml
@@ -15,7 +15,7 @@
 		<p:panel styleClass="center-header">
 			<p:outputLabel styleClass="title" value="实验室库存管理"></p:outputLabel>
 			<p:panel styleClass="center-header">
-				<p:panelGrid styleClass="filter" columns="7">
+				<p:panelGrid styleClass="filter" columns="10">
 
 					<p:outputLabel value="试剂名称:"></p:outputLabel>
 					<p:inputText value="#{laboratoryStockMngController.reagentId}"></p:inputText>
@@ -30,7 +30,13 @@
 					<p:outputLabel value="条形码:"></p:outputLabel>
 					<p:inputText value="#{laboratoryStockMngController.reagentCode}"></p:inputText>
 
+                    <p:outputLabel value="实验室:"></p:outputLabel>
+                    <p:inputText value="#{laboratoryStockMngController.labName}"></p:inputText>
+
 					<p:commandLink styleClass="search" process="@form" update="@form"></p:commandLink>
+
+					<p:commandButton value="导出" styleClass="store-btn" ajax="false" actionListener="#{laboratoryStockMngController.exportLabStock}"
+									 update=":centerRootPanel"></p:commandButton>
 
 					<p:commandButton value="临时存放" styleClass="store-btn" process="@form" actionListener="#{laboratoryStockMngController.onStoreBtnClick}"
 					update=":centerRootPanel"></p:commandButton>
@@ -46,7 +52,7 @@
 				value="#{laboratoryStockMngController.reagentStatusDataModel}"
 				var="row" rowKey="#{row.id}" emptyMessage="无数据" rows="20"
 				pageLinks="5">
-				<p:column headerText="实验室名">
+				<p:column headerText="实验室名" width="150">
 					<h:outputText value="#{row.houseName}"></h:outputText>
 				</p:column>
 
@@ -54,7 +60,7 @@
 					<h:outputText value="#{row.containerCode}"></h:outputText>
 				</p:column>
 
-				<p:column headerText="试剂条形码">
+				<p:column headerText="试剂条形码" width="200">
 					<h:outputText value="#{row.reagentCode}"></h:outputText>
 				</p:column>
 

--
Gitblit v1.9.2