From a061540bf4c2bdb81edc3898cd27f4ba18512846 Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期四, 22 四月 2021 11:47:43 +0800
Subject: [PATCH] 实验室库存导出

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

diff --git a/src/main/webapp/laboratory_stock_mng.xhtml b/src/main/webapp/laboratory_stock_mng.xhtml
index c863421..18e57d6 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="8">
 
 					<p:outputLabel value="试剂名称:"></p:outputLabel>
 					<p:inputText value="#{laboratoryStockMngController.reagentId}"></p:inputText>
@@ -32,6 +32,9 @@
 
 					<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>
 				</p:panelGrid>
@@ -46,7 +49,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 +57,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